interface CredentialSpecConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.CredentialSpecConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#CredentialSpecConfig |
Java | software.amazon.awscdk.services.ecs.CredentialSpecConfig |
Python | aws_cdk.aws_ecs.CredentialSpecConfig |
TypeScript (source) | aws-cdk-lib » aws_ecs » CredentialSpecConfig |
Obtainable from
Credential
.bind()
Configuration for a credential specification (CredSpec) used for a ECS container.
Example
// 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
Name | Type | Description |
---|---|---|
location | string | Location of the CredSpec file. |
type | string | Prefix used for the CredSpec string. |
location
Type:
string
Location of the CredSpec file.
typePrefix
Type:
string
Prefix used for the CredSpec string.