TriggerState constructor
- Input<
String?> ? channel, - Input<
Map< ? conditions,String, String> ?> - Input<
String?> ? createTime, - Input<
String?> ? deletionPolicy, - Input<
TriggerDestination?> ? destination, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
String?> ? etag, - Input<
String?> ? eventDataContentType, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? location, - Input<
List< ? matchingCriterias,TriggerMatchingCriteria> ?> - Input<
String?> ? name, - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
TriggerRetryPolicy?> ? retryPolicy, - Input<
String?> ? serviceAccount, - Input<
TriggerTransport?> ? transport, - Input<
String?> ? uid, - Input<
String?> ? updateTime,
Creates a new TriggerState.
channel Optional. The name of the channel associated with the trigger in projects/{project}/locations/{location}/channels/{channel} format. You must provide a channel to receive events from Eventarc SaaS partners.
conditions Output only. The reason(s) why a trigger is in FAILED state.
createTime Output only. The creation time.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
destination Required. Destination specifies where the events should be sent to.
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
etag Output only. This checksum is computed by the server based on the value of other fields, and may be sent only on create requests to ensure the client has an up-to-date value before proceeding.
eventDataContentType Optional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to application/json if the value is not defined.
labels Optional. User labels attached to the triggers that can be used to group resources.
location The location for the resource
matchingCriterias Required. null The list of filters that applies to event attributes. Only events that match all the provided filters will be sent to the destination.
name Required. The resource name of the trigger. Must be unique within the location on the project.
project The ID of the project in which the resource belongs.
pulumiLabels The combination of labels configured directly on the resource
retryPolicy The retry policy configuration for the Trigger.
serviceAccount Optional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The principal who calls this API must have iam.serviceAccounts.actAs permission in the service account. See https://cloud.google.com/iam/docs/understanding-service-accounts#sa_common for more information. For Cloud Run destinations, this service account is used to generate identity tokens when invoking the service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account for information on how to invoke authenticated Cloud Run services. In order to create Audit Log triggers, the service account should also have roles/eventarc.eventReceiver IAM role.
transport Optional. In order to deliver messages, Eventarc may use other GCP products as transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes.
uid Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
updateTime Output only. The last-modified time.
Implementation
const TriggerState({
this.channel,
this.conditions,
this.createTime,
this.deletionPolicy,
this.destination,
this.effectiveLabels,
this.etag,
this.eventDataContentType,
this.labels,
this.location,
this.matchingCriterias,
this.name,
this.project,
this.pulumiLabels,
this.retryPolicy,
this.serviceAccount,
this.transport,
this.uid,
this.updateTime,
});