@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.617Z") @Stability(value=Stable) public interface CfnNotificationRuleProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codestarnotifications.*;
Object tags;
CfnNotificationRuleProps cfnNotificationRuleProps = CfnNotificationRuleProps.builder()
.detailType("detailType")
.eventTypeIds(List.of("eventTypeIds"))
.name("name")
.resource("resource")
.targets(List.of(TargetProperty.builder()
.targetAddress("targetAddress")
.targetType("targetType")
.build()))
// the properties below are optional
.createdBy("createdBy")
.eventTypeId("eventTypeId")
.status("status")
.tags(tags)
.targetAddress("targetAddress")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnNotificationRuleProps.Builder
A builder for
CfnNotificationRuleProps |
static class |
CfnNotificationRuleProps.Jsii$Proxy
An implementation for
CfnNotificationRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnNotificationRuleProps.Builder |
builder() |
default String |
getCreatedBy()
`AWS::CodeStarNotifications::NotificationRule.CreatedBy`.
|
String |
getDetailType()
`AWS::CodeStarNotifications::NotificationRule.DetailType`.
|
default String |
getEventTypeId()
`AWS::CodeStarNotifications::NotificationRule.EventTypeId`.
|
List<String> |
getEventTypeIds()
`AWS::CodeStarNotifications::NotificationRule.EventTypeIds`.
|
String |
getName()
`AWS::CodeStarNotifications::NotificationRule.Name`.
|
String |
getResource()
`AWS::CodeStarNotifications::NotificationRule.Resource`.
|
default String |
getStatus()
`AWS::CodeStarNotifications::NotificationRule.Status`.
|
default Object |
getTags()
`AWS::CodeStarNotifications::NotificationRule.Tags`.
|
default String |
getTargetAddress()
`AWS::CodeStarNotifications::NotificationRule.TargetAddress`.
|
Object |
getTargets()
`AWS::CodeStarNotifications::NotificationRule.Targets`.
|
@Stability(value=Stable) @Nullable default String getCreatedBy()
@Stability(value=Stable) @NotNull String getDetailType()
@Stability(value=Stable) @Nullable default String getEventTypeId()
@Stability(value=Stable) @NotNull List<String> getEventTypeIds()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getResource()
@Stability(value=Stable) @Nullable default String getStatus()
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) @Nullable default String getTargetAddress()
@Stability(value=Stable) @NotNull Object getTargets()
@Stability(value=Stable) static CfnNotificationRuleProps.Builder builder()
CfnNotificationRuleProps.Builder of CfnNotificationRulePropsCopyright © 2021. All rights reserved.