Skip to content
v2.278.0

TargetAccountConfigurationReference Struct ​

A reference to a TargetAccountConfiguration resource.

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 interfaces_fis } from 'aws-cdk-lib/interfaces';
const targetAccountConfigurationReference: interfaces_fis.TargetAccountConfigurationReference = {
  accountId: 'accountId',
  experimentTemplateId: 'experimentTemplateId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_fis as interfaces_fis

target_account_configuration_reference = interfaces_fis.TargetAccountConfigurationReference(
    account_id="accountId",
    experiment_template_id="experimentTemplateId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.fis.*;

TargetAccountConfigurationReference targetAccountConfigurationReference = TargetAccountConfigurationReference.builder()
        .accountId("accountId")
        .experimentTemplateId("experimentTemplateId")
        .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.Interfaces.FIS;

var targetAccountConfigurationReference = new TargetAccountConfigurationReference {
    AccountId = "accountId",
    ExperimentTemplateId = "experimentTemplateId"
};
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"

targetAccountConfigurationReference := &TargetAccountConfigurationReference{
	AccountId: jsii.String("accountId"),
	ExperimentTemplateId: jsii.String("experimentTemplateId"),
}

Properties ​

accountIdstringaccount_idstraccountIdStringAccountIdstringAccountId*string required #
The AccountId of the TargetAccountConfiguration resource.
experimentTemplateIdstringexperiment_template_idstrexperimentTemplateIdStringExperimentTemplateIdstringExperimentTemplateId*string required #
The ExperimentTemplateId of the TargetAccountConfiguration resource.