Class CfnTaskDefinition.KeyValuePairProperty
A key-value pair object.
Inheritance
System.Object
CfnTaskDefinition.KeyValuePairProperty
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KeyValuePairProperty : Object, CfnTaskDefinition.IKeyValuePairProperty
Syntax (vb)
Public Class KeyValuePairProperty
Inherits Object
Implements CfnTaskDefinition.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
Constructors
KeyValuePairProperty() |
Properties
Name | The name of the key-value pair. |
Value | The value of the key-value pair. |
Constructors
KeyValuePairProperty()
public KeyValuePairProperty()
Properties
Name
The name of the key-value pair.
public string Name { get; set; }
Property Value
System.String
Remarks
For environment variables, this is the name of the environment variable.
Value
The value of the key-value pair.
public string Value { get; set; }
Property Value
System.String
Remarks
For environment variables, this is the value of the environment variable.