Skip to content
v2.277.0

EksContainerEnvironmentVariableProperty Struct ​

An environment variable.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const eksContainerEnvironmentVariableProperty: batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty = {
  name: 'name',

  // the properties below are optional
  value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch

eks_container_environment_variable_property = batch.CfnJobDefinition.EksContainerEnvironmentVariableProperty(
    name="name",

    # the properties below are optional
    value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;

EksContainerEnvironmentVariableProperty eksContainerEnvironmentVariableProperty = EksContainerEnvironmentVariableProperty.builder()
        .name("name")

        // the properties below are optional
        .value("value")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;

var eksContainerEnvironmentVariableProperty = new EksContainerEnvironmentVariableProperty {
    Name = "name",

    // the properties below are optional
    Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

eksContainerEnvironmentVariableProperty := &EksContainerEnvironmentVariableProperty{
	Name: jsii.String("name"),

	// the properties below are optional
	Value: jsii.String("value"),
}

Properties ​

namestringnamestrnameStringNamestringName*stringrequired#
The name of the environment variable.
valueoptionalstringvalueoptionalstrvalueoptionalStringValueoptionalstringValueoptional*string#
The value of the environment variable.