public static interface CfnTaskDefinition.KeyValuePairProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ecs.*; KeyValuePairProperty keyValuePairProperty = KeyValuePairProperty.builder() .name("name") .value("value") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTaskDefinition.KeyValuePairProperty.Builder
A builder for
CfnTaskDefinition.KeyValuePairProperty |
static class |
CfnTaskDefinition.KeyValuePairProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.KeyValuePairProperty |
Modifier and Type | Method and Description |
---|---|
static CfnTaskDefinition.KeyValuePairProperty.Builder |
builder() |
default java.lang.String |
getName()
The name of the key-value pair.
|
default java.lang.String |
getValue()
The value of the key-value pair.
|
default java.lang.String getName()
For environment variables, this is the name of the environment variable.
default java.lang.String getValue()
For environment variables, this is the value of the environment variable.
static CfnTaskDefinition.KeyValuePairProperty.Builder builder()