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 Summary
Modifier and TypeMethodDescriptionbuild()
snsRoleName
(String snsRoleName) The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.snsTopicArn
(String snsTopicArn) The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnNotificationChannel.Builder
.
-
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNotificationChannel>
- Returns:
- a newly built instance of
CfnNotificationChannel
.
-