Documentation
¶
Index ¶
- Constants
- type LookupNotificationRuleArgs
- type LookupNotificationRuleOutputArgs
- type LookupNotificationRuleResult
- type LookupNotificationRuleResultOutput
- func (o LookupNotificationRuleResultOutput) Arn() pulumi.StringPtrOutput
- func (o LookupNotificationRuleResultOutput) CreatedBy() pulumi.StringPtrOutput
- func (o LookupNotificationRuleResultOutput) DetailType() NotificationRuleDetailTypePtrOutput
- func (LookupNotificationRuleResultOutput) ElementType() reflect.Type
- func (o LookupNotificationRuleResultOutput) EventTypeIds() pulumi.StringArrayOutput
- func (o LookupNotificationRuleResultOutput) Name() pulumi.StringPtrOutput
- func (o LookupNotificationRuleResultOutput) Status() NotificationRuleStatusPtrOutput
- func (o LookupNotificationRuleResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupNotificationRuleResultOutput) Targets() NotificationRuleTargetArrayOutput
- func (o LookupNotificationRuleResultOutput) ToLookupNotificationRuleResultOutput() LookupNotificationRuleResultOutput
- func (o LookupNotificationRuleResultOutput) ToLookupNotificationRuleResultOutputWithContext(ctx context.Context) LookupNotificationRuleResultOutput
- type NotificationRule
- type NotificationRuleArgs
- type NotificationRuleDetailType
- func (NotificationRuleDetailType) ElementType() reflect.Type
- func (e NotificationRuleDetailType) ToNotificationRuleDetailTypeOutput() NotificationRuleDetailTypeOutput
- func (e NotificationRuleDetailType) ToNotificationRuleDetailTypeOutputWithContext(ctx context.Context) NotificationRuleDetailTypeOutput
- func (e NotificationRuleDetailType) ToNotificationRuleDetailTypePtrOutput() NotificationRuleDetailTypePtrOutput
- func (e NotificationRuleDetailType) ToNotificationRuleDetailTypePtrOutputWithContext(ctx context.Context) NotificationRuleDetailTypePtrOutput
- func (e NotificationRuleDetailType) ToStringOutput() pulumi.StringOutput
- func (e NotificationRuleDetailType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e NotificationRuleDetailType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e NotificationRuleDetailType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationRuleDetailTypeInput
- type NotificationRuleDetailTypeOutput
- func (NotificationRuleDetailTypeOutput) ElementType() reflect.Type
- func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypeOutput() NotificationRuleDetailTypeOutput
- func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypeOutputWithContext(ctx context.Context) NotificationRuleDetailTypeOutput
- func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypePtrOutput() NotificationRuleDetailTypePtrOutput
- func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypePtrOutputWithContext(ctx context.Context) NotificationRuleDetailTypePtrOutput
- func (o NotificationRuleDetailTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o NotificationRuleDetailTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o NotificationRuleDetailTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NotificationRuleDetailTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationRuleDetailTypePtrInput
- type NotificationRuleDetailTypePtrOutput
- func (o NotificationRuleDetailTypePtrOutput) Elem() NotificationRuleDetailTypeOutput
- func (NotificationRuleDetailTypePtrOutput) ElementType() reflect.Type
- func (o NotificationRuleDetailTypePtrOutput) ToNotificationRuleDetailTypePtrOutput() NotificationRuleDetailTypePtrOutput
- func (o NotificationRuleDetailTypePtrOutput) ToNotificationRuleDetailTypePtrOutputWithContext(ctx context.Context) NotificationRuleDetailTypePtrOutput
- func (o NotificationRuleDetailTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NotificationRuleDetailTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationRuleInput
- type NotificationRuleOutput
- func (o NotificationRuleOutput) Arn() pulumi.StringOutput
- func (o NotificationRuleOutput) CreatedBy() pulumi.StringPtrOutput
- func (o NotificationRuleOutput) DetailType() NotificationRuleDetailTypeOutput
- func (NotificationRuleOutput) ElementType() reflect.Type
- func (o NotificationRuleOutput) EventTypeId() pulumi.StringPtrOutput
- func (o NotificationRuleOutput) EventTypeIds() pulumi.StringArrayOutput
- func (o NotificationRuleOutput) Name() pulumi.StringOutput
- func (o NotificationRuleOutput) Resource() pulumi.StringOutput
- func (o NotificationRuleOutput) Status() NotificationRuleStatusPtrOutput
- func (o NotificationRuleOutput) Tags() pulumi.StringMapOutput
- func (o NotificationRuleOutput) TargetAddress() pulumi.StringPtrOutput
- func (o NotificationRuleOutput) Targets() NotificationRuleTargetArrayOutput
- func (o NotificationRuleOutput) ToNotificationRuleOutput() NotificationRuleOutput
- func (o NotificationRuleOutput) ToNotificationRuleOutputWithContext(ctx context.Context) NotificationRuleOutput
- type NotificationRuleState
- type NotificationRuleStatus
- func (NotificationRuleStatus) ElementType() reflect.Type
- func (e NotificationRuleStatus) ToNotificationRuleStatusOutput() NotificationRuleStatusOutput
- func (e NotificationRuleStatus) ToNotificationRuleStatusOutputWithContext(ctx context.Context) NotificationRuleStatusOutput
- func (e NotificationRuleStatus) ToNotificationRuleStatusPtrOutput() NotificationRuleStatusPtrOutput
- func (e NotificationRuleStatus) ToNotificationRuleStatusPtrOutputWithContext(ctx context.Context) NotificationRuleStatusPtrOutput
- func (e NotificationRuleStatus) ToStringOutput() pulumi.StringOutput
- func (e NotificationRuleStatus) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e NotificationRuleStatus) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e NotificationRuleStatus) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationRuleStatusInput
- type NotificationRuleStatusOutput
- func (NotificationRuleStatusOutput) ElementType() reflect.Type
- func (o NotificationRuleStatusOutput) ToNotificationRuleStatusOutput() NotificationRuleStatusOutput
- func (o NotificationRuleStatusOutput) ToNotificationRuleStatusOutputWithContext(ctx context.Context) NotificationRuleStatusOutput
- func (o NotificationRuleStatusOutput) ToNotificationRuleStatusPtrOutput() NotificationRuleStatusPtrOutput
- func (o NotificationRuleStatusOutput) ToNotificationRuleStatusPtrOutputWithContext(ctx context.Context) NotificationRuleStatusPtrOutput
- func (o NotificationRuleStatusOutput) ToStringOutput() pulumi.StringOutput
- func (o NotificationRuleStatusOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o NotificationRuleStatusOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NotificationRuleStatusOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationRuleStatusPtrInput
- type NotificationRuleStatusPtrOutput
- func (o NotificationRuleStatusPtrOutput) Elem() NotificationRuleStatusOutput
- func (NotificationRuleStatusPtrOutput) ElementType() reflect.Type
- func (o NotificationRuleStatusPtrOutput) ToNotificationRuleStatusPtrOutput() NotificationRuleStatusPtrOutput
- func (o NotificationRuleStatusPtrOutput) ToNotificationRuleStatusPtrOutputWithContext(ctx context.Context) NotificationRuleStatusPtrOutput
- func (o NotificationRuleStatusPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o NotificationRuleStatusPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type NotificationRuleTarget
- type NotificationRuleTargetArgs
- type NotificationRuleTargetArray
- func (NotificationRuleTargetArray) ElementType() reflect.Type
- func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
- func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
- type NotificationRuleTargetArrayInput
- type NotificationRuleTargetArrayOutput
- func (NotificationRuleTargetArrayOutput) ElementType() reflect.Type
- func (o NotificationRuleTargetArrayOutput) Index(i pulumi.IntInput) NotificationRuleTargetOutput
- func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
- func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
- type NotificationRuleTargetInput
- type NotificationRuleTargetOutput
- func (NotificationRuleTargetOutput) ElementType() reflect.Type
- func (o NotificationRuleTargetOutput) TargetAddress() pulumi.StringOutput
- func (o NotificationRuleTargetOutput) TargetType() pulumi.StringOutput
- func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutput() NotificationRuleTargetOutput
- func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutputWithContext(ctx context.Context) NotificationRuleTargetOutput
Constants ¶
const ( NotificationRuleDetailTypeBasic = NotificationRuleDetailType("BASIC") NotificationRuleDetailTypeFull = NotificationRuleDetailType("FULL") )
const ( NotificationRuleStatusEnabled = NotificationRuleStatus("ENABLED") NotificationRuleStatusDisabled = NotificationRuleStatus("DISABLED") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupNotificationRuleArgs ¶ added in v0.12.0
type LookupNotificationRuleArgs struct { // The Amazon Resource Name (ARN) of the notification rule. Arn string `pulumi:"arn"` }
type LookupNotificationRuleOutputArgs ¶ added in v0.12.0
type LookupNotificationRuleOutputArgs struct { // The Amazon Resource Name (ARN) of the notification rule. Arn pulumi.StringInput `pulumi:"arn"` }
func (LookupNotificationRuleOutputArgs) ElementType ¶ added in v0.12.0
func (LookupNotificationRuleOutputArgs) ElementType() reflect.Type
type LookupNotificationRuleResult ¶ added in v0.12.0
type LookupNotificationRuleResult struct { // The Amazon Resource Name (ARN) of the notification rule. Arn *string `pulumi:"arn"` // The name or email alias of the person who created the notification rule. CreatedBy *string `pulumi:"createdBy"` // The level of detail to include in the notifications for this resource. `BASIC` will include only the contents of the event as it would appear in Amazon CloudWatch. `FULL` will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. DetailType *NotificationRuleDetailType `pulumi:"detailType"` // A list of event types associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* . EventTypeIds []string `pulumi:"eventTypeIds"` // The name for the notification rule. Notification rule names must be unique in your AWS account . Name *string `pulumi:"name"` // The status of the notification rule. The default value is `ENABLED` . If the status is set to `DISABLED` , notifications aren't sent for the notification rule. Status *NotificationRuleStatus `pulumi:"status"` // A list of tags to apply to this notification rule. Key names cannot start with " `aws` ". Tags map[string]string `pulumi:"tags"` // A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule. Targets []NotificationRuleTarget `pulumi:"targets"` }
func LookupNotificationRule ¶ added in v0.12.0
func LookupNotificationRule(ctx *pulumi.Context, args *LookupNotificationRuleArgs, opts ...pulumi.InvokeOption) (*LookupNotificationRuleResult, error)
Resource Type definition for AWS::CodeStarNotifications::NotificationRule
type LookupNotificationRuleResultOutput ¶ added in v0.12.0
type LookupNotificationRuleResultOutput struct{ *pulumi.OutputState }
func LookupNotificationRuleOutput ¶ added in v0.12.0
func LookupNotificationRuleOutput(ctx *pulumi.Context, args LookupNotificationRuleOutputArgs, opts ...pulumi.InvokeOption) LookupNotificationRuleResultOutput
func (LookupNotificationRuleResultOutput) Arn ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) Arn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the notification rule.
func (LookupNotificationRuleResultOutput) CreatedBy ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) CreatedBy() pulumi.StringPtrOutput
The name or email alias of the person who created the notification rule.
func (LookupNotificationRuleResultOutput) DetailType ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) DetailType() NotificationRuleDetailTypePtrOutput
The level of detail to include in the notifications for this resource. `BASIC` will include only the contents of the event as it would appear in Amazon CloudWatch. `FULL` will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
func (LookupNotificationRuleResultOutput) ElementType ¶ added in v0.12.0
func (LookupNotificationRuleResultOutput) ElementType() reflect.Type
func (LookupNotificationRuleResultOutput) EventTypeIds ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) EventTypeIds() pulumi.StringArrayOutput
A list of event types associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* .
func (LookupNotificationRuleResultOutput) Name ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) Name() pulumi.StringPtrOutput
The name for the notification rule. Notification rule names must be unique in your AWS account .
func (LookupNotificationRuleResultOutput) Status ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) Status() NotificationRuleStatusPtrOutput
The status of the notification rule. The default value is `ENABLED` . If the status is set to `DISABLED` , notifications aren't sent for the notification rule.
func (LookupNotificationRuleResultOutput) Tags ¶ added in v0.38.0
func (o LookupNotificationRuleResultOutput) Tags() pulumi.StringMapOutput
A list of tags to apply to this notification rule. Key names cannot start with " `aws` ".
func (LookupNotificationRuleResultOutput) Targets ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) Targets() NotificationRuleTargetArrayOutput
A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
func (LookupNotificationRuleResultOutput) ToLookupNotificationRuleResultOutput ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) ToLookupNotificationRuleResultOutput() LookupNotificationRuleResultOutput
func (LookupNotificationRuleResultOutput) ToLookupNotificationRuleResultOutputWithContext ¶ added in v0.12.0
func (o LookupNotificationRuleResultOutput) ToLookupNotificationRuleResultOutputWithContext(ctx context.Context) LookupNotificationRuleResultOutput
type NotificationRule ¶
type NotificationRule struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the notification rule. Arn pulumi.StringOutput `pulumi:"arn"` // The name or email alias of the person who created the notification rule. CreatedBy pulumi.StringPtrOutput `pulumi:"createdBy"` // The level of detail to include in the notifications for this resource. `BASIC` will include only the contents of the event as it would appear in Amazon CloudWatch. `FULL` will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. DetailType NotificationRuleDetailTypeOutput `pulumi:"detailType"` // The event type associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* . EventTypeId pulumi.StringPtrOutput `pulumi:"eventTypeId"` // A list of event types associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* . EventTypeIds pulumi.StringArrayOutput `pulumi:"eventTypeIds"` // The name for the notification rule. Notification rule names must be unique in your AWS account . Name pulumi.StringOutput `pulumi:"name"` // The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild . Resource pulumi.StringOutput `pulumi:"resource"` // The status of the notification rule. The default value is `ENABLED` . If the status is set to `DISABLED` , notifications aren't sent for the notification rule. Status NotificationRuleStatusPtrOutput `pulumi:"status"` // A list of tags to apply to this notification rule. Key names cannot start with " `aws` ". Tags pulumi.StringMapOutput `pulumi:"tags"` // The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client. TargetAddress pulumi.StringPtrOutput `pulumi:"targetAddress"` // A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule. Targets NotificationRuleTargetArrayOutput `pulumi:"targets"` }
Resource Type definition for AWS::CodeStarNotifications::NotificationRule
func GetNotificationRule ¶
func GetNotificationRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationRuleState, opts ...pulumi.ResourceOption) (*NotificationRule, error)
GetNotificationRule gets an existing NotificationRule 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 NewNotificationRule ¶
func NewNotificationRule(ctx *pulumi.Context, name string, args *NotificationRuleArgs, opts ...pulumi.ResourceOption) (*NotificationRule, error)
NewNotificationRule registers a new resource with the given unique name, arguments, and options.
func (*NotificationRule) ElementType ¶
func (*NotificationRule) ElementType() reflect.Type
func (*NotificationRule) ToNotificationRuleOutput ¶
func (i *NotificationRule) ToNotificationRuleOutput() NotificationRuleOutput
func (*NotificationRule) ToNotificationRuleOutputWithContext ¶
func (i *NotificationRule) ToNotificationRuleOutputWithContext(ctx context.Context) NotificationRuleOutput
type NotificationRuleArgs ¶
type NotificationRuleArgs struct { // The name or email alias of the person who created the notification rule. CreatedBy pulumi.StringPtrInput // The level of detail to include in the notifications for this resource. `BASIC` will include only the contents of the event as it would appear in Amazon CloudWatch. `FULL` will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created. DetailType NotificationRuleDetailTypeInput // The event type associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* . EventTypeId pulumi.StringPtrInput // A list of event types associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* . EventTypeIds pulumi.StringArrayInput // The name for the notification rule. Notification rule names must be unique in your AWS account . Name pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild . Resource pulumi.StringInput // The status of the notification rule. The default value is `ENABLED` . If the status is set to `DISABLED` , notifications aren't sent for the notification rule. Status NotificationRuleStatusPtrInput // A list of tags to apply to this notification rule. Key names cannot start with " `aws` ". Tags pulumi.StringMapInput // The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client. TargetAddress pulumi.StringPtrInput // A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule. Targets NotificationRuleTargetArrayInput }
The set of arguments for constructing a NotificationRule resource.
func (NotificationRuleArgs) ElementType ¶
func (NotificationRuleArgs) ElementType() reflect.Type
type NotificationRuleDetailType ¶
type NotificationRuleDetailType string
The level of detail to include in the notifications for this resource. `BASIC` will include only the contents of the event as it would appear in Amazon CloudWatch. `FULL` will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
func (NotificationRuleDetailType) ElementType ¶
func (NotificationRuleDetailType) ElementType() reflect.Type
func (NotificationRuleDetailType) ToNotificationRuleDetailTypeOutput ¶
func (e NotificationRuleDetailType) ToNotificationRuleDetailTypeOutput() NotificationRuleDetailTypeOutput
func (NotificationRuleDetailType) ToNotificationRuleDetailTypeOutputWithContext ¶
func (e NotificationRuleDetailType) ToNotificationRuleDetailTypeOutputWithContext(ctx context.Context) NotificationRuleDetailTypeOutput
func (NotificationRuleDetailType) ToNotificationRuleDetailTypePtrOutput ¶
func (e NotificationRuleDetailType) ToNotificationRuleDetailTypePtrOutput() NotificationRuleDetailTypePtrOutput
func (NotificationRuleDetailType) ToNotificationRuleDetailTypePtrOutputWithContext ¶
func (e NotificationRuleDetailType) ToNotificationRuleDetailTypePtrOutputWithContext(ctx context.Context) NotificationRuleDetailTypePtrOutput
func (NotificationRuleDetailType) ToStringOutput ¶
func (e NotificationRuleDetailType) ToStringOutput() pulumi.StringOutput
func (NotificationRuleDetailType) ToStringOutputWithContext ¶
func (e NotificationRuleDetailType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (NotificationRuleDetailType) ToStringPtrOutput ¶
func (e NotificationRuleDetailType) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationRuleDetailType) ToStringPtrOutputWithContext ¶
func (e NotificationRuleDetailType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationRuleDetailTypeInput ¶
type NotificationRuleDetailTypeInput interface { pulumi.Input ToNotificationRuleDetailTypeOutput() NotificationRuleDetailTypeOutput ToNotificationRuleDetailTypeOutputWithContext(context.Context) NotificationRuleDetailTypeOutput }
NotificationRuleDetailTypeInput is an input type that accepts values of the NotificationRuleDetailType enum A concrete instance of `NotificationRuleDetailTypeInput` can be one of the following:
NotificationRuleDetailTypeBasic NotificationRuleDetailTypeFull
type NotificationRuleDetailTypeOutput ¶
type NotificationRuleDetailTypeOutput struct{ *pulumi.OutputState }
func (NotificationRuleDetailTypeOutput) ElementType ¶
func (NotificationRuleDetailTypeOutput) ElementType() reflect.Type
func (NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypeOutput ¶
func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypeOutput() NotificationRuleDetailTypeOutput
func (NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypeOutputWithContext ¶
func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypeOutputWithContext(ctx context.Context) NotificationRuleDetailTypeOutput
func (NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypePtrOutput ¶
func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypePtrOutput() NotificationRuleDetailTypePtrOutput
func (NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypePtrOutputWithContext ¶
func (o NotificationRuleDetailTypeOutput) ToNotificationRuleDetailTypePtrOutputWithContext(ctx context.Context) NotificationRuleDetailTypePtrOutput
func (NotificationRuleDetailTypeOutput) ToStringOutput ¶
func (o NotificationRuleDetailTypeOutput) ToStringOutput() pulumi.StringOutput
func (NotificationRuleDetailTypeOutput) ToStringOutputWithContext ¶
func (o NotificationRuleDetailTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (NotificationRuleDetailTypeOutput) ToStringPtrOutput ¶
func (o NotificationRuleDetailTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationRuleDetailTypeOutput) ToStringPtrOutputWithContext ¶
func (o NotificationRuleDetailTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationRuleDetailTypePtrInput ¶
type NotificationRuleDetailTypePtrInput interface { pulumi.Input ToNotificationRuleDetailTypePtrOutput() NotificationRuleDetailTypePtrOutput ToNotificationRuleDetailTypePtrOutputWithContext(context.Context) NotificationRuleDetailTypePtrOutput }
func NotificationRuleDetailTypePtr ¶
func NotificationRuleDetailTypePtr(v string) NotificationRuleDetailTypePtrInput
type NotificationRuleDetailTypePtrOutput ¶
type NotificationRuleDetailTypePtrOutput struct{ *pulumi.OutputState }
func (NotificationRuleDetailTypePtrOutput) Elem ¶
func (o NotificationRuleDetailTypePtrOutput) Elem() NotificationRuleDetailTypeOutput
func (NotificationRuleDetailTypePtrOutput) ElementType ¶
func (NotificationRuleDetailTypePtrOutput) ElementType() reflect.Type
func (NotificationRuleDetailTypePtrOutput) ToNotificationRuleDetailTypePtrOutput ¶
func (o NotificationRuleDetailTypePtrOutput) ToNotificationRuleDetailTypePtrOutput() NotificationRuleDetailTypePtrOutput
func (NotificationRuleDetailTypePtrOutput) ToNotificationRuleDetailTypePtrOutputWithContext ¶
func (o NotificationRuleDetailTypePtrOutput) ToNotificationRuleDetailTypePtrOutputWithContext(ctx context.Context) NotificationRuleDetailTypePtrOutput
func (NotificationRuleDetailTypePtrOutput) ToStringPtrOutput ¶
func (o NotificationRuleDetailTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationRuleDetailTypePtrOutput) ToStringPtrOutputWithContext ¶
func (o NotificationRuleDetailTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationRuleInput ¶
type NotificationRuleInput interface { pulumi.Input ToNotificationRuleOutput() NotificationRuleOutput ToNotificationRuleOutputWithContext(ctx context.Context) NotificationRuleOutput }
type NotificationRuleOutput ¶
type NotificationRuleOutput struct{ *pulumi.OutputState }
func (NotificationRuleOutput) Arn ¶ added in v0.17.0
func (o NotificationRuleOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the notification rule.
func (NotificationRuleOutput) CreatedBy ¶ added in v0.17.0
func (o NotificationRuleOutput) CreatedBy() pulumi.StringPtrOutput
The name or email alias of the person who created the notification rule.
func (NotificationRuleOutput) DetailType ¶ added in v0.17.0
func (o NotificationRuleOutput) DetailType() NotificationRuleDetailTypeOutput
The level of detail to include in the notifications for this resource. `BASIC` will include only the contents of the event as it would appear in Amazon CloudWatch. `FULL` will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
func (NotificationRuleOutput) ElementType ¶
func (NotificationRuleOutput) ElementType() reflect.Type
func (NotificationRuleOutput) EventTypeId ¶ added in v0.17.0
func (o NotificationRuleOutput) EventTypeId() pulumi.StringPtrOutput
The event type associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* .
func (NotificationRuleOutput) EventTypeIds ¶ added in v0.17.0
func (o NotificationRuleOutput) EventTypeIds() pulumi.StringArrayOutput
A list of event types associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api) in the *Developer Tools Console User Guide* .
func (NotificationRuleOutput) Name ¶ added in v0.17.0
func (o NotificationRuleOutput) Name() pulumi.StringOutput
The name for the notification rule. Notification rule names must be unique in your AWS account .
func (NotificationRuleOutput) Resource ¶ added in v0.17.0
func (o NotificationRuleOutput) Resource() pulumi.StringOutput
The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .
func (NotificationRuleOutput) Status ¶ added in v0.17.0
func (o NotificationRuleOutput) Status() NotificationRuleStatusPtrOutput
The status of the notification rule. The default value is `ENABLED` . If the status is set to `DISABLED` , notifications aren't sent for the notification rule.
func (NotificationRuleOutput) Tags ¶ added in v0.17.0
func (o NotificationRuleOutput) Tags() pulumi.StringMapOutput
A list of tags to apply to this notification rule. Key names cannot start with " `aws` ".
func (NotificationRuleOutput) TargetAddress ¶ added in v0.17.0
func (o NotificationRuleOutput) TargetAddress() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.
func (NotificationRuleOutput) Targets ¶ added in v0.17.0
func (o NotificationRuleOutput) Targets() NotificationRuleTargetArrayOutput
A list of Amazon Resource Names (ARNs) of Amazon SNS topics and AWS Chatbot clients to associate with the notification rule.
func (NotificationRuleOutput) ToNotificationRuleOutput ¶
func (o NotificationRuleOutput) ToNotificationRuleOutput() NotificationRuleOutput
func (NotificationRuleOutput) ToNotificationRuleOutputWithContext ¶
func (o NotificationRuleOutput) ToNotificationRuleOutputWithContext(ctx context.Context) NotificationRuleOutput
type NotificationRuleState ¶
type NotificationRuleState struct { }
func (NotificationRuleState) ElementType ¶
func (NotificationRuleState) ElementType() reflect.Type
type NotificationRuleStatus ¶
type NotificationRuleStatus string
The status of the notification rule. The default value is `ENABLED` . If the status is set to `DISABLED` , notifications aren't sent for the notification rule.
func (NotificationRuleStatus) ElementType ¶
func (NotificationRuleStatus) ElementType() reflect.Type
func (NotificationRuleStatus) ToNotificationRuleStatusOutput ¶
func (e NotificationRuleStatus) ToNotificationRuleStatusOutput() NotificationRuleStatusOutput
func (NotificationRuleStatus) ToNotificationRuleStatusOutputWithContext ¶
func (e NotificationRuleStatus) ToNotificationRuleStatusOutputWithContext(ctx context.Context) NotificationRuleStatusOutput
func (NotificationRuleStatus) ToNotificationRuleStatusPtrOutput ¶
func (e NotificationRuleStatus) ToNotificationRuleStatusPtrOutput() NotificationRuleStatusPtrOutput
func (NotificationRuleStatus) ToNotificationRuleStatusPtrOutputWithContext ¶
func (e NotificationRuleStatus) ToNotificationRuleStatusPtrOutputWithContext(ctx context.Context) NotificationRuleStatusPtrOutput
func (NotificationRuleStatus) ToStringOutput ¶
func (e NotificationRuleStatus) ToStringOutput() pulumi.StringOutput
func (NotificationRuleStatus) ToStringOutputWithContext ¶
func (e NotificationRuleStatus) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (NotificationRuleStatus) ToStringPtrOutput ¶
func (e NotificationRuleStatus) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationRuleStatus) ToStringPtrOutputWithContext ¶
func (e NotificationRuleStatus) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationRuleStatusInput ¶
type NotificationRuleStatusInput interface { pulumi.Input ToNotificationRuleStatusOutput() NotificationRuleStatusOutput ToNotificationRuleStatusOutputWithContext(context.Context) NotificationRuleStatusOutput }
NotificationRuleStatusInput is an input type that accepts values of the NotificationRuleStatus enum A concrete instance of `NotificationRuleStatusInput` can be one of the following:
NotificationRuleStatusEnabled NotificationRuleStatusDisabled
type NotificationRuleStatusOutput ¶
type NotificationRuleStatusOutput struct{ *pulumi.OutputState }
func (NotificationRuleStatusOutput) ElementType ¶
func (NotificationRuleStatusOutput) ElementType() reflect.Type
func (NotificationRuleStatusOutput) ToNotificationRuleStatusOutput ¶
func (o NotificationRuleStatusOutput) ToNotificationRuleStatusOutput() NotificationRuleStatusOutput
func (NotificationRuleStatusOutput) ToNotificationRuleStatusOutputWithContext ¶
func (o NotificationRuleStatusOutput) ToNotificationRuleStatusOutputWithContext(ctx context.Context) NotificationRuleStatusOutput
func (NotificationRuleStatusOutput) ToNotificationRuleStatusPtrOutput ¶
func (o NotificationRuleStatusOutput) ToNotificationRuleStatusPtrOutput() NotificationRuleStatusPtrOutput
func (NotificationRuleStatusOutput) ToNotificationRuleStatusPtrOutputWithContext ¶
func (o NotificationRuleStatusOutput) ToNotificationRuleStatusPtrOutputWithContext(ctx context.Context) NotificationRuleStatusPtrOutput
func (NotificationRuleStatusOutput) ToStringOutput ¶
func (o NotificationRuleStatusOutput) ToStringOutput() pulumi.StringOutput
func (NotificationRuleStatusOutput) ToStringOutputWithContext ¶
func (o NotificationRuleStatusOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (NotificationRuleStatusOutput) ToStringPtrOutput ¶
func (o NotificationRuleStatusOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationRuleStatusOutput) ToStringPtrOutputWithContext ¶
func (o NotificationRuleStatusOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationRuleStatusPtrInput ¶
type NotificationRuleStatusPtrInput interface { pulumi.Input ToNotificationRuleStatusPtrOutput() NotificationRuleStatusPtrOutput ToNotificationRuleStatusPtrOutputWithContext(context.Context) NotificationRuleStatusPtrOutput }
func NotificationRuleStatusPtr ¶
func NotificationRuleStatusPtr(v string) NotificationRuleStatusPtrInput
type NotificationRuleStatusPtrOutput ¶
type NotificationRuleStatusPtrOutput struct{ *pulumi.OutputState }
func (NotificationRuleStatusPtrOutput) Elem ¶
func (o NotificationRuleStatusPtrOutput) Elem() NotificationRuleStatusOutput
func (NotificationRuleStatusPtrOutput) ElementType ¶
func (NotificationRuleStatusPtrOutput) ElementType() reflect.Type
func (NotificationRuleStatusPtrOutput) ToNotificationRuleStatusPtrOutput ¶
func (o NotificationRuleStatusPtrOutput) ToNotificationRuleStatusPtrOutput() NotificationRuleStatusPtrOutput
func (NotificationRuleStatusPtrOutput) ToNotificationRuleStatusPtrOutputWithContext ¶
func (o NotificationRuleStatusPtrOutput) ToNotificationRuleStatusPtrOutputWithContext(ctx context.Context) NotificationRuleStatusPtrOutput
func (NotificationRuleStatusPtrOutput) ToStringPtrOutput ¶
func (o NotificationRuleStatusPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (NotificationRuleStatusPtrOutput) ToStringPtrOutputWithContext ¶
func (o NotificationRuleStatusPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type NotificationRuleTarget ¶
type NotificationRuleTarget struct { // The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client. TargetAddress string `pulumi:"targetAddress"` // The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client. // // - Amazon Simple Notification Service topics are specified as `SNS` . // - AWS Chatbot clients are specified as `AWSChatbotSlack` . // - AWS Chatbot clients for Microsoft Teams are specified as `AWSChatbotMicrosoftTeams` . TargetType string `pulumi:"targetType"` }
type NotificationRuleTargetArgs ¶
type NotificationRuleTargetArgs struct { // The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client. TargetAddress pulumi.StringInput `pulumi:"targetAddress"` // The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client. // // - Amazon Simple Notification Service topics are specified as `SNS` . // - AWS Chatbot clients are specified as `AWSChatbotSlack` . // - AWS Chatbot clients for Microsoft Teams are specified as `AWSChatbotMicrosoftTeams` . TargetType pulumi.StringInput `pulumi:"targetType"` }
func (NotificationRuleTargetArgs) ElementType ¶
func (NotificationRuleTargetArgs) ElementType() reflect.Type
func (NotificationRuleTargetArgs) ToNotificationRuleTargetOutput ¶
func (i NotificationRuleTargetArgs) ToNotificationRuleTargetOutput() NotificationRuleTargetOutput
func (NotificationRuleTargetArgs) ToNotificationRuleTargetOutputWithContext ¶
func (i NotificationRuleTargetArgs) ToNotificationRuleTargetOutputWithContext(ctx context.Context) NotificationRuleTargetOutput
type NotificationRuleTargetArray ¶
type NotificationRuleTargetArray []NotificationRuleTargetInput
func (NotificationRuleTargetArray) ElementType ¶
func (NotificationRuleTargetArray) ElementType() reflect.Type
func (NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutput ¶
func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
func (NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutputWithContext ¶
func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
type NotificationRuleTargetArrayInput ¶
type NotificationRuleTargetArrayInput interface { pulumi.Input ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput ToNotificationRuleTargetArrayOutputWithContext(context.Context) NotificationRuleTargetArrayOutput }
NotificationRuleTargetArrayInput is an input type that accepts NotificationRuleTargetArray and NotificationRuleTargetArrayOutput values. You can construct a concrete instance of `NotificationRuleTargetArrayInput` via:
NotificationRuleTargetArray{ NotificationRuleTargetArgs{...} }
type NotificationRuleTargetArrayOutput ¶
type NotificationRuleTargetArrayOutput struct{ *pulumi.OutputState }
func (NotificationRuleTargetArrayOutput) ElementType ¶
func (NotificationRuleTargetArrayOutput) ElementType() reflect.Type
func (NotificationRuleTargetArrayOutput) Index ¶
func (o NotificationRuleTargetArrayOutput) Index(i pulumi.IntInput) NotificationRuleTargetOutput
func (NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutput ¶
func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
func (NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutputWithContext ¶
func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
type NotificationRuleTargetInput ¶
type NotificationRuleTargetInput interface { pulumi.Input ToNotificationRuleTargetOutput() NotificationRuleTargetOutput ToNotificationRuleTargetOutputWithContext(context.Context) NotificationRuleTargetOutput }
NotificationRuleTargetInput is an input type that accepts NotificationRuleTargetArgs and NotificationRuleTargetOutput values. You can construct a concrete instance of `NotificationRuleTargetInput` via:
NotificationRuleTargetArgs{...}
type NotificationRuleTargetOutput ¶
type NotificationRuleTargetOutput struct{ *pulumi.OutputState }
func (NotificationRuleTargetOutput) ElementType ¶
func (NotificationRuleTargetOutput) ElementType() reflect.Type
func (NotificationRuleTargetOutput) TargetAddress ¶
func (o NotificationRuleTargetOutput) TargetAddress() pulumi.StringOutput
The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client.
func (NotificationRuleTargetOutput) TargetType ¶
func (o NotificationRuleTargetOutput) TargetType() pulumi.StringOutput
The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client.
- Amazon Simple Notification Service topics are specified as `SNS` . - AWS Chatbot clients are specified as `AWSChatbotSlack` . - AWS Chatbot clients for Microsoft Teams are specified as `AWSChatbotMicrosoftTeams` .
func (NotificationRuleTargetOutput) ToNotificationRuleTargetOutput ¶
func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutput() NotificationRuleTargetOutput
func (NotificationRuleTargetOutput) ToNotificationRuleTargetOutputWithContext ¶
func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutputWithContext(ctx context.Context) NotificationRuleTargetOutput