Class CfnNotificationChannel.Builder

java.lang.Object
software.amazon.awscdk.services.fms.CfnNotificationChannel.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationChannel>
Enclosing class:
CfnNotificationChannel

@Stability(Stable) public static final class CfnNotificationChannel.Builder extends Object implements software.amazon.jsii.Builder<CfnNotificationChannel>
A fluent builder for CfnNotificationChannel.
  • Method Details

    • create

      @Stability(Stable) public static CfnNotificationChannel.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnNotificationChannel.Builder.
    • snsRoleName

      @Stability(Stable) public CfnNotificationChannel.Builder snsRoleName(String snsRoleName)
      The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.

      Parameters:
      snsRoleName - The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity. This parameter is required.
      Returns:
      this
    • snsTopicArn

      @Stability(Stable) public CfnNotificationChannel.Builder snsTopicArn(String snsTopicArn)
      The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .

      Parameters:
      snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager . This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnNotificationChannel build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnNotificationChannel>
      Returns:
      a newly built instance of CfnNotificationChannel.