Show / Hide Table of Contents

Interface CfnTaskDefinition.IVolumeFromProperty

Details on a data volume from another container in the same task definition.

Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTaskDefinition.IVolumeFromProperty
Syntax (vb)
Public Interface CfnTaskDefinition.IVolumeFromProperty
Remarks

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

             var volumeFromProperty = new VolumeFromProperty {
                 ReadOnly = false,
                 SourceContainer = "sourceContainer"
             };

Synopsis

Properties

ReadOnly

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

SourceContainer

The name of another container within the same task definition to mount volumes from.

Properties

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-volumefrom.html#cfn-ecs-taskdefinition-volumefrom-readonly

Type union: either bool or IResolvable

SourceContainer

The name of another container within the same task definition to mount volumes from.

string? SourceContainer { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX