Module pubsub

@pulumi/gcp > pubsub

Index

pubsub/subscription.ts pubsub/subscriptionIAMBinding.ts pubsub/subscriptionIAMMember.ts pubsub/subscriptionIAMPolicy.ts pubsub/topic.ts pubsub/topicIAMBinding.ts pubsub/topicIAMMember.ts pubsub/topicIAMPolicy.ts

class Subscription

Creates a subscription in Google’s pubsub queueing system. For more information see the official documentation and API.

constructor

new Subscription(name: string, args: SubscriptionArgs, opts?: pulumi.CustomResourceOptions)

Create a Subscription resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionState): Subscription

Get an existing Subscription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property ackDeadlineSeconds

public ackDeadlineSeconds: pulumi.Output<number>;

The maximum number of seconds a subscriber has to acknowledge a received message, otherwise the message is redelivered. Changing this forces a new resource to be created.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by pubsub. Changing this forces a new resource to be created.

property path

public path: pulumi.Output<string>;

Path of the subscription in the format projects/{project}/subscriptions/{sub}

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property pushConfig

public pushConfig: pulumi.Output<{ ... } | undefined>;

Block configuration for push options. More configuration options are detailed below.

property topic

public topic: pulumi.Output<string>;

The topic name or id to bind this subscription to, required by pubsub. Changing this forces a new resource to be created.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SubscriptionIAMBinding

Three different resources help you manage your IAM policy for pubsub subscription. Each of these resources serves a different use case:

  • google_pubsub_subscription_iam_policy: Authoritative. Sets the IAM policy for the subscription and replaces any existing policy already attached.
  • google_pubsub_subscription_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the subscription are preserved.
  • google_pubsub_subscription_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the subscription are preserved.

~> Note: google_pubsub_subscription_iam_policy cannot be used in conjunction with google_pubsub_subscription_iam_binding and google_pubsub_subscription_iam_member or they will fight over what your policy should be.

~> Note: google_pubsub_subscription_iam_binding resources can be used in conjunction with google_pubsub_subscription_iam_member resources only if they do not grant privilege to the same role.

constructor

new SubscriptionIAMBinding(name: string, args: SubscriptionIAMBindingArgs, opts?: pulumi.CustomResourceOptions)

Create a SubscriptionIAMBinding resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionIAMBindingState): SubscriptionIAMBinding

Get an existing SubscriptionIAMBinding resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the subscription’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property members

public members: pulumi.Output<string[]>;

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

public role: pulumi.Output<string>;

The role that should be applied. Only one google_pubsub_subscription_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subscription

public subscription: pulumi.Output<string>;

The subscription name or id to bind to attach IAM policy to.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SubscriptionIAMMember

Three different resources help you manage your IAM policy for pubsub subscription. Each of these resources serves a different use case:

  • google_pubsub_subscription_iam_policy: Authoritative. Sets the IAM policy for the subscription and replaces any existing policy already attached.
  • google_pubsub_subscription_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the subscription are preserved.
  • google_pubsub_subscription_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the subscription are preserved.

~> Note: google_pubsub_subscription_iam_policy cannot be used in conjunction with google_pubsub_subscription_iam_binding and google_pubsub_subscription_iam_member or they will fight over what your policy should be.

~> Note: google_pubsub_subscription_iam_binding resources can be used in conjunction with google_pubsub_subscription_iam_member resources only if they do not grant privilege to the same role.

constructor

new SubscriptionIAMMember(name: string, args: SubscriptionIAMMemberArgs, opts?: pulumi.CustomResourceOptions)

Create a SubscriptionIAMMember resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionIAMMemberState): SubscriptionIAMMember

Get an existing SubscriptionIAMMember resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the subscription’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property member

public member: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

public role: pulumi.Output<string>;

The role that should be applied. Only one google_pubsub_subscription_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subscription

public subscription: pulumi.Output<string>;

The subscription name or id to bind to attach IAM policy to.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class SubscriptionIAMPolicy

Three different resources help you manage your IAM policy for pubsub subscription. Each of these resources serves a different use case:

  • google_pubsub_subscription_iam_policy: Authoritative. Sets the IAM policy for the subscription and replaces any existing policy already attached.
  • google_pubsub_subscription_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the subscription are preserved.
  • google_pubsub_subscription_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the subscription are preserved.

~> Note: google_pubsub_subscription_iam_policy cannot be used in conjunction with google_pubsub_subscription_iam_binding and google_pubsub_subscription_iam_member or they will fight over what your policy should be.

~> Note: google_pubsub_subscription_iam_binding resources can be used in conjunction with google_pubsub_subscription_iam_member resources only if they do not grant privilege to the same role.

constructor

new SubscriptionIAMPolicy(name: string, args: SubscriptionIAMPolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a SubscriptionIAMPolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SubscriptionIAMPolicyState): SubscriptionIAMPolicy

Get an existing SubscriptionIAMPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the subscription’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property policyData

public policyData: pulumi.Output<string>;

The policy data generated by a google_iam_policy data source.

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property subscription

public subscription: pulumi.Output<string>;

The subscription name or id to bind to attach IAM policy to.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class Topic

Creates a topic in Google’s pubsub queueing system. For more information see the official documentation and API.

constructor

new Topic(name: string, args?: TopicArgs, opts?: pulumi.CustomResourceOptions)

Create a Topic resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopicState): Topic

Get an existing Topic resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

A unique name for the pubsub topic. Changing this forces a new resource to be created.

property project

public project: pulumi.Output<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TopicIAMBinding

Three different resources help you manage your IAM policy for pubsub topic. Each of these resources serves a different use case:

  • google_pubsub_topic_iam_policy: Authoritative. Sets the IAM policy for the topic and replaces any existing policy already attached.
  • google_pubsub_topic_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the topic are preserved.
  • google_pubsub_topic_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the topic are preserved.

~> Note: google_pubsub_topic_iam_policy cannot be used in conjunction with google_pubsub_topic_iam_binding and google_pubsub_topic_iam_member or they will fight over what your policy should be.

~> Note: google_pubsub_topic_iam_binding resources can be used in conjunction with google_pubsub_topic_iam_member resources only if they do not grant privilege to the same role.

constructor

new TopicIAMBinding(name: string, args: TopicIAMBindingArgs, opts?: pulumi.CustomResourceOptions)

Create a TopicIAMBinding resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopicIAMBindingState): TopicIAMBinding

Get an existing TopicIAMBinding resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the topic’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property members

public members: pulumi.Output<string[]>;

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

public role: pulumi.Output<string>;

The role that should be applied. Only one google_pubsub_topic_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property topic

public topic: pulumi.Output<string>;

The topic name or id to bind to attach IAM policy to.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TopicIAMMember

Three different resources help you manage your IAM policy for pubsub topic. Each of these resources serves a different use case:

  • google_pubsub_topic_iam_policy: Authoritative. Sets the IAM policy for the topic and replaces any existing policy already attached.
  • google_pubsub_topic_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the topic are preserved.
  • google_pubsub_topic_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the topic are preserved.

~> Note: google_pubsub_topic_iam_policy cannot be used in conjunction with google_pubsub_topic_iam_binding and google_pubsub_topic_iam_member or they will fight over what your policy should be.

~> Note: google_pubsub_topic_iam_binding resources can be used in conjunction with google_pubsub_topic_iam_member resources only if they do not grant privilege to the same role.

constructor

new TopicIAMMember(name: string, args: TopicIAMMemberArgs, opts?: pulumi.CustomResourceOptions)

Create a TopicIAMMember resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopicIAMMemberState): TopicIAMMember

Get an existing TopicIAMMember resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the topic’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property member

public member: pulumi.Output<string>;

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

public role: pulumi.Output<string>;

The role that should be applied. Only one google_pubsub_topic_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property topic

public topic: pulumi.Output<string>;

The topic name or id to bind to attach IAM policy to.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class TopicIAMPolicy

Three different resources help you manage your IAM policy for pubsub topic. Each of these resources serves a different use case:

  • google_pubsub_topic_iam_policy: Authoritative. Sets the IAM policy for the topic and replaces any existing policy already attached.
  • google_pubsub_topic_iam_binding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the topic are preserved.
  • google_pubsub_topic_iam_member: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the topic are preserved.

~> Note: google_pubsub_topic_iam_policy cannot be used in conjunction with google_pubsub_topic_iam_binding and google_pubsub_topic_iam_member or they will fight over what your policy should be.

~> Note: google_pubsub_topic_iam_binding resources can be used in conjunction with google_pubsub_topic_iam_member resources only if they do not grant privilege to the same role.

constructor

new TopicIAMPolicy(name: string, args: TopicIAMPolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a TopicIAMPolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopicIAMPolicyState): TopicIAMPolicy

Get an existing TopicIAMPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property etag

public etag: pulumi.Output<string>;

(Computed) The etag of the topic’s IAM policy.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property policyData

public policyData: pulumi.Output<string>;

The policy data generated by a google_iam_policy data source.

property project

public project: pulumi.Output<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property topic

public topic: pulumi.Output<string>;

The topic name or id to bind to attach IAM policy to.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface SubscriptionArgs

The set of arguments for constructing a Subscription resource.

property ackDeadlineSeconds

ackDeadlineSeconds?: pulumi.Input<number>;

The maximum number of seconds a subscriber has to acknowledge a received message, otherwise the message is redelivered. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by pubsub. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property pushConfig

pushConfig?: pulumi.Input<{ ... }>;

Block configuration for push options. More configuration options are detailed below.

property topic

topic: pulumi.Input<string>;

The topic name or id to bind this subscription to, required by pubsub. Changing this forces a new resource to be created.

interface SubscriptionIAMBindingArgs

The set of arguments for constructing a SubscriptionIAMBinding resource.

property members

members: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_subscription_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subscription

subscription: pulumi.Input<string>;

The subscription name or id to bind to attach IAM policy to.

interface SubscriptionIAMBindingState

Input properties used for looking up and filtering SubscriptionIAMBinding resources.

property etag

etag?: pulumi.Input<string>;

(Computed) The etag of the subscription’s IAM policy.

property members

members?: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role?: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_subscription_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subscription

subscription?: pulumi.Input<string>;

The subscription name or id to bind to attach IAM policy to.

interface SubscriptionIAMMemberArgs

The set of arguments for constructing a SubscriptionIAMMember resource.

property member

member: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_subscription_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subscription

subscription: pulumi.Input<string>;

The subscription name or id to bind to attach IAM policy to.

interface SubscriptionIAMMemberState

Input properties used for looking up and filtering SubscriptionIAMMember resources.

property etag

etag?: pulumi.Input<string>;

(Computed) The etag of the subscription’s IAM policy.

property member

member?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role?: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_subscription_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property subscription

subscription?: pulumi.Input<string>;

The subscription name or id to bind to attach IAM policy to.

interface SubscriptionIAMPolicyArgs

The set of arguments for constructing a SubscriptionIAMPolicy resource.

property policyData

policyData: pulumi.Input<string>;

The policy data generated by a google_iam_policy data source.

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property subscription

subscription: pulumi.Input<string>;

The subscription name or id to bind to attach IAM policy to.

interface SubscriptionIAMPolicyState

Input properties used for looking up and filtering SubscriptionIAMPolicy resources.

property etag

etag?: pulumi.Input<string>;

(Computed) The etag of the subscription’s IAM policy.

property policyData

policyData?: pulumi.Input<string>;

The policy data generated by a google_iam_policy data source.

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property subscription

subscription?: pulumi.Input<string>;

The subscription name or id to bind to attach IAM policy to.

interface SubscriptionState

Input properties used for looking up and filtering Subscription resources.

property ackDeadlineSeconds

ackDeadlineSeconds?: pulumi.Input<number>;

The maximum number of seconds a subscriber has to acknowledge a received message, otherwise the message is redelivered. Changing this forces a new resource to be created.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by pubsub. Changing this forces a new resource to be created.

property path

path?: pulumi.Input<string>;

Path of the subscription in the format projects/{project}/subscriptions/{sub}

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

property pushConfig

pushConfig?: pulumi.Input<{ ... }>;

Block configuration for push options. More configuration options are detailed below.

property topic

topic?: pulumi.Input<string>;

The topic name or id to bind this subscription to, required by pubsub. Changing this forces a new resource to be created.

interface TopicArgs

The set of arguments for constructing a Topic resource.

property name

name?: pulumi.Input<string>;

A unique name for the pubsub topic. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

interface TopicIAMBindingArgs

The set of arguments for constructing a TopicIAMBinding resource.

property members

members: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_topic_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property topic

topic: pulumi.Input<string>;

The topic name or id to bind to attach IAM policy to.

interface TopicIAMBindingState

Input properties used for looking up and filtering TopicIAMBinding resources.

property etag

etag?: pulumi.Input<string>;

(Computed) The etag of the topic’s IAM policy.

property members

members?: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role?: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_topic_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property topic

topic?: pulumi.Input<string>;

The topic name or id to bind to attach IAM policy to.

interface TopicIAMMemberArgs

The set of arguments for constructing a TopicIAMMember resource.

property member

member: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_topic_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property topic

topic: pulumi.Input<string>;

The topic name or id to bind to attach IAM policy to.

interface TopicIAMMemberState

Input properties used for looking up and filtering TopicIAMMember resources.

property etag

etag?: pulumi.Input<string>;

(Computed) The etag of the topic’s IAM policy.

property member

member?: pulumi.Input<string>;

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property role

role?: pulumi.Input<string>;

The role that should be applied. Only one google_pubsub_topic_iam_binding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

property topic

topic?: pulumi.Input<string>;

The topic name or id to bind to attach IAM policy to.

interface TopicIAMPolicyArgs

The set of arguments for constructing a TopicIAMPolicy resource.

property policyData

policyData: pulumi.Input<string>;

The policy data generated by a google_iam_policy data source.

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property topic

topic: pulumi.Input<string>;

The topic name or id to bind to attach IAM policy to.

interface TopicIAMPolicyState

Input properties used for looking up and filtering TopicIAMPolicy resources.

property etag

etag?: pulumi.Input<string>;

(Computed) The etag of the topic’s IAM policy.

property policyData

policyData?: pulumi.Input<string>;

The policy data generated by a google_iam_policy data source.

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property topic

topic?: pulumi.Input<string>;

The topic name or id to bind to attach IAM policy to.

interface TopicState

Input properties used for looking up and filtering Topic resources.

property name

name?: pulumi.Input<string>;

A unique name for the pubsub topic. Changing this forces a new resource to be created.

property project

project?: pulumi.Input<string>;

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.