Class CfnTargetAccountConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.fis.CfnTargetAccountConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTargetAccountConfiguration>
- Enclosing class:
CfnTargetAccountConfiguration
@Stability(Stable)
public static final class CfnTargetAccountConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTargetAccountConfiguration>
A fluent builder for
CfnTargetAccountConfiguration
.-
Method Summary
Modifier and TypeMethodDescriptionThe AWS account ID of the target account.build()
description
(String description) The description of the target account.experimentTemplateId
(String experimentTemplateId) The ID of the experiment template.The Amazon Resource Name (ARN) of an IAM role for the target account.
-
Method Details
-
create
@Stability(Stable) public static CfnTargetAccountConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTargetAccountConfiguration.Builder
.
-
accountId
The AWS account ID of the target account.- Parameters:
accountId
- The AWS account ID of the target account. This parameter is required.- Returns:
this
- See Also:
-
experimentTemplateId
@Stability(Stable) public CfnTargetAccountConfiguration.Builder experimentTemplateId(String experimentTemplateId) The ID of the experiment template.- Parameters:
experimentTemplateId
- The ID of the experiment template. This parameter is required.- Returns:
this
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of an IAM role for the target account.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role for the target account. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the target account.- Parameters:
description
- The description of the target account. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTargetAccountConfiguration>
- Returns:
- a newly built instance of
CfnTargetAccountConfiguration
.
-