@Stability(value=Stable) public static final class CfnNotificationRule.Builder extends Object implements software.amazon.jsii.Builder<CfnNotificationRule>
CfnNotificationRule.| Modifier and Type | Method and Description |
|---|---|
CfnNotificationRule |
build() |
static CfnNotificationRule.Builder |
create(software.constructs.Construct scope,
String id) |
CfnNotificationRule.Builder |
createdBy(String createdBy)
`AWS::CodeStarNotifications::NotificationRule.CreatedBy`.
|
CfnNotificationRule.Builder |
detailType(String detailType)
The level of detail to include in the notifications for this resource.
|
CfnNotificationRule.Builder |
eventTypeId(String eventTypeId)
`AWS::CodeStarNotifications::NotificationRule.EventTypeId`.
|
CfnNotificationRule.Builder |
eventTypeIds(List<String> eventTypeIds)
A list of event types associated with this notification rule.
|
CfnNotificationRule.Builder |
name(String name)
The name for the notification rule.
|
CfnNotificationRule.Builder |
resource(String resource)
The Amazon Resource Name (ARN) of the resource to associate with the notification rule.
|
CfnNotificationRule.Builder |
status(String status)
The status of the notification rule.
|
CfnNotificationRule.Builder |
tags(Object tags)
A list of tags to apply to this notification rule.
|
CfnNotificationRule.Builder |
targetAddress(String targetAddress)
`AWS::CodeStarNotifications::NotificationRule.TargetAddress`.
|
CfnNotificationRule.Builder |
targets(IResolvable targets)
A list of Amazon Resource Names (ARNs) of AWS Chatbot topics and AWS Chatbot clients to associate with the notification rule.
|
CfnNotificationRule.Builder |
targets(List<? extends Object> targets)
A list of Amazon Resource Names (ARNs) of AWS Chatbot topics and AWS Chatbot clients to associate with the notification rule.
|
@Stability(value=Stable) public static CfnNotificationRule.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnNotificationRule.TargetProperty.Builder.@Stability(value=Stable) public CfnNotificationRule.Builder detailType(String detailType)
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 - The level of detail to include in the notifications for this resource. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder eventTypeIds(List<String> eventTypeIds)
For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide .
eventTypeIds - A list of event types associated with this notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder name(String name)
Notification rule names must be unique in your AWS account .
name - The name for the notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder resource(String resource)
Supported resources include pipelines in AWS CodePipeline , repositories in AWS CodeCommit , and build projects in AWS CodeBuild .
resource - The Amazon Resource Name (ARN) of the resource to associate with the notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder targets(IResolvable targets)
targets - A list of Amazon Resource Names (ARNs) of AWS Chatbot topics and AWS Chatbot clients to associate with the notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder targets(List<? extends Object> targets)
targets - A list of Amazon Resource Names (ARNs) of AWS Chatbot topics and AWS Chatbot clients to associate with the notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder createdBy(String createdBy)
createdBy - `AWS::CodeStarNotifications::NotificationRule.CreatedBy`. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder eventTypeId(String eventTypeId)
eventTypeId - `AWS::CodeStarNotifications::NotificationRule.EventTypeId`. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder status(String status)
The default value is ENABLED . If the status is set to DISABLED , notifications aren't sent for the notification rule.
status - The status of the notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder tags(Object tags)
Key names cannot start with " aws ".
tags - A list of tags to apply to this notification rule. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule.Builder targetAddress(String targetAddress)
targetAddress - `AWS::CodeStarNotifications::NotificationRule.TargetAddress`. This parameter is required.this@Stability(value=Stable) public CfnNotificationRule build()
build in interface software.amazon.jsii.Builder<CfnNotificationRule>Copyright © 2022. All rights reserved.