NotificationRuleTargetConfig

class aws_cdk.aws_codestarnotifications.NotificationRuleTargetConfig(*, target_address, target_type)

Bases: object

Information about the SNS topic or AWS Chatbot client associated with a notification target.

Parameters:
  • target_address (str) – The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.

  • target_type (str) – The target type. Can be an Amazon SNS topic or AWS Chatbot client.

ExampleMetadata:

fixture=_generated

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_target_config = codestarnotifications.NotificationRuleTargetConfig(
    target_address="targetAddress",
    target_type="targetType"
)

Attributes

target_address

The Amazon Resource Name (ARN) of the Amazon SNS topic or AWS Chatbot client.

target_type

The target type.

Can be an Amazon SNS topic or AWS Chatbot client.