Documentation
¶
Index ¶
- type Subscription
- func (r *Subscription) AckDeadlineSeconds() pulumi.IntOutput
- func (r *Subscription) ExpirationPolicy() pulumi.Output
- func (r *Subscription) ID() pulumi.IDOutput
- func (r *Subscription) Labels() pulumi.MapOutput
- func (r *Subscription) MessageRetentionDuration() pulumi.StringOutput
- func (r *Subscription) Name() pulumi.StringOutput
- func (r *Subscription) Path() pulumi.StringOutput
- func (r *Subscription) Project() pulumi.StringOutput
- func (r *Subscription) PushConfig() pulumi.Output
- func (r *Subscription) RetainAckedMessages() pulumi.BoolOutput
- func (r *Subscription) Topic() pulumi.StringOutput
- func (r *Subscription) URN() pulumi.URNOutput
- type SubscriptionArgs
- type SubscriptionIAMBinding
- func (r *SubscriptionIAMBinding) Condition() pulumi.Output
- func (r *SubscriptionIAMBinding) Etag() pulumi.StringOutput
- func (r *SubscriptionIAMBinding) ID() pulumi.IDOutput
- func (r *SubscriptionIAMBinding) Members() pulumi.ArrayOutput
- func (r *SubscriptionIAMBinding) Project() pulumi.StringOutput
- func (r *SubscriptionIAMBinding) Role() pulumi.StringOutput
- func (r *SubscriptionIAMBinding) Subscription() pulumi.StringOutput
- func (r *SubscriptionIAMBinding) URN() pulumi.URNOutput
- type SubscriptionIAMBindingArgs
- type SubscriptionIAMBindingState
- type SubscriptionIAMMember
- func (r *SubscriptionIAMMember) Condition() pulumi.Output
- func (r *SubscriptionIAMMember) Etag() pulumi.StringOutput
- func (r *SubscriptionIAMMember) ID() pulumi.IDOutput
- func (r *SubscriptionIAMMember) Member() pulumi.StringOutput
- func (r *SubscriptionIAMMember) Project() pulumi.StringOutput
- func (r *SubscriptionIAMMember) Role() pulumi.StringOutput
- func (r *SubscriptionIAMMember) Subscription() pulumi.StringOutput
- func (r *SubscriptionIAMMember) URN() pulumi.URNOutput
- type SubscriptionIAMMemberArgs
- type SubscriptionIAMMemberState
- type SubscriptionIAMPolicy
- func (r *SubscriptionIAMPolicy) Etag() pulumi.StringOutput
- func (r *SubscriptionIAMPolicy) ID() pulumi.IDOutput
- func (r *SubscriptionIAMPolicy) PolicyData() pulumi.StringOutput
- func (r *SubscriptionIAMPolicy) Project() pulumi.StringOutput
- func (r *SubscriptionIAMPolicy) Subscription() pulumi.StringOutput
- func (r *SubscriptionIAMPolicy) URN() pulumi.URNOutput
- type SubscriptionIAMPolicyArgs
- type SubscriptionIAMPolicyState
- type SubscriptionState
- type Topic
- func (r *Topic) ID() pulumi.IDOutput
- func (r *Topic) KmsKeyName() pulumi.StringOutput
- func (r *Topic) Labels() pulumi.MapOutput
- func (r *Topic) MessageStoragePolicy() pulumi.Output
- func (r *Topic) Name() pulumi.StringOutput
- func (r *Topic) Project() pulumi.StringOutput
- func (r *Topic) URN() pulumi.URNOutput
- type TopicArgs
- type TopicIAMBinding
- func (r *TopicIAMBinding) Condition() pulumi.Output
- func (r *TopicIAMBinding) Etag() pulumi.StringOutput
- func (r *TopicIAMBinding) ID() pulumi.IDOutput
- func (r *TopicIAMBinding) Members() pulumi.ArrayOutput
- func (r *TopicIAMBinding) Project() pulumi.StringOutput
- func (r *TopicIAMBinding) Role() pulumi.StringOutput
- func (r *TopicIAMBinding) Topic() pulumi.StringOutput
- func (r *TopicIAMBinding) URN() pulumi.URNOutput
- type TopicIAMBindingArgs
- type TopicIAMBindingState
- type TopicIAMMember
- func (r *TopicIAMMember) Condition() pulumi.Output
- func (r *TopicIAMMember) Etag() pulumi.StringOutput
- func (r *TopicIAMMember) ID() pulumi.IDOutput
- func (r *TopicIAMMember) Member() pulumi.StringOutput
- func (r *TopicIAMMember) Project() pulumi.StringOutput
- func (r *TopicIAMMember) Role() pulumi.StringOutput
- func (r *TopicIAMMember) Topic() pulumi.StringOutput
- func (r *TopicIAMMember) URN() pulumi.URNOutput
- type TopicIAMMemberArgs
- type TopicIAMMemberState
- type TopicIAMPolicy
- func (r *TopicIAMPolicy) Etag() pulumi.StringOutput
- func (r *TopicIAMPolicy) ID() pulumi.IDOutput
- func (r *TopicIAMPolicy) PolicyData() pulumi.StringOutput
- func (r *TopicIAMPolicy) Project() pulumi.StringOutput
- func (r *TopicIAMPolicy) Topic() pulumi.StringOutput
- func (r *TopicIAMPolicy) URN() pulumi.URNOutput
- type TopicIAMPolicyArgs
- type TopicIAMPolicyState
- type TopicState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_subscription.html.markdown.
func GetSubscription ¶
func GetSubscription(ctx *pulumi.Context, name string, id pulumi.ID, state *SubscriptionState, opts ...pulumi.ResourceOpt) (*Subscription, error)
GetSubscription gets an existing Subscription 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 NewSubscription ¶
func NewSubscription(ctx *pulumi.Context, name string, args *SubscriptionArgs, opts ...pulumi.ResourceOpt) (*Subscription, error)
NewSubscription registers a new resource with the given unique name, arguments, and options.
func (*Subscription) AckDeadlineSeconds ¶
func (r *Subscription) AckDeadlineSeconds() pulumi.IntOutput
This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again during that time (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a given message, call subscriptions.modifyAckDeadline with the corresponding ackId if using pull. The minimum custom deadline you can specify is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message.
func (*Subscription) ExpirationPolicy ¶ added in v0.18.6
func (r *Subscription) ExpirationPolicy() pulumi.Output
A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the subscription. If expirationPolicy is not set, a default policy with ttl of 31 days will be used. If it is set but left empty, the resource never expires. The minimum allowed value for expirationPolicy.ttl is 1 day.
func (*Subscription) ID ¶
func (r *Subscription) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*Subscription) Labels ¶ added in v0.18.0
func (r *Subscription) Labels() pulumi.MapOutput
A set of key/value label pairs to assign to this Subscription.
func (*Subscription) MessageRetentionDuration ¶ added in v0.18.0
func (r *Subscription) MessageRetentionDuration() pulumi.StringOutput
How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If retainAckedMessages is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a subscriptions.seek can be done. Defaults to 7 days. Cannot be more than 7 days ('"604800s"') or less than 10 minutes ('"600s"'). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: '"600.5s"'.
func (*Subscription) Name ¶
func (r *Subscription) Name() pulumi.StringOutput
Name of the subscription.
func (*Subscription) Path ¶
func (r *Subscription) Path() pulumi.StringOutput
func (*Subscription) Project ¶
func (r *Subscription) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (*Subscription) PushConfig ¶
func (r *Subscription) PushConfig() pulumi.Output
If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that the subscriber will pull and ack messages using API methods.
func (*Subscription) RetainAckedMessages ¶ added in v0.18.0
func (r *Subscription) RetainAckedMessages() pulumi.BoolOutput
Indicates whether to retain acknowledged messages. If 'true', then messages are not expunged from the subscription's backlog, even if they are acknowledged, until they fall out of the messageRetentionDuration window.
func (*Subscription) Topic ¶
func (r *Subscription) Topic() pulumi.StringOutput
A reference to a Topic resource.
func (*Subscription) URN ¶
func (r *Subscription) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SubscriptionArgs ¶
type SubscriptionArgs struct { // This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the // message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an // outstanding message and will not be delivered again during that time (on a best-effort basis). For pull subscriptions, // this value is used as the initial value for the ack deadline. To override this value for a given message, call // subscriptions.modifyAckDeadline with the corresponding ackId if using pull. The minimum custom deadline you can specify // is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a // default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call // to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver // the message. AckDeadlineSeconds interface{} // A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long // as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the // subscription. If expirationPolicy is not set, a default policy with ttl of 31 days will be used. If it is set but left // empty, the resource never expires. The minimum allowed value for expirationPolicy.ttl is 1 day. ExpirationPolicy interface{} // A set of key/value label pairs to assign to this Subscription. Labels interface{} // How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If // retainAckedMessages is true, then this also configures the retention of acknowledged messages, and thus configures how // far back in time a subscriptions.seek can be done. Defaults to 7 days. Cannot be more than 7 days ('"604800s"') or less // than 10 minutes ('"600s"'). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: // '"600.5s"'. MessageRetentionDuration interface{} // Name of the subscription. Name interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} // If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that // the subscriber will pull and ack messages using API methods. PushConfig interface{} // Indicates whether to retain acknowledged messages. If 'true', then messages are not expunged from the subscription's // backlog, even if they are acknowledged, until they fall out of the messageRetentionDuration window. RetainAckedMessages interface{} // A reference to a Topic resource. Topic interface{} }
The set of arguments for constructing a Subscription resource.
type SubscriptionIAMBinding ¶
type SubscriptionIAMBinding struct {
// contains filtered or unexported fields
}
Three different resources help you manage your IAM policy for pubsub subscription. Each of these resources serves a different use case:
* `pubsub.SubscriptionIAMPolicy`: Authoritative. Sets the IAM policy for the subscription and replaces any existing policy already attached. * `pubsub.SubscriptionIAMBinding`: 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. * `pubsub.SubscriptionIAMMember`: 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:** `pubsub.SubscriptionIAMPolicy` **cannot** be used in conjunction with `pubsub.SubscriptionIAMBinding` and `pubsub.SubscriptionIAMMember` or they will fight over what your policy should be.
> **Note:** `pubsub.SubscriptionIAMBinding` resources **can be** used in conjunction with `pubsub.SubscriptionIAMMember` resources **only if** they do not grant privilege to the same role.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_subscription_iam_binding.html.markdown.
func GetSubscriptionIAMBinding ¶
func GetSubscriptionIAMBinding(ctx *pulumi.Context, name string, id pulumi.ID, state *SubscriptionIAMBindingState, opts ...pulumi.ResourceOpt) (*SubscriptionIAMBinding, error)
GetSubscriptionIAMBinding gets an existing SubscriptionIAMBinding 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 NewSubscriptionIAMBinding ¶
func NewSubscriptionIAMBinding(ctx *pulumi.Context, name string, args *SubscriptionIAMBindingArgs, opts ...pulumi.ResourceOpt) (*SubscriptionIAMBinding, error)
NewSubscriptionIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionIAMBinding) Condition ¶ added in v1.6.0
func (r *SubscriptionIAMBinding) Condition() pulumi.Output
func (*SubscriptionIAMBinding) Etag ¶
func (r *SubscriptionIAMBinding) Etag() pulumi.StringOutput
(Computed) The etag of the subscription's IAM policy.
func (*SubscriptionIAMBinding) ID ¶
func (r *SubscriptionIAMBinding) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SubscriptionIAMBinding) Members ¶
func (r *SubscriptionIAMBinding) Members() pulumi.ArrayOutput
func (*SubscriptionIAMBinding) Project ¶
func (r *SubscriptionIAMBinding) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, the provider project is used.
func (*SubscriptionIAMBinding) Role ¶
func (r *SubscriptionIAMBinding) Role() pulumi.StringOutput
The role that should be applied. Only one `pubsub.SubscriptionIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*SubscriptionIAMBinding) Subscription ¶
func (r *SubscriptionIAMBinding) Subscription() pulumi.StringOutput
The subscription name or id to bind to attach IAM policy to.
func (*SubscriptionIAMBinding) URN ¶
func (r *SubscriptionIAMBinding) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SubscriptionIAMBindingArgs ¶
type SubscriptionIAMBindingArgs struct { Condition interface{} Members interface{} // The project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.SubscriptionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // The subscription name or id to bind to attach IAM policy to. Subscription interface{} }
The set of arguments for constructing a SubscriptionIAMBinding resource.
type SubscriptionIAMBindingState ¶
type SubscriptionIAMBindingState struct { Condition interface{} // (Computed) The etag of the subscription's IAM policy. Etag interface{} Members interface{} // The project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.SubscriptionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // The subscription name or id to bind to attach IAM policy to. Subscription interface{} }
Input properties used for looking up and filtering SubscriptionIAMBinding resources.
type SubscriptionIAMMember ¶
type SubscriptionIAMMember struct {
// contains filtered or unexported fields
}
Three different resources help you manage your IAM policy for pubsub subscription. Each of these resources serves a different use case:
* `pubsub.SubscriptionIAMPolicy`: Authoritative. Sets the IAM policy for the subscription and replaces any existing policy already attached. * `pubsub.SubscriptionIAMBinding`: 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. * `pubsub.SubscriptionIAMMember`: 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:** `pubsub.SubscriptionIAMPolicy` **cannot** be used in conjunction with `pubsub.SubscriptionIAMBinding` and `pubsub.SubscriptionIAMMember` or they will fight over what your policy should be.
> **Note:** `pubsub.SubscriptionIAMBinding` resources **can be** used in conjunction with `pubsub.SubscriptionIAMMember` resources **only if** they do not grant privilege to the same role.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_subscription_iam_member.html.markdown.
func GetSubscriptionIAMMember ¶
func GetSubscriptionIAMMember(ctx *pulumi.Context, name string, id pulumi.ID, state *SubscriptionIAMMemberState, opts ...pulumi.ResourceOpt) (*SubscriptionIAMMember, error)
GetSubscriptionIAMMember gets an existing SubscriptionIAMMember 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 NewSubscriptionIAMMember ¶
func NewSubscriptionIAMMember(ctx *pulumi.Context, name string, args *SubscriptionIAMMemberArgs, opts ...pulumi.ResourceOpt) (*SubscriptionIAMMember, error)
NewSubscriptionIAMMember registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionIAMMember) Condition ¶ added in v1.6.0
func (r *SubscriptionIAMMember) Condition() pulumi.Output
func (*SubscriptionIAMMember) Etag ¶
func (r *SubscriptionIAMMember) Etag() pulumi.StringOutput
(Computed) The etag of the subscription's IAM policy.
func (*SubscriptionIAMMember) ID ¶
func (r *SubscriptionIAMMember) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SubscriptionIAMMember) Member ¶
func (r *SubscriptionIAMMember) Member() pulumi.StringOutput
func (*SubscriptionIAMMember) Project ¶
func (r *SubscriptionIAMMember) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, the provider project is used.
func (*SubscriptionIAMMember) Role ¶
func (r *SubscriptionIAMMember) Role() pulumi.StringOutput
The role that should be applied. Only one `pubsub.SubscriptionIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*SubscriptionIAMMember) Subscription ¶
func (r *SubscriptionIAMMember) Subscription() pulumi.StringOutput
The subscription name or id to bind to attach IAM policy to.
func (*SubscriptionIAMMember) URN ¶
func (r *SubscriptionIAMMember) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SubscriptionIAMMemberArgs ¶
type SubscriptionIAMMemberArgs struct { Condition interface{} Member interface{} // The project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.SubscriptionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // The subscription name or id to bind to attach IAM policy to. Subscription interface{} }
The set of arguments for constructing a SubscriptionIAMMember resource.
type SubscriptionIAMMemberState ¶
type SubscriptionIAMMemberState struct { Condition interface{} // (Computed) The etag of the subscription's IAM policy. Etag interface{} Member interface{} // The project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.SubscriptionIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // The subscription name or id to bind to attach IAM policy to. Subscription interface{} }
Input properties used for looking up and filtering SubscriptionIAMMember resources.
type SubscriptionIAMPolicy ¶
type SubscriptionIAMPolicy struct {
// contains filtered or unexported fields
}
Three different resources help you manage your IAM policy for pubsub subscription. Each of these resources serves a different use case:
* `pubsub.SubscriptionIAMPolicy`: Authoritative. Sets the IAM policy for the subscription and replaces any existing policy already attached. * `pubsub.SubscriptionIAMBinding`: 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. * `pubsub.SubscriptionIAMMember`: 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:** `pubsub.SubscriptionIAMPolicy` **cannot** be used in conjunction with `pubsub.SubscriptionIAMBinding` and `pubsub.SubscriptionIAMMember` or they will fight over what your policy should be.
> **Note:** `pubsub.SubscriptionIAMBinding` resources **can be** used in conjunction with `pubsub.SubscriptionIAMMember` resources **only if** they do not grant privilege to the same role.
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_subscription_iam_policy.html.markdown.
func GetSubscriptionIAMPolicy ¶
func GetSubscriptionIAMPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *SubscriptionIAMPolicyState, opts ...pulumi.ResourceOpt) (*SubscriptionIAMPolicy, error)
GetSubscriptionIAMPolicy gets an existing SubscriptionIAMPolicy 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 NewSubscriptionIAMPolicy ¶
func NewSubscriptionIAMPolicy(ctx *pulumi.Context, name string, args *SubscriptionIAMPolicyArgs, opts ...pulumi.ResourceOpt) (*SubscriptionIAMPolicy, error)
NewSubscriptionIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionIAMPolicy) Etag ¶
func (r *SubscriptionIAMPolicy) Etag() pulumi.StringOutput
(Computed) The etag of the subscription's IAM policy.
func (*SubscriptionIAMPolicy) ID ¶
func (r *SubscriptionIAMPolicy) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SubscriptionIAMPolicy) PolicyData ¶
func (r *SubscriptionIAMPolicy) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (*SubscriptionIAMPolicy) Project ¶
func (r *SubscriptionIAMPolicy) Project() pulumi.StringOutput
The project in which the resource belongs. If it is not provided, the provider project is used.
func (*SubscriptionIAMPolicy) Subscription ¶
func (r *SubscriptionIAMPolicy) Subscription() pulumi.StringOutput
The subscription name or id to bind to attach IAM policy to.
func (*SubscriptionIAMPolicy) URN ¶
func (r *SubscriptionIAMPolicy) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SubscriptionIAMPolicyArgs ¶
type SubscriptionIAMPolicyArgs struct { // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData interface{} // The project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // The subscription name or id to bind to attach IAM policy to. Subscription interface{} }
The set of arguments for constructing a SubscriptionIAMPolicy resource.
type SubscriptionIAMPolicyState ¶
type SubscriptionIAMPolicyState struct { // (Computed) The etag of the subscription's IAM policy. Etag interface{} // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData interface{} // The project in which the resource belongs. If it // is not provided, the provider project is used. Project interface{} // The subscription name or id to bind to attach IAM policy to. Subscription interface{} }
Input properties used for looking up and filtering SubscriptionIAMPolicy resources.
type SubscriptionState ¶
type SubscriptionState struct { // This value is the maximum time after a subscriber receives a message before the subscriber should acknowledge the // message. After message delivery but before the ack deadline expires and before the message is acknowledged, it is an // outstanding message and will not be delivered again during that time (on a best-effort basis). For pull subscriptions, // this value is used as the initial value for the ack deadline. To override this value for a given message, call // subscriptions.modifyAckDeadline with the corresponding ackId if using pull. The minimum custom deadline you can specify // is 10 seconds. The maximum custom deadline you can specify is 600 seconds (10 minutes). If this parameter is 0, a // default value of 10 seconds is used. For push delivery, this value is also used to set the request timeout for the call // to the push endpoint. If the subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver // the message. AckDeadlineSeconds interface{} // A policy that specifies the conditions for this subscription's expiration. A subscription is considered active as long // as any connected subscriber is successfully consuming messages from the subscription or is issuing operations on the // subscription. If expirationPolicy is not set, a default policy with ttl of 31 days will be used. If it is set but left // empty, the resource never expires. The minimum allowed value for expirationPolicy.ttl is 1 day. ExpirationPolicy interface{} // A set of key/value label pairs to assign to this Subscription. Labels interface{} // How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published. If // retainAckedMessages is true, then this also configures the retention of acknowledged messages, and thus configures how // far back in time a subscriptions.seek can be done. Defaults to 7 days. Cannot be more than 7 days ('"604800s"') or less // than 10 minutes ('"600s"'). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: // '"600.5s"'. MessageRetentionDuration interface{} // Name of the subscription. Name interface{} Path interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} // If push delivery is used with this subscription, this field is used to configure it. An empty pushConfig signifies that // the subscriber will pull and ack messages using API methods. PushConfig interface{} // Indicates whether to retain acknowledged messages. If 'true', then messages are not expunged from the subscription's // backlog, even if they are acknowledged, until they fall out of the messageRetentionDuration window. RetainAckedMessages interface{} // A reference to a Topic resource. Topic interface{} }
Input properties used for looking up and filtering Subscription resources.
type Topic ¶
type Topic struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_topic.html.markdown.
func GetTopic ¶
func GetTopic(ctx *pulumi.Context, name string, id pulumi.ID, state *TopicState, opts ...pulumi.ResourceOpt) (*Topic, error)
GetTopic gets an existing Topic 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 NewTopic ¶
func NewTopic(ctx *pulumi.Context, name string, args *TopicArgs, opts ...pulumi.ResourceOpt) (*Topic, error)
NewTopic registers a new resource with the given unique name, arguments, and options.
func (*Topic) KmsKeyName ¶ added in v0.18.10
func (r *Topic) KmsKeyName() pulumi.StringOutput
The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. Your project's PubSub service account ('service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com') must have 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. The expected format is 'projects/*/locations/*/keyRings/*/cryptoKeys/*'
func (*Topic) MessageStoragePolicy ¶ added in v1.1.0
Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect.
func (*Topic) Project ¶
func (r *Topic) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
type TopicArgs ¶
type TopicArgs struct { // The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. Your // project's PubSub service account ('service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com') must have // 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. The expected format is // 'projects/*/locations/*/keyRings/*/cryptoKeys/*' KmsKeyName interface{} // A set of key/value label pairs to assign to this Topic. Labels interface{} // Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If // not present, then no constraints are in effect. MessageStoragePolicy interface{} // Name of the topic. Name interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} }
The set of arguments for constructing a Topic resource.
type TopicIAMBinding ¶
type TopicIAMBinding struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_topic_iam_binding.html.markdown.
func GetTopicIAMBinding ¶
func GetTopicIAMBinding(ctx *pulumi.Context, name string, id pulumi.ID, state *TopicIAMBindingState, opts ...pulumi.ResourceOpt) (*TopicIAMBinding, error)
GetTopicIAMBinding gets an existing TopicIAMBinding 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 NewTopicIAMBinding ¶
func NewTopicIAMBinding(ctx *pulumi.Context, name string, args *TopicIAMBindingArgs, opts ...pulumi.ResourceOpt) (*TopicIAMBinding, error)
NewTopicIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*TopicIAMBinding) Condition ¶ added in v1.6.0
func (r *TopicIAMBinding) Condition() pulumi.Output
func (*TopicIAMBinding) Etag ¶
func (r *TopicIAMBinding) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (*TopicIAMBinding) ID ¶
func (r *TopicIAMBinding) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TopicIAMBinding) Members ¶
func (r *TopicIAMBinding) Members() pulumi.ArrayOutput
func (*TopicIAMBinding) Project ¶
func (r *TopicIAMBinding) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (*TopicIAMBinding) Role ¶
func (r *TopicIAMBinding) Role() pulumi.StringOutput
The role that should be applied. Only one `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*TopicIAMBinding) Topic ¶
func (r *TopicIAMBinding) Topic() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (*TopicIAMBinding) URN ¶
func (r *TopicIAMBinding) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type TopicIAMBindingArgs ¶
type TopicIAMBindingArgs struct { Condition interface{} Members interface{} // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // Used to find the parent resource to bind the IAM policy to Topic interface{} }
The set of arguments for constructing a TopicIAMBinding resource.
type TopicIAMBindingState ¶
type TopicIAMBindingState struct { Condition interface{} // (Computed) The etag of the IAM policy. Etag interface{} Members interface{} // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // Used to find the parent resource to bind the IAM policy to Topic interface{} }
Input properties used for looking up and filtering TopicIAMBinding resources.
type TopicIAMMember ¶
type TopicIAMMember struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_topic_iam_member.html.markdown.
func GetTopicIAMMember ¶
func GetTopicIAMMember(ctx *pulumi.Context, name string, id pulumi.ID, state *TopicIAMMemberState, opts ...pulumi.ResourceOpt) (*TopicIAMMember, error)
GetTopicIAMMember gets an existing TopicIAMMember 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 NewTopicIAMMember ¶
func NewTopicIAMMember(ctx *pulumi.Context, name string, args *TopicIAMMemberArgs, opts ...pulumi.ResourceOpt) (*TopicIAMMember, error)
NewTopicIAMMember registers a new resource with the given unique name, arguments, and options.
func (*TopicIAMMember) Condition ¶ added in v1.6.0
func (r *TopicIAMMember) Condition() pulumi.Output
func (*TopicIAMMember) Etag ¶
func (r *TopicIAMMember) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (*TopicIAMMember) ID ¶
func (r *TopicIAMMember) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TopicIAMMember) Member ¶
func (r *TopicIAMMember) Member() pulumi.StringOutput
func (*TopicIAMMember) Project ¶
func (r *TopicIAMMember) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (*TopicIAMMember) Role ¶
func (r *TopicIAMMember) Role() pulumi.StringOutput
The role that should be applied. Only one `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*TopicIAMMember) Topic ¶
func (r *TopicIAMMember) Topic() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (*TopicIAMMember) URN ¶
func (r *TopicIAMMember) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type TopicIAMMemberArgs ¶
type TopicIAMMemberArgs struct { Condition interface{} Member interface{} // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // Used to find the parent resource to bind the IAM policy to Topic interface{} }
The set of arguments for constructing a TopicIAMMember resource.
type TopicIAMMemberState ¶
type TopicIAMMemberState struct { Condition interface{} // (Computed) The etag of the IAM policy. Etag interface{} Member interface{} // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project interface{} // The role that should be applied. Only one // `pubsub.TopicIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} // Used to find the parent resource to bind the IAM policy to Topic interface{} }
Input properties used for looking up and filtering TopicIAMMember resources.
type TopicIAMPolicy ¶
type TopicIAMPolicy struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/pubsub_topic_iam_policy.html.markdown.
func GetTopicIAMPolicy ¶
func GetTopicIAMPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *TopicIAMPolicyState, opts ...pulumi.ResourceOpt) (*TopicIAMPolicy, error)
GetTopicIAMPolicy gets an existing TopicIAMPolicy 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 NewTopicIAMPolicy ¶
func NewTopicIAMPolicy(ctx *pulumi.Context, name string, args *TopicIAMPolicyArgs, opts ...pulumi.ResourceOpt) (*TopicIAMPolicy, error)
NewTopicIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*TopicIAMPolicy) Etag ¶
func (r *TopicIAMPolicy) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (*TopicIAMPolicy) ID ¶
func (r *TopicIAMPolicy) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*TopicIAMPolicy) PolicyData ¶
func (r *TopicIAMPolicy) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (*TopicIAMPolicy) Project ¶
func (r *TopicIAMPolicy) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (*TopicIAMPolicy) Topic ¶
func (r *TopicIAMPolicy) Topic() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (*TopicIAMPolicy) URN ¶
func (r *TopicIAMPolicy) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type TopicIAMPolicyArgs ¶
type TopicIAMPolicyArgs struct { // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData interface{} // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project interface{} // Used to find the parent resource to bind the IAM policy to Topic interface{} }
The set of arguments for constructing a TopicIAMPolicy resource.
type TopicIAMPolicyState ¶
type TopicIAMPolicyState struct { // (Computed) The etag of the IAM policy. Etag interface{} // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData interface{} // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project interface{} // Used to find the parent resource to bind the IAM policy to Topic interface{} }
Input properties used for looking up and filtering TopicIAMPolicy resources.
type TopicState ¶
type TopicState struct { // The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. Your // project's PubSub service account ('service-{{PROJECT_NUMBER}}@gcp-sa-pubsub.iam.gserviceaccount.com') must have // 'roles/cloudkms.cryptoKeyEncrypterDecrypter' to use this feature. The expected format is // 'projects/*/locations/*/keyRings/*/cryptoKeys/*' KmsKeyName interface{} // A set of key/value label pairs to assign to this Topic. Labels interface{} // Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If // not present, then no constraints are in effect. MessageStoragePolicy interface{} // Name of the topic. Name interface{} // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project interface{} }
Input properties used for looking up and filtering Topic resources.