Interface CfnTaskDefinition.IKeyValuePairProperty
A key-value pair object.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IKeyValuePairProperty
Syntax (vb)
Public Interface IKeyValuePairProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var keyValuePairProperty = new KeyValuePairProperty {
Name = "name",
Value = "value"
};
Synopsis
Properties
Name | The name of the key-value pair. |
Value | The value of the key-value pair. |
Properties
Name
The name of the key-value pair.
virtual string Name { get; }
Property Value
System.String
Remarks
For environment variables, this is the name of the environment variable.
Value
The value of the key-value pair.
virtual string Value { get; }
Property Value
System.String
Remarks
For environment variables, this is the value of the environment variable.