Skip to content
v2.278.0

AwsAccountProperty Struct ​

The AWS account of the environment.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const awsAccountProperty: datazone.CfnProjectProfile.AwsAccountProperty = {
  awsAccountId: 'awsAccountId',
};
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_datazone as datazone

aws_account_property = datazone.CfnProjectProfile.AwsAccountProperty(
    aws_account_id="awsAccountId"
)
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.datazone.*;

AwsAccountProperty awsAccountProperty = AwsAccountProperty.builder()
        .awsAccountId("awsAccountId")
        .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.DataZone;

var awsAccountProperty = new AwsAccountProperty {
    AwsAccountId = "awsAccountId"
};
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"

awsAccountProperty := &AwsAccountProperty{
	AwsAccountId: jsii.String("awsAccountId"),
}

Properties ​

awsAccountIdstringaws_account_idstrawsAccountIdStringAwsAccountIdstringAwsAccountId*string required #
The account ID of a project.