aws-cdk-lib.aws_pipes.CfnPipe.EcsEnvironmentVariableProperty

interface EcsEnvironmentVariableProperty

LanguageType name
.NETAmazon.CDK.AWS.Pipes.CfnPipe.EcsEnvironmentVariableProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspipes#CfnPipe_EcsEnvironmentVariableProperty
Javasoftware.amazon.awscdk.services.pipes.CfnPipe.EcsEnvironmentVariableProperty
Pythonaws_cdk.aws_pipes.CfnPipe.EcsEnvironmentVariableProperty
TypeScript aws-cdk-lib » aws_pipes » CfnPipe » EcsEnvironmentVariableProperty

The environment variables to send to the container.

You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const ecsEnvironmentVariableProperty: pipes.CfnPipe.EcsEnvironmentVariableProperty = {
  name: 'name',
  value: 'value',
};

Properties

NameTypeDescription
name?stringThe name of the key-value pair.
value?stringThe value of the key-value pair.

name?

Type: string (optional)

The name of the key-value pair.

For environment variables, this is the name of the environment variable.


value?

Type: string (optional)

The value of the key-value pair.

For environment variables, this is the value of the environment variable.