CfnTargetAccountConfigurationProps Struct
Properties for defining a CfnTargetAccountConfiguration.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fis as fis } from 'aws-cdk-lib';
const cfnTargetAccountConfigurationProps: fis.CfnTargetAccountConfigurationProps = {
accountId: 'accountId',
experimentTemplateId: 'experimentTemplateId',
roleArn: 'roleArn',
// the properties below are optional
description: 'description',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fis as fis
cfn_target_account_configuration_props = fis.CfnTargetAccountConfigurationProps(
account_id="accountId",
experiment_template_id="experimentTemplateId",
role_arn="roleArn",
# the properties below are optional
description="description"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fis.*;
CfnTargetAccountConfigurationProps cfnTargetAccountConfigurationProps = CfnTargetAccountConfigurationProps.builder()
.accountId("accountId")
.experimentTemplateId("experimentTemplateId")
.roleArn("roleArn")
// the properties below are optional
.description("description")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FIS;
var cfnTargetAccountConfigurationProps = new CfnTargetAccountConfigurationProps {
AccountId = "accountId",
ExperimentTemplateId = "experimentTemplateId",
RoleArn = "roleArn",
// the properties below are optional
Description = "description"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTargetAccountConfigurationProps := &CfnTargetAccountConfigurationProps{
AccountId: jsii.String("accountId"),
ExperimentTemplateId: jsii.String("experimentTemplateId"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
Description: jsii.String("description"),
}
Properties
The AWS account ID of the target account.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the target account.
experimentTemplateIdstringexperiment_template_idstrexperimentTemplateIdStringExperimentTemplateIdstringExperimentTemplateId*string required #The ID of the experiment template.
The Amazon Resource Name (ARN) of an IAM role for the target account.