Documentation ¶
Index ¶
- type Trigger
- func (*Trigger) ElementType() reflect.Type
- func (i *Trigger) ToTriggerOutput() TriggerOutput
- func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput
- func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
- type TriggerArgs
- type TriggerArray
- type TriggerArrayInput
- type TriggerArrayOutput
- type TriggerDestination
- type TriggerDestinationArgs
- func (TriggerDestinationArgs) ElementType() reflect.Type
- func (i TriggerDestinationArgs) ToTriggerDestinationOutput() TriggerDestinationOutput
- func (i TriggerDestinationArgs) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
- func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
- func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
- type TriggerDestinationCloudRunService
- type TriggerDestinationCloudRunServiceArgs
- func (TriggerDestinationCloudRunServiceArgs) ElementType() reflect.Type
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
- func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
- type TriggerDestinationCloudRunServiceInput
- type TriggerDestinationCloudRunServiceOutput
- func (TriggerDestinationCloudRunServiceOutput) ElementType() reflect.Type
- func (o TriggerDestinationCloudRunServiceOutput) Path() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServiceOutput) Region() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServiceOutput) Service() pulumi.StringOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
- type TriggerDestinationCloudRunServicePtrInput
- type TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) Elem() TriggerDestinationCloudRunServiceOutput
- func (TriggerDestinationCloudRunServicePtrOutput) ElementType() reflect.Type
- func (o TriggerDestinationCloudRunServicePtrOutput) Path() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) Region() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) Service() pulumi.StringPtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
- type TriggerDestinationInput
- type TriggerDestinationOutput
- func (o TriggerDestinationOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
- func (TriggerDestinationOutput) ElementType() reflect.Type
- func (o TriggerDestinationOutput) ToTriggerDestinationOutput() TriggerDestinationOutput
- func (o TriggerDestinationOutput) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
- func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
- func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
- type TriggerDestinationPtrInput
- type TriggerDestinationPtrOutput
- func (o TriggerDestinationPtrOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
- func (o TriggerDestinationPtrOutput) Elem() TriggerDestinationOutput
- func (TriggerDestinationPtrOutput) ElementType() reflect.Type
- func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
- func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
- type TriggerInput
- type TriggerMap
- type TriggerMapInput
- type TriggerMapOutput
- type TriggerMatchingCriteria
- type TriggerMatchingCriteriaArgs
- type TriggerMatchingCriteriaArray
- func (TriggerMatchingCriteriaArray) ElementType() reflect.Type
- func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
- func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
- type TriggerMatchingCriteriaArrayInput
- type TriggerMatchingCriteriaArrayOutput
- func (TriggerMatchingCriteriaArrayOutput) ElementType() reflect.Type
- func (o TriggerMatchingCriteriaArrayOutput) Index(i pulumi.IntInput) TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
- func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
- type TriggerMatchingCriteriaInput
- type TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaOutput) Attribute() pulumi.StringOutput
- func (TriggerMatchingCriteriaOutput) ElementType() reflect.Type
- func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext(ctx context.Context) TriggerMatchingCriteriaOutput
- func (o TriggerMatchingCriteriaOutput) Value() pulumi.StringOutput
- type TriggerOutput
- func (TriggerOutput) ElementType() reflect.Type
- func (o TriggerOutput) ToTriggerOutput() TriggerOutput
- func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput
- func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
- type TriggerPtrInput
- type TriggerPtrOutput
- type TriggerState
- type TriggerTransport
- type TriggerTransportArgs
- type TriggerTransportArray
- type TriggerTransportArrayInput
- type TriggerTransportArrayOutput
- func (TriggerTransportArrayOutput) ElementType() reflect.Type
- func (o TriggerTransportArrayOutput) Index(i pulumi.IntInput) TriggerTransportOutput
- func (o TriggerTransportArrayOutput) ToTriggerTransportArrayOutput() TriggerTransportArrayOutput
- func (o TriggerTransportArrayOutput) ToTriggerTransportArrayOutputWithContext(ctx context.Context) TriggerTransportArrayOutput
- type TriggerTransportInput
- type TriggerTransportOutput
- func (TriggerTransportOutput) ElementType() reflect.Type
- func (o TriggerTransportOutput) Pubsubs() TriggerTransportPubsubArrayOutput
- func (o TriggerTransportOutput) ToTriggerTransportOutput() TriggerTransportOutput
- func (o TriggerTransportOutput) ToTriggerTransportOutputWithContext(ctx context.Context) TriggerTransportOutput
- type TriggerTransportPubsub
- type TriggerTransportPubsubArgs
- type TriggerTransportPubsubArray
- func (TriggerTransportPubsubArray) ElementType() reflect.Type
- func (i TriggerTransportPubsubArray) ToTriggerTransportPubsubArrayOutput() TriggerTransportPubsubArrayOutput
- func (i TriggerTransportPubsubArray) ToTriggerTransportPubsubArrayOutputWithContext(ctx context.Context) TriggerTransportPubsubArrayOutput
- type TriggerTransportPubsubArrayInput
- type TriggerTransportPubsubArrayOutput
- func (TriggerTransportPubsubArrayOutput) ElementType() reflect.Type
- func (o TriggerTransportPubsubArrayOutput) Index(i pulumi.IntInput) TriggerTransportPubsubOutput
- func (o TriggerTransportPubsubArrayOutput) ToTriggerTransportPubsubArrayOutput() TriggerTransportPubsubArrayOutput
- func (o TriggerTransportPubsubArrayOutput) ToTriggerTransportPubsubArrayOutputWithContext(ctx context.Context) TriggerTransportPubsubArrayOutput
- type TriggerTransportPubsubInput
- type TriggerTransportPubsubOutput
- func (TriggerTransportPubsubOutput) ElementType() reflect.Type
- func (o TriggerTransportPubsubOutput) Subscription() pulumi.StringPtrOutput
- func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput
- func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutputWithContext(ctx context.Context) TriggerTransportPubsubOutput
- func (o TriggerTransportPubsubOutput) Topic() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Trigger ¶
type Trigger struct { pulumi.CustomResourceState CreateTime pulumi.StringOutput `pulumi:"createTime"` // Required. Destination specifies where the events should be sent to. Destination TriggerDestinationOutput `pulumi:"destination"` Etag pulumi.StringOutput `pulumi:"etag"` // Optional. User labels attached to the triggers that can be used to group resources. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location for the resource Location pulumi.StringOutput `pulumi:"location"` // Required. The criteria by which events are filtered. Only events that match with this criteria will be sent to the destination. MatchingCriterias TriggerMatchingCriteriaArrayOutput `pulumi:"matchingCriterias"` // Required. The resource name of the trigger. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. Name pulumi.StringOutput `pulumi:"name"` // The project for the resource Project pulumi.StringOutput `pulumi:"project"` // 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?hl=en#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. ServiceAccount pulumi.StringPtrOutput `pulumi:"serviceAccount"` // 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. Transports TriggerTransportArrayOutput `pulumi:"transports"` UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
An event trigger sends messages to the event receiver service deployed on Cloud Run.
* [API documentation](https://cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/cloudrun" "github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/eventarc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudrun.NewService(ctx, "_default", &cloudrun.ServiceArgs{ Location: pulumi.String("us-central1"), Metadata: &cloudrun.ServiceMetadataArgs{ Namespace: pulumi.String("my-project"), }, Template: &cloudrun.ServiceTemplateArgs{ Spec: &cloudrun.ServiceTemplateSpecArgs{ Containers: cloudrun.ServiceTemplateSpecContainerArray{ &cloudrun.ServiceTemplateSpecContainerArgs{ Image: pulumi.String("gcr.io/cloudrun/hello"), Args: pulumi.StringArray{ pulumi.String("arrgs"), }, }, }, ContainerConcurrency: pulumi.Int(50), }, }, Traffics: cloudrun.ServiceTrafficArray{ &cloudrun.ServiceTrafficArgs{ Percent: pulumi.Int(100), LatestRevision: pulumi.Bool(true), }, }, }) if err != nil { return err } _, err = eventarc.NewTrigger(ctx, "trigger", &eventarc.TriggerArgs{ Location: pulumi.String("us-central1"), MatchingCriterias: eventarc.TriggerMatchingCriteriaArray{ &eventarc.TriggerMatchingCriteriaArgs{ Attribute: pulumi.String("type"), Value: pulumi.String("google.cloud.pubsub.topic.v1.messagePublished"), }, }, Destination: &eventarc.TriggerDestinationArgs{ CloudRunService: &eventarc.TriggerDestinationCloudRunServiceArgs{ Service: _default.Name, Region: pulumi.String("us-central1"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Trigger can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:eventarc/trigger:Trigger default projects/{{project}}/locations/{{location}}/triggers/{{name}}
```
```sh
$ pulumi import gcp:eventarc/trigger:Trigger default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:eventarc/trigger:Trigger default {{location}}/{{name}}
```
func GetTrigger ¶
func GetTrigger(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)
GetTrigger gets an existing Trigger resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTrigger ¶
func NewTrigger(ctx *pulumi.Context, name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)
NewTrigger registers a new resource with the given unique name, arguments, and options.
func (*Trigger) ElementType ¶
func (*Trigger) ToTriggerOutput ¶
func (i *Trigger) ToTriggerOutput() TriggerOutput
func (*Trigger) ToTriggerOutputWithContext ¶
func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (*Trigger) ToTriggerPtrOutput ¶
func (i *Trigger) ToTriggerPtrOutput() TriggerPtrOutput
func (*Trigger) ToTriggerPtrOutputWithContext ¶
func (i *Trigger) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
type TriggerArgs ¶
type TriggerArgs struct { // Required. Destination specifies where the events should be sent to. Destination TriggerDestinationInput // Optional. User labels attached to the triggers that can be used to group resources. Labels pulumi.StringMapInput // The location for the resource Location pulumi.StringInput // Required. The criteria by which events are filtered. Only events that match with this criteria will be sent to the destination. MatchingCriterias TriggerMatchingCriteriaArrayInput // Required. The resource name of the trigger. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // 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?hl=en#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. ServiceAccount pulumi.StringPtrInput // 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. Transports TriggerTransportArrayInput }
The set of arguments for constructing a Trigger resource.
func (TriggerArgs) ElementType ¶
func (TriggerArgs) ElementType() reflect.Type
type TriggerArray ¶
type TriggerArray []TriggerInput
func (TriggerArray) ElementType ¶
func (TriggerArray) ElementType() reflect.Type
func (TriggerArray) ToTriggerArrayOutput ¶
func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArray) ToTriggerArrayOutputWithContext ¶
func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerArrayInput ¶
type TriggerArrayInput interface { pulumi.Input ToTriggerArrayOutput() TriggerArrayOutput ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput }
TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:
TriggerArray{ TriggerArgs{...} }
type TriggerArrayOutput ¶
type TriggerArrayOutput struct{ *pulumi.OutputState }
func (TriggerArrayOutput) ElementType ¶
func (TriggerArrayOutput) ElementType() reflect.Type
func (TriggerArrayOutput) Index ¶
func (o TriggerArrayOutput) Index(i pulumi.IntInput) TriggerOutput
func (TriggerArrayOutput) ToTriggerArrayOutput ¶
func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArrayOutput) ToTriggerArrayOutputWithContext ¶
func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerDestination ¶
type TriggerDestination struct { // Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger. CloudRunService *TriggerDestinationCloudRunService `pulumi:"cloudRunService"` }
type TriggerDestinationArgs ¶
type TriggerDestinationArgs struct { // Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger. CloudRunService TriggerDestinationCloudRunServicePtrInput `pulumi:"cloudRunService"` }
func (TriggerDestinationArgs) ElementType ¶
func (TriggerDestinationArgs) ElementType() reflect.Type
func (TriggerDestinationArgs) ToTriggerDestinationOutput ¶
func (i TriggerDestinationArgs) ToTriggerDestinationOutput() TriggerDestinationOutput
func (TriggerDestinationArgs) ToTriggerDestinationOutputWithContext ¶
func (i TriggerDestinationArgs) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
func (TriggerDestinationArgs) ToTriggerDestinationPtrOutput ¶
func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
func (TriggerDestinationArgs) ToTriggerDestinationPtrOutputWithContext ¶
func (i TriggerDestinationArgs) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
type TriggerDestinationCloudRunService ¶
type TriggerDestinationCloudRunService struct { // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Path *string `pulumi:"path"` // Required. The region the Cloud Run service is deployed in. Region *string `pulumi:"region"` // Required. The name of the Cloud run service being addressed (see https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services). Only services located in the same project of the trigger object can be addressed. Service string `pulumi:"service"` }
type TriggerDestinationCloudRunServiceArgs ¶
type TriggerDestinationCloudRunServiceArgs struct { // Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute". Path pulumi.StringPtrInput `pulumi:"path"` // Required. The region the Cloud Run service is deployed in. Region pulumi.StringPtrInput `pulumi:"region"` // Required. The name of the Cloud run service being addressed (see https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services). Only services located in the same project of the trigger object can be addressed. Service pulumi.StringInput `pulumi:"service"` }
func (TriggerDestinationCloudRunServiceArgs) ElementType ¶
func (TriggerDestinationCloudRunServiceArgs) ElementType() reflect.Type
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutput ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutputWithContext ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutput ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
func (TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutputWithContext ¶
func (i TriggerDestinationCloudRunServiceArgs) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
type TriggerDestinationCloudRunServiceInput ¶
type TriggerDestinationCloudRunServiceInput interface { pulumi.Input ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput ToTriggerDestinationCloudRunServiceOutputWithContext(context.Context) TriggerDestinationCloudRunServiceOutput }
TriggerDestinationCloudRunServiceInput is an input type that accepts TriggerDestinationCloudRunServiceArgs and TriggerDestinationCloudRunServiceOutput values. You can construct a concrete instance of `TriggerDestinationCloudRunServiceInput` via:
TriggerDestinationCloudRunServiceArgs{...}
type TriggerDestinationCloudRunServiceOutput ¶
type TriggerDestinationCloudRunServiceOutput struct{ *pulumi.OutputState }
func (TriggerDestinationCloudRunServiceOutput) ElementType ¶
func (TriggerDestinationCloudRunServiceOutput) ElementType() reflect.Type
func (TriggerDestinationCloudRunServiceOutput) Path ¶
func (o TriggerDestinationCloudRunServiceOutput) Path() pulumi.StringPtrOutput
Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
func (TriggerDestinationCloudRunServiceOutput) Region ¶
func (o TriggerDestinationCloudRunServiceOutput) Region() pulumi.StringPtrOutput
Required. The region the Cloud Run service is deployed in.
func (TriggerDestinationCloudRunServiceOutput) Service ¶
func (o TriggerDestinationCloudRunServiceOutput) Service() pulumi.StringOutput
Required. The name of the Cloud run service being addressed (see https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services). Only services located in the same project of the trigger object can be addressed.
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutput ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutput() TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutputWithContext ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServiceOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServiceOutput
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutput ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
func (TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext ¶
func (o TriggerDestinationCloudRunServiceOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
type TriggerDestinationCloudRunServicePtrInput ¶
type TriggerDestinationCloudRunServicePtrInput interface { pulumi.Input ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput ToTriggerDestinationCloudRunServicePtrOutputWithContext(context.Context) TriggerDestinationCloudRunServicePtrOutput }
TriggerDestinationCloudRunServicePtrInput is an input type that accepts TriggerDestinationCloudRunServiceArgs, TriggerDestinationCloudRunServicePtr and TriggerDestinationCloudRunServicePtrOutput values. You can construct a concrete instance of `TriggerDestinationCloudRunServicePtrInput` via:
TriggerDestinationCloudRunServiceArgs{...} or: nil
func TriggerDestinationCloudRunServicePtr ¶
func TriggerDestinationCloudRunServicePtr(v *TriggerDestinationCloudRunServiceArgs) TriggerDestinationCloudRunServicePtrInput
type TriggerDestinationCloudRunServicePtrOutput ¶
type TriggerDestinationCloudRunServicePtrOutput struct{ *pulumi.OutputState }
func (TriggerDestinationCloudRunServicePtrOutput) ElementType ¶
func (TriggerDestinationCloudRunServicePtrOutput) ElementType() reflect.Type
func (TriggerDestinationCloudRunServicePtrOutput) Path ¶
func (o TriggerDestinationCloudRunServicePtrOutput) Path() pulumi.StringPtrOutput
Optional. The relative path on the Cloud Run service the events should be sent to. The value must conform to the definition of URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
func (TriggerDestinationCloudRunServicePtrOutput) Region ¶
func (o TriggerDestinationCloudRunServicePtrOutput) Region() pulumi.StringPtrOutput
Required. The region the Cloud Run service is deployed in.
func (TriggerDestinationCloudRunServicePtrOutput) Service ¶
func (o TriggerDestinationCloudRunServicePtrOutput) Service() pulumi.StringPtrOutput
Required. The name of the Cloud run service being addressed (see https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services). Only services located in the same project of the trigger object can be addressed.
func (TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput ¶
func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput
func (TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext ¶
func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput
type TriggerDestinationInput ¶
type TriggerDestinationInput interface { pulumi.Input ToTriggerDestinationOutput() TriggerDestinationOutput ToTriggerDestinationOutputWithContext(context.Context) TriggerDestinationOutput }
TriggerDestinationInput is an input type that accepts TriggerDestinationArgs and TriggerDestinationOutput values. You can construct a concrete instance of `TriggerDestinationInput` via:
TriggerDestinationArgs{...}
type TriggerDestinationOutput ¶
type TriggerDestinationOutput struct{ *pulumi.OutputState }
func (TriggerDestinationOutput) CloudRunService ¶
func (o TriggerDestinationOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger.
func (TriggerDestinationOutput) ElementType ¶
func (TriggerDestinationOutput) ElementType() reflect.Type
func (TriggerDestinationOutput) ToTriggerDestinationOutput ¶
func (o TriggerDestinationOutput) ToTriggerDestinationOutput() TriggerDestinationOutput
func (TriggerDestinationOutput) ToTriggerDestinationOutputWithContext ¶
func (o TriggerDestinationOutput) ToTriggerDestinationOutputWithContext(ctx context.Context) TriggerDestinationOutput
func (TriggerDestinationOutput) ToTriggerDestinationPtrOutput ¶
func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
func (TriggerDestinationOutput) ToTriggerDestinationPtrOutputWithContext ¶
func (o TriggerDestinationOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
type TriggerDestinationPtrInput ¶
type TriggerDestinationPtrInput interface { pulumi.Input ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput ToTriggerDestinationPtrOutputWithContext(context.Context) TriggerDestinationPtrOutput }
TriggerDestinationPtrInput is an input type that accepts TriggerDestinationArgs, TriggerDestinationPtr and TriggerDestinationPtrOutput values. You can construct a concrete instance of `TriggerDestinationPtrInput` via:
TriggerDestinationArgs{...} or: nil
func TriggerDestinationPtr ¶
func TriggerDestinationPtr(v *TriggerDestinationArgs) TriggerDestinationPtrInput
type TriggerDestinationPtrOutput ¶
type TriggerDestinationPtrOutput struct{ *pulumi.OutputState }
func (TriggerDestinationPtrOutput) CloudRunService ¶
func (o TriggerDestinationPtrOutput) CloudRunService() TriggerDestinationCloudRunServicePtrOutput
Cloud Run fully-managed service that receives the events. The service should be running in the same project as the trigger.
func (TriggerDestinationPtrOutput) Elem ¶
func (o TriggerDestinationPtrOutput) Elem() TriggerDestinationOutput
func (TriggerDestinationPtrOutput) ElementType ¶
func (TriggerDestinationPtrOutput) ElementType() reflect.Type
func (TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput ¶
func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput
func (TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext ¶
func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput
type TriggerInput ¶
type TriggerInput interface { pulumi.Input ToTriggerOutput() TriggerOutput ToTriggerOutputWithContext(ctx context.Context) TriggerOutput }
type TriggerMap ¶
type TriggerMap map[string]TriggerInput
func (TriggerMap) ElementType ¶
func (TriggerMap) ElementType() reflect.Type
func (TriggerMap) ToTriggerMapOutput ¶
func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMap) ToTriggerMapOutputWithContext ¶
func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMapInput ¶
type TriggerMapInput interface { pulumi.Input ToTriggerMapOutput() TriggerMapOutput ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput }
TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:
TriggerMap{ "key": TriggerArgs{...} }
type TriggerMapOutput ¶
type TriggerMapOutput struct{ *pulumi.OutputState }
func (TriggerMapOutput) ElementType ¶
func (TriggerMapOutput) ElementType() reflect.Type
func (TriggerMapOutput) MapIndex ¶
func (o TriggerMapOutput) MapIndex(k pulumi.StringInput) TriggerOutput
func (TriggerMapOutput) ToTriggerMapOutput ¶
func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMapOutput) ToTriggerMapOutputWithContext ¶
func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMatchingCriteria ¶
type TriggerMatchingCriteria struct { // Required. The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute. Attribute string `pulumi:"attribute"` // Required. The value for the attribute. Value string `pulumi:"value"` }
type TriggerMatchingCriteriaArgs ¶
type TriggerMatchingCriteriaArgs struct { // Required. The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute. Attribute pulumi.StringInput `pulumi:"attribute"` // Required. The value for the attribute. Value pulumi.StringInput `pulumi:"value"` }
func (TriggerMatchingCriteriaArgs) ElementType ¶
func (TriggerMatchingCriteriaArgs) ElementType() reflect.Type
func (TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutput ¶
func (i TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutputWithContext ¶
func (i TriggerMatchingCriteriaArgs) ToTriggerMatchingCriteriaOutputWithContext(ctx context.Context) TriggerMatchingCriteriaOutput
type TriggerMatchingCriteriaArray ¶
type TriggerMatchingCriteriaArray []TriggerMatchingCriteriaInput
func (TriggerMatchingCriteriaArray) ElementType ¶
func (TriggerMatchingCriteriaArray) ElementType() reflect.Type
func (TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutput ¶
func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
func (TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutputWithContext ¶
func (i TriggerMatchingCriteriaArray) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
type TriggerMatchingCriteriaArrayInput ¶
type TriggerMatchingCriteriaArrayInput interface { pulumi.Input ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput ToTriggerMatchingCriteriaArrayOutputWithContext(context.Context) TriggerMatchingCriteriaArrayOutput }
TriggerMatchingCriteriaArrayInput is an input type that accepts TriggerMatchingCriteriaArray and TriggerMatchingCriteriaArrayOutput values. You can construct a concrete instance of `TriggerMatchingCriteriaArrayInput` via:
TriggerMatchingCriteriaArray{ TriggerMatchingCriteriaArgs{...} }
type TriggerMatchingCriteriaArrayOutput ¶
type TriggerMatchingCriteriaArrayOutput struct{ *pulumi.OutputState }
func (TriggerMatchingCriteriaArrayOutput) ElementType ¶
func (TriggerMatchingCriteriaArrayOutput) ElementType() reflect.Type
func (TriggerMatchingCriteriaArrayOutput) Index ¶
func (o TriggerMatchingCriteriaArrayOutput) Index(i pulumi.IntInput) TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutput ¶
func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutput() TriggerMatchingCriteriaArrayOutput
func (TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutputWithContext ¶
func (o TriggerMatchingCriteriaArrayOutput) ToTriggerMatchingCriteriaArrayOutputWithContext(ctx context.Context) TriggerMatchingCriteriaArrayOutput
type TriggerMatchingCriteriaInput ¶
type TriggerMatchingCriteriaInput interface { pulumi.Input ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput ToTriggerMatchingCriteriaOutputWithContext(context.Context) TriggerMatchingCriteriaOutput }
TriggerMatchingCriteriaInput is an input type that accepts TriggerMatchingCriteriaArgs and TriggerMatchingCriteriaOutput values. You can construct a concrete instance of `TriggerMatchingCriteriaInput` via:
TriggerMatchingCriteriaArgs{...}
type TriggerMatchingCriteriaOutput ¶
type TriggerMatchingCriteriaOutput struct{ *pulumi.OutputState }
func (TriggerMatchingCriteriaOutput) Attribute ¶
func (o TriggerMatchingCriteriaOutput) Attribute() pulumi.StringOutput
Required. The name of a CloudEvents attribute. Currently, only a subset of attributes can be specified. All triggers MUST provide a matching criteria for the 'type' attribute.
func (TriggerMatchingCriteriaOutput) ElementType ¶
func (TriggerMatchingCriteriaOutput) ElementType() reflect.Type
func (TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput ¶
func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext ¶
func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext(ctx context.Context) TriggerMatchingCriteriaOutput
func (TriggerMatchingCriteriaOutput) Value ¶
func (o TriggerMatchingCriteriaOutput) Value() pulumi.StringOutput
Required. The value for the attribute.
type TriggerOutput ¶
type TriggerOutput struct {
*pulumi.OutputState
}
func (TriggerOutput) ElementType ¶
func (TriggerOutput) ElementType() reflect.Type
func (TriggerOutput) ToTriggerOutput ¶
func (o TriggerOutput) ToTriggerOutput() TriggerOutput
func (TriggerOutput) ToTriggerOutputWithContext ¶
func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
func (TriggerOutput) ToTriggerPtrOutput ¶
func (o TriggerOutput) ToTriggerPtrOutput() TriggerPtrOutput
func (TriggerOutput) ToTriggerPtrOutputWithContext ¶
func (o TriggerOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
type TriggerPtrInput ¶
type TriggerPtrInput interface { pulumi.Input ToTriggerPtrOutput() TriggerPtrOutput ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput }
type TriggerPtrOutput ¶
type TriggerPtrOutput struct {
*pulumi.OutputState
}
func (TriggerPtrOutput) ElementType ¶
func (TriggerPtrOutput) ElementType() reflect.Type
func (TriggerPtrOutput) ToTriggerPtrOutput ¶
func (o TriggerPtrOutput) ToTriggerPtrOutput() TriggerPtrOutput
func (TriggerPtrOutput) ToTriggerPtrOutputWithContext ¶
func (o TriggerPtrOutput) ToTriggerPtrOutputWithContext(ctx context.Context) TriggerPtrOutput
type TriggerState ¶
type TriggerState struct { CreateTime pulumi.StringPtrInput // Required. Destination specifies where the events should be sent to. Destination TriggerDestinationPtrInput Etag pulumi.StringPtrInput // Optional. User labels attached to the triggers that can be used to group resources. Labels pulumi.StringMapInput // The location for the resource Location pulumi.StringPtrInput // Required. The criteria by which events are filtered. Only events that match with this criteria will be sent to the destination. MatchingCriterias TriggerMatchingCriteriaArrayInput // Required. The resource name of the trigger. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format. Name pulumi.StringPtrInput // The project for the resource Project pulumi.StringPtrInput // 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?hl=en#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. ServiceAccount pulumi.StringPtrInput // 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. Transports TriggerTransportArrayInput UpdateTime pulumi.StringPtrInput }
func (TriggerState) ElementType ¶
func (TriggerState) ElementType() reflect.Type
type TriggerTransport ¶
type TriggerTransport struct { // The Pub/Sub topic and subscription used by Eventarc as delivery intermediary. // The `pubsub` block supports: Pubsubs []TriggerTransportPubsub `pulumi:"pubsubs"` }
type TriggerTransportArgs ¶
type TriggerTransportArgs struct { // The Pub/Sub topic and subscription used by Eventarc as delivery intermediary. // The `pubsub` block supports: Pubsubs TriggerTransportPubsubArrayInput `pulumi:"pubsubs"` }
func (TriggerTransportArgs) ElementType ¶
func (TriggerTransportArgs) ElementType() reflect.Type
func (TriggerTransportArgs) ToTriggerTransportOutput ¶
func (i TriggerTransportArgs) ToTriggerTransportOutput() TriggerTransportOutput
func (TriggerTransportArgs) ToTriggerTransportOutputWithContext ¶
func (i TriggerTransportArgs) ToTriggerTransportOutputWithContext(ctx context.Context) TriggerTransportOutput
type TriggerTransportArray ¶
type TriggerTransportArray []TriggerTransportInput
func (TriggerTransportArray) ElementType ¶
func (TriggerTransportArray) ElementType() reflect.Type
func (TriggerTransportArray) ToTriggerTransportArrayOutput ¶
func (i TriggerTransportArray) ToTriggerTransportArrayOutput() TriggerTransportArrayOutput
func (TriggerTransportArray) ToTriggerTransportArrayOutputWithContext ¶
func (i TriggerTransportArray) ToTriggerTransportArrayOutputWithContext(ctx context.Context) TriggerTransportArrayOutput
type TriggerTransportArrayInput ¶
type TriggerTransportArrayInput interface { pulumi.Input ToTriggerTransportArrayOutput() TriggerTransportArrayOutput ToTriggerTransportArrayOutputWithContext(context.Context) TriggerTransportArrayOutput }
TriggerTransportArrayInput is an input type that accepts TriggerTransportArray and TriggerTransportArrayOutput values. You can construct a concrete instance of `TriggerTransportArrayInput` via:
TriggerTransportArray{ TriggerTransportArgs{...} }
type TriggerTransportArrayOutput ¶
type TriggerTransportArrayOutput struct{ *pulumi.OutputState }
func (TriggerTransportArrayOutput) ElementType ¶
func (TriggerTransportArrayOutput) ElementType() reflect.Type
func (TriggerTransportArrayOutput) Index ¶
func (o TriggerTransportArrayOutput) Index(i pulumi.IntInput) TriggerTransportOutput
func (TriggerTransportArrayOutput) ToTriggerTransportArrayOutput ¶
func (o TriggerTransportArrayOutput) ToTriggerTransportArrayOutput() TriggerTransportArrayOutput
func (TriggerTransportArrayOutput) ToTriggerTransportArrayOutputWithContext ¶
func (o TriggerTransportArrayOutput) ToTriggerTransportArrayOutputWithContext(ctx context.Context) TriggerTransportArrayOutput
type TriggerTransportInput ¶
type TriggerTransportInput interface { pulumi.Input ToTriggerTransportOutput() TriggerTransportOutput ToTriggerTransportOutputWithContext(context.Context) TriggerTransportOutput }
TriggerTransportInput is an input type that accepts TriggerTransportArgs and TriggerTransportOutput values. You can construct a concrete instance of `TriggerTransportInput` via:
TriggerTransportArgs{...}
type TriggerTransportOutput ¶
type TriggerTransportOutput struct{ *pulumi.OutputState }
func (TriggerTransportOutput) ElementType ¶
func (TriggerTransportOutput) ElementType() reflect.Type
func (TriggerTransportOutput) Pubsubs ¶
func (o TriggerTransportOutput) Pubsubs() TriggerTransportPubsubArrayOutput
The Pub/Sub topic and subscription used by Eventarc as delivery intermediary. The `pubsub` block supports:
func (TriggerTransportOutput) ToTriggerTransportOutput ¶
func (o TriggerTransportOutput) ToTriggerTransportOutput() TriggerTransportOutput
func (TriggerTransportOutput) ToTriggerTransportOutputWithContext ¶
func (o TriggerTransportOutput) ToTriggerTransportOutputWithContext(ctx context.Context) TriggerTransportOutput
type TriggerTransportPubsub ¶
type TriggerTransportPubsub struct { // - // Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`. Subscription *string `pulumi:"subscription"` // Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You may set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion. Topic *string `pulumi:"topic"` }
type TriggerTransportPubsubArgs ¶
type TriggerTransportPubsubArgs struct { // - // Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`. Subscription pulumi.StringPtrInput `pulumi:"subscription"` // Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You may set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion. Topic pulumi.StringPtrInput `pulumi:"topic"` }
func (TriggerTransportPubsubArgs) ElementType ¶
func (TriggerTransportPubsubArgs) ElementType() reflect.Type
func (TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutput ¶
func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput
func (TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutputWithContext ¶
func (i TriggerTransportPubsubArgs) ToTriggerTransportPubsubOutputWithContext(ctx context.Context) TriggerTransportPubsubOutput
type TriggerTransportPubsubArray ¶
type TriggerTransportPubsubArray []TriggerTransportPubsubInput
func (TriggerTransportPubsubArray) ElementType ¶
func (TriggerTransportPubsubArray) ElementType() reflect.Type
func (TriggerTransportPubsubArray) ToTriggerTransportPubsubArrayOutput ¶
func (i TriggerTransportPubsubArray) ToTriggerTransportPubsubArrayOutput() TriggerTransportPubsubArrayOutput
func (TriggerTransportPubsubArray) ToTriggerTransportPubsubArrayOutputWithContext ¶
func (i TriggerTransportPubsubArray) ToTriggerTransportPubsubArrayOutputWithContext(ctx context.Context) TriggerTransportPubsubArrayOutput
type TriggerTransportPubsubArrayInput ¶
type TriggerTransportPubsubArrayInput interface { pulumi.Input ToTriggerTransportPubsubArrayOutput() TriggerTransportPubsubArrayOutput ToTriggerTransportPubsubArrayOutputWithContext(context.Context) TriggerTransportPubsubArrayOutput }
TriggerTransportPubsubArrayInput is an input type that accepts TriggerTransportPubsubArray and TriggerTransportPubsubArrayOutput values. You can construct a concrete instance of `TriggerTransportPubsubArrayInput` via:
TriggerTransportPubsubArray{ TriggerTransportPubsubArgs{...} }
type TriggerTransportPubsubArrayOutput ¶
type TriggerTransportPubsubArrayOutput struct{ *pulumi.OutputState }
func (TriggerTransportPubsubArrayOutput) ElementType ¶
func (TriggerTransportPubsubArrayOutput) ElementType() reflect.Type
func (TriggerTransportPubsubArrayOutput) Index ¶
func (o TriggerTransportPubsubArrayOutput) Index(i pulumi.IntInput) TriggerTransportPubsubOutput
func (TriggerTransportPubsubArrayOutput) ToTriggerTransportPubsubArrayOutput ¶
func (o TriggerTransportPubsubArrayOutput) ToTriggerTransportPubsubArrayOutput() TriggerTransportPubsubArrayOutput
func (TriggerTransportPubsubArrayOutput) ToTriggerTransportPubsubArrayOutputWithContext ¶
func (o TriggerTransportPubsubArrayOutput) ToTriggerTransportPubsubArrayOutputWithContext(ctx context.Context) TriggerTransportPubsubArrayOutput
type TriggerTransportPubsubInput ¶
type TriggerTransportPubsubInput interface { pulumi.Input ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput ToTriggerTransportPubsubOutputWithContext(context.Context) TriggerTransportPubsubOutput }
TriggerTransportPubsubInput is an input type that accepts TriggerTransportPubsubArgs and TriggerTransportPubsubOutput values. You can construct a concrete instance of `TriggerTransportPubsubInput` via:
TriggerTransportPubsubArgs{...}
type TriggerTransportPubsubOutput ¶
type TriggerTransportPubsubOutput struct{ *pulumi.OutputState }
func (TriggerTransportPubsubOutput) ElementType ¶
func (TriggerTransportPubsubOutput) ElementType() reflect.Type
func (TriggerTransportPubsubOutput) Subscription ¶
func (o TriggerTransportPubsubOutput) Subscription() pulumi.StringPtrOutput
- Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
func (TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutput ¶
func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutput() TriggerTransportPubsubOutput
func (TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutputWithContext ¶
func (o TriggerTransportPubsubOutput) ToTriggerTransportPubsubOutputWithContext(ctx context.Context) TriggerTransportPubsubOutput
func (TriggerTransportPubsubOutput) Topic ¶
func (o TriggerTransportPubsubOutput) Topic() pulumi.StringPtrOutput
Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`. You may set an existing topic for triggers of the type `google.cloud.pubsub.topic.v1.messagePublished` only. The topic you provide here will not be deleted by Eventarc at trigger deletion.