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.

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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.

Return type

str