NotificationRuleSourceConfig

class aws_cdk.aws_codestarnotifications.NotificationRuleSourceConfig(*, source_arn)

Bases: object

Information about the Codebuild or CodePipeline associated with a notification source.

Parameters:

source_arn (str) – The Amazon Resource Name (ARN) of the notification source.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codestarnotifications as codestarnotifications

notification_rule_source_config = codestarnotifications.NotificationRuleSourceConfig(
    source_arn="sourceArn"
)

Attributes

source_arn

The Amazon Resource Name (ARN) of the notification source.