Show / Hide Table of Contents

Interface CfnJobDefinition.IEksVolumeProperty

Specifies an Amazon EKS volume for a job definition.

Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnJobDefinition.IEksVolumeProperty
Syntax (vb)
Public Interface CfnJobDefinition.IEksVolumeProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html

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 eksVolumeProperty = new EksVolumeProperty {
                 Name = "name",

                 // the properties below are optional
                 EmptyDir = new EmptyDirProperty {
                     Medium = "medium",
                     SizeLimit = "sizeLimit"
                 },
                 HostPath = new HostPathProperty {
                     Path = "path"
                 },
                 PersistentVolumeClaim = new EksPersistentVolumeClaimProperty {
                     ClaimName = "claimName",

                     // the properties below are optional
                     ReadOnly = false
                 },
                 Secret = new EksSecretProperty {
                     SecretName = "secretName",

                     // the properties below are optional
                     Optional = false
                 }
             };

Synopsis

Properties

EmptyDir

Specifies the configuration of a Kubernetes emptyDir volume.

HostPath

Specifies the configuration of a Kubernetes hostPath volume.

Name

The name of the volume.

PersistentVolumeClaim

Specifies the configuration of a Kubernetes persistentVolumeClaim bounded to a persistentVolume .

Secret

Specifies the configuration of a Kubernetes secret volume.

Properties

EmptyDir

Specifies the configuration of a Kubernetes emptyDir volume.

object? EmptyDir { get; }
Property Value

object

Remarks

For more information, see emptyDir in the Kubernetes documentation .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-emptydir

Type union: either IResolvable or CfnJobDefinition.IEmptyDirProperty

HostPath

Specifies the configuration of a Kubernetes hostPath volume.

object? HostPath { get; }
Property Value

object

Remarks

For more information, see hostPath in the Kubernetes documentation .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-hostpath

Type union: either IResolvable or CfnJobDefinition.IHostPathProperty

Name

The name of the volume.

string Name { get; }
Property Value

string

Remarks

The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-name

PersistentVolumeClaim

Specifies the configuration of a Kubernetes persistentVolumeClaim bounded to a persistentVolume .

object? PersistentVolumeClaim { get; }
Property Value

object

Remarks

For more information, see Persistent Volume Claims in the Kubernetes documentation .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-persistentvolumeclaim

Type union: either IResolvable or CfnJobDefinition.IEksPersistentVolumeClaimProperty

Secret

Specifies the configuration of a Kubernetes secret volume.

object? Secret { get; }
Property Value

object

Remarks

For more information, see secret in the Kubernetes documentation .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksvolume.html#cfn-batch-jobdefinition-eksvolume-secret

Type union: either IResolvable or CfnJobDefinition.IEksSecretProperty

Back to top Generated by DocFX