Skip to content
v2.277.0

EnvironmentPlaceholderValues Struct ​

Return the appropriate values for the environment placeholders.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cx_api } from 'aws-cdk-lib';
const environmentPlaceholderValues: cx_api.EnvironmentPlaceholderValues = {
  accountId: 'accountId',
  partition: 'partition',
  region: 'region',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import cx_api

environment_placeholder_values = cx_api.EnvironmentPlaceholderValues(
    account_id="accountId",
    partition="partition",
    region="region"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cxapi.*;

EnvironmentPlaceholderValues environmentPlaceholderValues = EnvironmentPlaceholderValues.builder()
        .accountId("accountId")
        .partition("partition")
        .region("region")
        .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.CXAPI;

var environmentPlaceholderValues = new EnvironmentPlaceholderValues {
    AccountId = "accountId",
    Partition = "partition",
    Region = "region"
};
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"

environmentPlaceholderValues := &EnvironmentPlaceholderValues{
	AccountId: jsii.String("accountId"),
	Partition: jsii.String("partition"),
	Region: jsii.String("region"),
}

Properties ​

accountIdstringaccount_idstraccountIdStringAccountIdstringAccountId*stringrequired#
Return the account.
partitionstringpartitionstrpartitionStringPartitionstringPartition*stringrequired#
Return the partition.
regionstringregionstrregionStringRegionstringRegion*stringrequired#
Return the region.