# EnvironmentPlaceholderValues

Return the appropriate values for the environment placeholders.

Used as argument in: [EnvironmentPlaceholders.replace](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.cx_api.EnvironmentPlaceholders.html#replace)

- Source: [`cx-api/lib/legacy-moved.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/cx-api/lib/legacy-moved.ts#L770)
- Type last changed: v2.238.0 · 9 Feb 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `accountId`: string (required) — Return the account.

- `partition`: string (required) — Return the partition.

- `region`: string (required) — Return the region.
