Class CfnAccountAuditConfiguration.AuditNotificationTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccountAuditConfiguration.AuditNotificationTargetProperty>
- Enclosing interface:
CfnAccountAuditConfiguration.AuditNotificationTargetProperty
@Stability(Stable)
public static final class CfnAccountAuditConfiguration.AuditNotificationTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccountAuditConfiguration.AuditNotificationTargetProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enabled
(IResolvable enabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnAccountAuditConfiguration.AuditNotificationTargetProperty.Builder enabled(Boolean enabled) - Parameters:
enabled
- True if notifications to the target are enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnAccountAuditConfiguration.AuditNotificationTargetProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled
- True if notifications to the target are enabled.- Returns:
this
-
roleArn
@Stability(Stable) public CfnAccountAuditConfiguration.AuditNotificationTargetProperty.Builder roleArn(String roleArn) - Parameters:
roleArn
- The ARN of the role that grants permission to send notifications to the target.- Returns:
this
-
targetArn
@Stability(Stable) public CfnAccountAuditConfiguration.AuditNotificationTargetProperty.Builder targetArn(String targetArn) - Parameters:
targetArn
- The ARN of the target (SNS topic) to which audit notifications are sent.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccountAuditConfiguration.AuditNotificationTargetProperty>
- Returns:
- a new instance of
CfnAccountAuditConfiguration.AuditNotificationTargetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-