# SecretVersionInfo

Specify the secret's version id or version stage.

- Source: [`aws-batch/lib/ecs-container-definition.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-batch/lib/ecs-container-definition.ts#L25)
- Type last changed: v2.96.0 · 13 Sep 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const secretVersionInfo: batch.SecretVersionInfo = {
  versionId: 'versionId',
  versionStage: 'versionStage',
};
```

## Properties

- `versionId`: string — version id of the secret.

  **Default:** use default version id

- `versionStage`: string — version stage of the secret.

  **Default:** use default version stage
