eventarc

package
v6.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger struct {
	pulumi.CustomResourceState

	// Output only. The creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Required. Destination specifies where the events should be sent to.
	Destination TriggerDestinationOutput `pulumi:"destination"`
	// 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.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Optional. User labels attached to the triggers that can be used to group resources.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location pulumi.StringOutput `pulumi:"location"`
	// 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.
	MatchingCriterias TriggerMatchingCriteriaArrayOutput `pulumi:"matchingCriterias"`
	// Required. The resource name of the trigger. Must be unique within the location on the project.
	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#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"`
	// 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.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// Output only. The last-modified time.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

The Eventarc Trigger resource

## Example Usage ### Basic ```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudrun"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/eventarc"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/pubsub"
"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("europe-west1"),
			Metadata: &cloudrun.ServiceMetadataArgs{
				Namespace: pulumi.String("my-project-name"),
			},
			Template: &cloudrun.ServiceTemplateArgs{
				Spec: &cloudrun.ServiceTemplateSpecArgs{
					Containers: cloudrun.ServiceTemplateSpecContainerArray{
						&cloudrun.ServiceTemplateSpecContainerArgs{
							Image: pulumi.String("gcr.io/cloudrun/hello"),
							Ports: cloudrun.ServiceTemplateSpecContainerPortArray{
								&cloudrun.ServiceTemplateSpecContainerPortArgs{
									ContainerPort: pulumi.Int(8080),
								},
							},
						},
					},
					ContainerConcurrency: pulumi.Int(50),
					TimeoutSeconds:       pulumi.Int(100),
				},
			},
			Traffics: cloudrun.ServiceTrafficArray{
				&cloudrun.ServiceTrafficArgs{
					Percent:        pulumi.Int(100),
					LatestRevision: pulumi.Bool(true),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = eventarc.NewTrigger(ctx, "primary", &eventarc.TriggerArgs{
			Location: pulumi.String("europe-west1"),
			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("europe-west1"),
				},
			},
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		_, err = pubsub.NewTopic(ctx, "foo", nil)
		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) ElementType() reflect.Type

func (*Trigger) ToTriggerOutput

func (i *Trigger) ToTriggerOutput() TriggerOutput

func (*Trigger) ToTriggerOutputWithContext

func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

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
	// Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location pulumi.StringInput
	// 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.
	MatchingCriterias TriggerMatchingCriteriaArrayInput
	// Required. The resource name of the trigger. Must be unique within the location on the project.
	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#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 (TriggerArrayOutput) ToTriggerArrayOutput

func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput

func (TriggerArrayOutput) ToTriggerArrayOutputWithContext

func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput

type TriggerDestination

type TriggerDestination struct {
	// [WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}
	CloudFunction *string `pulumi:"cloudFunction"`
	// Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
	CloudRunService *TriggerDestinationCloudRunService `pulumi:"cloudRunService"`
	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	Gke *TriggerDestinationGke `pulumi:"gke"`
	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
	Workflow *string `pulumi:"workflow"`
}

type TriggerDestinationArgs

type TriggerDestinationArgs struct {
	// [WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}
	CloudFunction pulumi.StringPtrInput `pulumi:"cloudFunction"`
	// Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.
	CloudRunService TriggerDestinationCloudRunServicePtrInput `pulumi:"cloudRunService"`
	// A GKE service capable of receiving events. The service should be running in the same project as the trigger.
	Gke TriggerDestinationGkePtrInput `pulumi:"gke"`
	// The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
	Workflow pulumi.StringPtrInput `pulumi:"workflow"`
}

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 GKE service the events should be sent to. The value must conform to the definition of a 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. Name of the GKE service.
	Service string `pulumi:"service"`
}

type TriggerDestinationCloudRunServiceArgs

type TriggerDestinationCloudRunServiceArgs struct {
	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a 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. Name of the GKE service.
	Service pulumi.StringInput `pulumi:"service"`
}

func (TriggerDestinationCloudRunServiceArgs) ElementType

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) Path

Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (TriggerDestinationCloudRunServiceOutput) Region

Required. The region the Cloud Run service is deployed in.

func (TriggerDestinationCloudRunServiceOutput) Service

Required. Name of the GKE service.

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

type TriggerDestinationCloudRunServicePtrOutput

type TriggerDestinationCloudRunServicePtrOutput struct{ *pulumi.OutputState }

func (TriggerDestinationCloudRunServicePtrOutput) Elem

func (TriggerDestinationCloudRunServicePtrOutput) ElementType

func (TriggerDestinationCloudRunServicePtrOutput) Path

Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (TriggerDestinationCloudRunServicePtrOutput) Region

Required. The region the Cloud Run service is deployed in.

func (TriggerDestinationCloudRunServicePtrOutput) Service

Required. Name of the GKE service.

func (TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput

func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutput() TriggerDestinationCloudRunServicePtrOutput

func (TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext

func (o TriggerDestinationCloudRunServicePtrOutput) ToTriggerDestinationCloudRunServicePtrOutputWithContext(ctx context.Context) TriggerDestinationCloudRunServicePtrOutput

type TriggerDestinationGke added in v6.18.0

type TriggerDestinationGke struct {
	// Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	Cluster string `pulumi:"cluster"`
	// Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location string `pulumi:"location"`
	// Required. The namespace the GKE service is running in.
	Namespace string `pulumi:"namespace"`
	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path *string `pulumi:"path"`
	// Required. Name of the GKE service.
	Service string `pulumi:"service"`
}

type TriggerDestinationGkeArgs added in v6.18.0

type TriggerDestinationGkeArgs struct {
	// Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.
	Cluster pulumi.StringInput `pulumi:"cluster"`
	// Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location pulumi.StringInput `pulumi:"location"`
	// Required. The namespace the GKE service is running in.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".
	Path pulumi.StringPtrInput `pulumi:"path"`
	// Required. Name of the GKE service.
	Service pulumi.StringInput `pulumi:"service"`
}

func (TriggerDestinationGkeArgs) ElementType added in v6.18.0

func (TriggerDestinationGkeArgs) ElementType() reflect.Type

func (TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutput added in v6.18.0

func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput

func (TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutputWithContext added in v6.18.0

func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkeOutputWithContext(ctx context.Context) TriggerDestinationGkeOutput

func (TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutput added in v6.18.0

func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput

func (TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutputWithContext added in v6.18.0

func (i TriggerDestinationGkeArgs) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput

type TriggerDestinationGkeInput added in v6.18.0

type TriggerDestinationGkeInput interface {
	pulumi.Input

	ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput
	ToTriggerDestinationGkeOutputWithContext(context.Context) TriggerDestinationGkeOutput
}

TriggerDestinationGkeInput is an input type that accepts TriggerDestinationGkeArgs and TriggerDestinationGkeOutput values. You can construct a concrete instance of `TriggerDestinationGkeInput` via:

TriggerDestinationGkeArgs{...}

type TriggerDestinationGkeOutput added in v6.18.0

type TriggerDestinationGkeOutput struct{ *pulumi.OutputState }

func (TriggerDestinationGkeOutput) Cluster added in v6.18.0

Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.

func (TriggerDestinationGkeOutput) ElementType added in v6.18.0

func (TriggerDestinationGkeOutput) Location added in v6.18.0

Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

func (TriggerDestinationGkeOutput) Namespace added in v6.18.0

Required. The namespace the GKE service is running in.

func (TriggerDestinationGkeOutput) Path added in v6.18.0

Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (TriggerDestinationGkeOutput) Service added in v6.18.0

Required. Name of the GKE service.

func (TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutput added in v6.18.0

func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutput() TriggerDestinationGkeOutput

func (TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutputWithContext added in v6.18.0

func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkeOutputWithContext(ctx context.Context) TriggerDestinationGkeOutput

func (TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutput added in v6.18.0

func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput

func (TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutputWithContext added in v6.18.0

func (o TriggerDestinationGkeOutput) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput

type TriggerDestinationGkePtrInput added in v6.18.0

type TriggerDestinationGkePtrInput interface {
	pulumi.Input

	ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput
	ToTriggerDestinationGkePtrOutputWithContext(context.Context) TriggerDestinationGkePtrOutput
}

TriggerDestinationGkePtrInput is an input type that accepts TriggerDestinationGkeArgs, TriggerDestinationGkePtr and TriggerDestinationGkePtrOutput values. You can construct a concrete instance of `TriggerDestinationGkePtrInput` via:

        TriggerDestinationGkeArgs{...}

or:

        nil

func TriggerDestinationGkePtr added in v6.18.0

func TriggerDestinationGkePtr(v *TriggerDestinationGkeArgs) TriggerDestinationGkePtrInput

type TriggerDestinationGkePtrOutput added in v6.18.0

type TriggerDestinationGkePtrOutput struct{ *pulumi.OutputState }

func (TriggerDestinationGkePtrOutput) Cluster added in v6.18.0

Required. The name of the cluster the GKE service is running in. The cluster must be running in the same project as the trigger being created.

func (TriggerDestinationGkePtrOutput) Elem added in v6.18.0

func (TriggerDestinationGkePtrOutput) ElementType added in v6.18.0

func (TriggerDestinationGkePtrOutput) Location added in v6.18.0

Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

func (TriggerDestinationGkePtrOutput) Namespace added in v6.18.0

Required. The namespace the GKE service is running in.

func (TriggerDestinationGkePtrOutput) Path added in v6.18.0

Optional. The relative path on the GKE service the events should be sent to. The value must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: "/route", "route", "route/subroute".

func (TriggerDestinationGkePtrOutput) Service added in v6.18.0

Required. Name of the GKE service.

func (TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutput added in v6.18.0

func (o TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutput() TriggerDestinationGkePtrOutput

func (TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutputWithContext added in v6.18.0

func (o TriggerDestinationGkePtrOutput) ToTriggerDestinationGkePtrOutputWithContext(ctx context.Context) TriggerDestinationGkePtrOutput

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) CloudFunction

[WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}

func (TriggerDestinationOutput) CloudRunService

Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.

func (TriggerDestinationOutput) ElementType

func (TriggerDestinationOutput) ElementType() reflect.Type

func (TriggerDestinationOutput) Gke added in v6.18.0

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

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

func (TriggerDestinationOutput) Workflow added in v6.18.0

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`

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

type TriggerDestinationPtrOutput

type TriggerDestinationPtrOutput struct{ *pulumi.OutputState }

func (TriggerDestinationPtrOutput) CloudFunction

[WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}

func (TriggerDestinationPtrOutput) CloudRunService

Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.

func (TriggerDestinationPtrOutput) Elem

func (TriggerDestinationPtrOutput) ElementType

func (TriggerDestinationPtrOutput) Gke added in v6.18.0

A GKE service capable of receiving events. The service should be running in the same project as the trigger.

func (TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput

func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutput() TriggerDestinationPtrOutput

func (TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext

func (o TriggerDestinationPtrOutput) ToTriggerDestinationPtrOutputWithContext(ctx context.Context) TriggerDestinationPtrOutput

func (TriggerDestinationPtrOutput) Workflow added in v6.18.0

The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`

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 (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 are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.
	Attribute string `pulumi:"attribute"`
	// Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
	Operator *string `pulumi:"operator"`
	// Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
	Value string `pulumi:"value"`
}

type TriggerMatchingCriteriaArgs

type TriggerMatchingCriteriaArgs struct {
	// Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.
	Attribute pulumi.StringInput `pulumi:"attribute"`
	// Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.
	Operator pulumi.StringPtrInput `pulumi:"operator"`
	// Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.
	Value pulumi.StringInput `pulumi:"value"`
}

func (TriggerMatchingCriteriaArgs) ElementType

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) 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) Index

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

Required. The name of a CloudEvents attribute. Currently, only a subset of attributes are supported for filtering. All triggers MUST provide a filter for the 'type' attribute.

func (TriggerMatchingCriteriaOutput) ElementType

func (TriggerMatchingCriteriaOutput) Operator added in v6.18.0

Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are matched. The only allowed value is `match-path-pattern`.

func (TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput

func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutput() TriggerMatchingCriteriaOutput

func (TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext

func (o TriggerMatchingCriteriaOutput) ToTriggerMatchingCriteriaOutputWithContext(ctx context.Context) TriggerMatchingCriteriaOutput

func (TriggerMatchingCriteriaOutput) Value

Required. The value for the attribute. See https://cloud.google.com/eventarc/docs/creating-triggers#trigger-gcloud for available values.

type TriggerOutput

type TriggerOutput struct{ *pulumi.OutputState }

func (TriggerOutput) CreateTime added in v6.23.0

func (o TriggerOutput) CreateTime() pulumi.StringOutput

Output only. The creation time.

func (TriggerOutput) Destination added in v6.23.0

func (o TriggerOutput) Destination() TriggerDestinationOutput

Required. Destination specifies where the events should be sent to.

func (TriggerOutput) ElementType

func (TriggerOutput) ElementType() reflect.Type

func (TriggerOutput) Etag added in v6.23.0

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.

func (TriggerOutput) Labels added in v6.23.0

Optional. User labels attached to the triggers that can be used to group resources.

func (TriggerOutput) Location added in v6.23.0

func (o TriggerOutput) Location() pulumi.StringOutput

Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.

func (TriggerOutput) MatchingCriterias added in v6.23.0

func (o TriggerOutput) MatchingCriterias() TriggerMatchingCriteriaArrayOutput

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.

func (TriggerOutput) Name added in v6.23.0

Required. The resource name of the trigger. Must be unique within the location on the project.

func (TriggerOutput) Project added in v6.23.0

func (o TriggerOutput) Project() pulumi.StringOutput

The project for the resource

func (TriggerOutput) ServiceAccount added in v6.23.0

func (o TriggerOutput) ServiceAccount() pulumi.StringPtrOutput

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.

func (TriggerOutput) ToTriggerOutput

func (o TriggerOutput) ToTriggerOutput() TriggerOutput

func (TriggerOutput) ToTriggerOutputWithContext

func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput

func (TriggerOutput) Transports added in v6.23.0

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.

func (TriggerOutput) Uid added in v6.23.0

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.

func (TriggerOutput) UpdateTime added in v6.23.0

func (o TriggerOutput) UpdateTime() pulumi.StringOutput

Output only. The last-modified time.

type TriggerState

type TriggerState struct {
	// Output only. The creation time.
	CreateTime pulumi.StringPtrInput
	// Required. Destination specifies where the events should be sent to.
	Destination TriggerDestinationPtrInput
	// 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.
	Etag pulumi.StringPtrInput
	// Optional. User labels attached to the triggers that can be used to group resources.
	Labels pulumi.StringMapInput
	// Required. The name of the Google Compute Engine in which the cluster resides, which can either be compute zone (for example, us-central1-a) for the zonal clusters or region (for example, us-central1) for regional clusters.
	Location pulumi.StringPtrInput
	// 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.
	MatchingCriterias TriggerMatchingCriteriaArrayInput
	// Required. The resource name of the trigger. Must be unique within the location on the project.
	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#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
	// 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.
	Uid pulumi.StringPtrInput
	// Output only. The last-modified time.
	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.
	Pubsubs []TriggerTransportPubsub `pulumi:"pubsubs"`
}

type TriggerTransportArgs

type TriggerTransportArgs struct {
	// The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.
	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) Index

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

The Pub/Sub topic and subscription used by Eventarc as delivery intermediary.

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) 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) Index

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) Subscription

- 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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL