Class CfnNotificationRulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationRulePropsMixin>
- Enclosing class:
CfnNotificationRulePropsMixin
CfnNotificationRulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The name or email alias of the person who created the notification rule.detailType(String detailType) The level of detail to include in the notifications for this resource.eventTypeId(String eventTypeId) The event type associated with this notification rule.eventTypeIds(List<String> eventTypeIds) A list of event types associated with this notification rule.The name for the notification rule.The Amazon Resource Name (ARN) of the resource to associate with the notification rule.The status of the notification rule.A list of tags to apply to this notification rule.targetAddress(String targetAddress) The Amazon Resource Name (ARN) of the Amazon topic or client.A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule.targets(IResolvable targets) A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule.
-
Method Details
-
create
@Stability(Stable) public static CfnNotificationRulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnNotificationRulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnNotificationRulePropsMixin.Builder.
-
createdBy
The name or email alias of the person who created the notification rule.- Parameters:
createdBy- The name or email alias of the person who created the notification rule. This parameter is required.- Returns:
this- See Also:
-
detailType
The level of detail to include in the notifications for this resource.BASICwill include only the contents of the event as it would appear in Amazon CloudWatch.FULLwill include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.- Parameters:
detailType- The level of detail to include in the notifications for this resource. This parameter is required.- Returns:
this- See Also:
-
eventTypeId
The event type associated with this notification rule.For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide .
- Parameters:
eventTypeId- The event type associated with this notification rule. This parameter is required.- Returns:
this- See Also:
-
eventTypeIds
@Stability(Stable) public CfnNotificationRulePropsMixin.Builder eventTypeIds(List<String> eventTypeIds) A list of event types associated with this notification rule.For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide .
- Parameters:
eventTypeIds- A list of event types associated with this notification rule. This parameter is required.- Returns:
this- See Also:
-
name
The name for the notification rule.Notification rule names must be unique in your AWS account .
- Parameters:
name- The name for the notification rule. This parameter is required.- Returns:
this- See Also:
-
resource
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 .
- Parameters:
resource- The Amazon Resource Name (ARN) of the resource to associate with the notification rule. This parameter is required.- Returns:
this- See Also:
-
status
The status of the notification rule.The default value is
ENABLED. If the status is set toDISABLED, notifications aren't sent for the notification rule.- Parameters:
status- The status of the notification rule. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to apply to this notification rule.Key names cannot start with "
aws".- Parameters:
tags- A list of tags to apply to this notification rule. This parameter is required.- Returns:
this- See Also:
-
targetAddress
The Amazon Resource Name (ARN) of the Amazon topic or client.- Parameters:
targetAddress- The Amazon Resource Name (ARN) of the Amazon topic or client. This parameter is required.- Returns:
this- See Also:
-
targets
A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule.- Parameters:
targets- A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule. This parameter is required.- Returns:
this- See Also:
-
targets
@Stability(Stable) public CfnNotificationRulePropsMixin.Builder targets(List<? extends Object> targets) A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule.- Parameters:
targets- A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotificationRulePropsMixin>- Returns:
- a newly built instance of
CfnNotificationRulePropsMixin.
-