# CredentialSpecConfig

Configuration for a credential specification (CredSpec) used for a ECS container.

- Source: [`aws-ecs/lib/credential-spec.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-ecs/lib/credential-spec.ts#L121)
- Type last changed: v2.129.0 · 21 Feb 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const credentialSpecConfig: ecs.CredentialSpecConfig = {
  location: 'location',
  typePrefix: 'typePrefix',
};
```

## Properties

- `location`: string (required) — Location of the CredSpec file.

- `typePrefix`: string (required) — Prefix used for the CredSpec string.
