Skip to content
v2.274.0

CredentialSpecConfig Struct ​

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

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 ​

locationstringlocationstrlocationStringLocationstringLocation*stringrequired#
Location of the CredSpec file.
typePrefixstringtype_prefixstrtypePrefixStringTypePrefixstringTypePrefix*stringrequired#
Prefix used for the CredSpec string.