interface EnvironmentFileConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.EnvironmentFileConfig |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#EnvironmentFileConfig |
Java | software.amazon.awscdk.services.ecs.EnvironmentFileConfig |
Python | aws_cdk.aws_ecs.EnvironmentFileConfig |
TypeScript (source) | aws-cdk-lib » aws_ecs » EnvironmentFileConfig |
Obtainable from
Asset
.bind()
, Environment
.bind()
, S3
.bind()
Configuration for the environment file.
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 environmentFileConfig: ecs.EnvironmentFileConfig = {
fileType: ecs.EnvironmentFileType.S3,
s3Location: {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
};
Properties
Name | Type | Description |
---|---|---|
file | Environment | The type of environment file. |
s3 | Location | The location of the environment file in S3. |
fileType
Type:
Environment
The type of environment file.
s3Location
Type:
Location
The location of the environment file in S3.