Class CfnJobDefinition.MetadataProperty
Metadata about the Kubernetes pod.
Inheritance
System.Object
CfnJobDefinition.MetadataProperty
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MetadataProperty : Object, CfnJobDefinition.IMetadataProperty
Syntax (vb)
Public Class MetadataProperty
Inherits Object
Implements CfnJobDefinition.IMetadataProperty
Remarks
For more information, see Understanding Kubernetes Objects in the Kubernetes documentation .
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.Batch;
var labels;
var metadataProperty = new MetadataProperty {
Labels = labels
};
Synopsis
Constructors
MetadataProperty() |
Properties
Labels | Key-value pairs used to identify, sort, and organize cube resources. |
Constructors
MetadataProperty()
public MetadataProperty()
Properties
Labels
Key-value pairs used to identify, sort, and organize cube resources.
public object Labels { get; set; }
Property Value
System.Object
Remarks
Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.