interface CfnNotificationRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeStarNotifications.Mixins.CfnNotificationRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodestarnotifications/mixins#CfnNotificationRuleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.codestarnotifications.mixins.CfnNotificationRuleMixinProps |
Python | aws_cdk.mixins_preview.aws_codestarnotifications.mixins.CfnNotificationRuleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_codestarnotifications » mixins » CfnNotificationRuleMixinProps |
Properties for CfnNotificationRulePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codestarnotifications_mixins } from '@aws-cdk/mixins-preview/aws-codestarnotifications';
const cfnNotificationRuleMixinProps: codestarnotifications_mixins.CfnNotificationRuleMixinProps = {
createdBy: 'createdBy',
detailType: 'detailType',
eventTypeId: 'eventTypeId',
eventTypeIds: ['eventTypeIds'],
name: 'name',
resource: 'resource',
status: 'status',
tags: {
tagsKey: 'tags',
},
targetAddress: 'targetAddress',
targets: [{
targetAddress: 'targetAddress',
targetType: 'targetType',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| created | string | The name or email alias of the person who created the notification rule. |
| detail | string | The level of detail to include in the notifications for this resource. |
| event | string | The event type associated with this notification rule. |
| event | string[] | A list of event types associated with this notification rule. |
| name? | string | The name for the notification rule. |
| resource? | string | The Amazon Resource Name (ARN) of the resource to associate with the notification rule. |
| status? | string | The status of the notification rule. |
| tags? | { [string]: string } | A list of tags to apply to this notification rule. |
| target | string | The Amazon Resource Name (ARN) of the Amazon topic or client. |
| targets? | IResolvable | (IResolvable | Target)[] | A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule. |
createdBy?
Type:
string
(optional)
The name or email alias of the person who created the notification rule.
detailType?
Type:
string
(optional)
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.
eventTypeId?
Type:
string
(optional)
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 .
eventTypeIds?
Type:
string[]
(optional)
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 .
name?
Type:
string
(optional)
The name for the notification rule.
Notification rule names must be unique in your AWS account .
resource?
Type:
string
(optional)
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 .
status?
Type:
string
(optional)
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.
tags?
Type:
{ [string]: string }
(optional)
A list of tags to apply to this notification rule.
Key names cannot start with " aws ".
targetAddress?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the Amazon topic or client.
targets?
Type:
IResolvable | (IResolvable | Target)[]
(optional)
A list of Amazon Resource Names (ARNs) of Amazon topics and clients to associate with the notification rule.

.NET
Go
Java
Python
TypeScript