Class CfnJobDefinition.EksSecretProperty
Specifies the configuration of a Kubernetes secret
volume.
Inheritance
System.Object
CfnJobDefinition.EksSecretProperty
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EksSecretProperty : Object, CfnJobDefinition.IEksSecretProperty
Syntax (vb)
Public Class EksSecretProperty
Inherits Object
Implements CfnJobDefinition.IEksSecretProperty
Remarks
For more information, see secret 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 eksSecretProperty = new EksSecretProperty {
SecretName = "secretName",
// the properties below are optional
Optional = false
};
Synopsis
Constructors
EksSecretProperty() |
Properties
Optional | Specifies whether the secret or the secret's keys must be defined. |
SecretName | The name of the secret. |
Constructors
EksSecretProperty()
public EksSecretProperty()
Properties
Optional
Specifies whether the secret or the secret's keys must be defined.
public object Optional { get; set; }
Property Value
System.Object
Remarks
SecretName
The name of the secret.
public string SecretName { get; set; }
Property Value
System.String
Remarks
The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation .