Class CfnDaemonTaskDefinitionPropsMixin.KeyValuePairProperty
A key-value pair object.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ECS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDaemonTaskDefinitionPropsMixin.KeyValuePairProperty : CfnDaemonTaskDefinitionPropsMixin.IKeyValuePairProperty
Syntax (vb)
Public Class CfnDaemonTaskDefinitionPropsMixin.KeyValuePairProperty Implements CfnDaemonTaskDefinitionPropsMixin.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.CfnPropertyMixins.AWS.ECS;
var keyValuePairProperty = new KeyValuePairProperty {
Name = "name",
Value = "value"
};
Synopsis
Constructors
| KeyValuePairProperty() | A key-value pair object. |
Properties
| Name | The name of the key-value pair. |
| Value | The value of the key-value pair. |
Constructors
KeyValuePairProperty()
A key-value pair object.
public KeyValuePairProperty()
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.CfnPropertyMixins.AWS.ECS;
var keyValuePairProperty = new KeyValuePairProperty {
Name = "name",
Value = "value"
};
Properties
Name
The name of the key-value pair.
public string? Name { get; set; }
Property Value
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
Remarks
For environment variables, this is the value of the environment variable.