Interface CfnTaskDefinition.KeyValuePairProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinition.KeyValuePairProperty.Jsii$Proxy
- Enclosing class:
CfnTaskDefinition
@Stability(Stable)
public static interface CfnTaskDefinition.KeyValuePairProperty
extends software.amazon.jsii.JsiiSerializable
A key-value pair object.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskDefinition.KeyValuePairPropertystatic final classAn implementation forCfnTaskDefinition.KeyValuePairProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the key-value pair.For environment variables, this is the name of the environment variable.
- See Also:
-
getValue
The value of the key-value pair.For environment variables, this is the value of the environment variable.
- See Also:
-
builder
-