Show / Hide Table of Contents

Interface CfnTaskDefinitionPropsMixin.IMountPointProperty

The details for a volume mount point that's used in a container definition.

Namespace: Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnTaskDefinitionPropsMixin.IMountPointProperty
Syntax (vb)
Public Interface CfnTaskDefinitionPropsMixin.IMountPointProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-mountpoint.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.Mixins.Preview.AWS.ECS.Mixins;

             var mountPointProperty = new MountPointProperty {
                 ContainerPath = "containerPath",
                 ReadOnly = false,
                 SourceVolume = "sourceVolume"
             };

Synopsis

Properties

ContainerPath

The path on the container to mount the host volume at.

ReadOnly

If this value is true , the container has read-only access to the volume.

SourceVolume

The name of the volume to mount.

Properties

ContainerPath

The path on the container to mount the host volume at.

string? ContainerPath { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-mountpoint.html#cfn-ecs-taskdefinition-mountpoint-containerpath

ReadOnly

If this value is true , the container has read-only access to the volume.

object? ReadOnly { get; }
Property Value

object

Remarks

If this value is false , then the container can write to the volume. The default value is false .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-mountpoint.html#cfn-ecs-taskdefinition-mountpoint-readonly

Type union: either bool or IResolvable

SourceVolume

The name of the volume to mount.

string? SourceVolume { get; }
Property Value

string

Remarks

Must be a volume name referenced in the name parameter of task definition volume .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-mountpoint.html#cfn-ecs-taskdefinition-mountpoint-sourcevolume

Back to top Generated by DocFX