CfnNotificationRuleProps

class aws_cdk.aws_codestarnotifications.CfnNotificationRuleProps(*, detail_type, event_type_ids, name, resource, targets, status=None, tags=None)

Bases: object

__init__(*, detail_type, event_type_ids, name, resource, targets, status=None, tags=None)

Properties for defining a AWS::CodeStarNotifications::NotificationRule.

Parameters
  • detail_type (str) – AWS::CodeStarNotifications::NotificationRule.DetailType.

  • event_type_ids (List[str]) – AWS::CodeStarNotifications::NotificationRule.EventTypeIds.

  • name (str) – AWS::CodeStarNotifications::NotificationRule.Name.

  • resource (str) – AWS::CodeStarNotifications::NotificationRule.Resource.

  • targets (Union[IResolvable, List[Union[TargetProperty, IResolvable]]]) – AWS::CodeStarNotifications::NotificationRule.Targets.

  • status (Optional[str]) – AWS::CodeStarNotifications::NotificationRule.Status.

  • tags (Optional[Any]) – AWS::CodeStarNotifications::NotificationRule.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html

Return type

None

Attributes

detail_type

AWS::CodeStarNotifications::NotificationRule.DetailType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-detailtype

Return type

str

event_type_ids

AWS::CodeStarNotifications::NotificationRule.EventTypeIds.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-eventtypeids

Return type

List[str]

name

AWS::CodeStarNotifications::NotificationRule.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-name

Return type

str

resource

AWS::CodeStarNotifications::NotificationRule.Resource.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-resource

Return type

str

status

AWS::CodeStarNotifications::NotificationRule.Status.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-status

Return type

Optional[str]

tags

AWS::CodeStarNotifications::NotificationRule.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-tags

Return type

Any

targets

AWS::CodeStarNotifications::NotificationRule.Targets.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarnotifications-notificationrule.html#cfn-codestarnotifications-notificationrule-targets

Return type

Union[IResolvable, List[Union[TargetProperty, IResolvable]]]