Interface CfnTaskPropsMixin.MountProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskPropsMixin.MountProperty.Jsii$Proxy
- Enclosing class:
CfnTaskPropsMixin
@Stability(Stable)
public static interface CfnTaskPropsMixin.MountProperty
extends software.amazon.jsii.JsiiSerializable
Attaches a data source to the container filesystem for a task at a customer-supplied relative path under the service-owned mount root.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.*;
MountProperty mountProperty = MountProperty.builder()
.name("name")
.relativePath("relativePath")
.source(MountSourceProperty.builder()
.s3AccessPoint(S3AccessPointSourceProperty.builder()
.accessPointArn("accessPointArn")
.prefix("prefix")
.build())
.build())
.storageType("storageType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskPropsMixin.MountPropertystatic final classAn implementation forCfnTaskPropsMixin.MountProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetName()A unique name for the mount within the task.default StringThe relative path under the service-owned mount root where this mount is attached inside the container.default ObjectThe data source configuration for a mount.default StringThe type of storage used for the mount inside the container.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
A unique name for the mount within the task.- See Also:
-
getRelativePath
The relative path under the service-owned mount root where this mount is attached inside the container.- See Also:
-
getSource
The data source configuration for a mount.Returns union: either
IResolvableorCfnTaskPropsMixin.MountSourceProperty- See Also:
-
getStorageType
The type of storage used for the mount inside the container.- See Also:
-
builder
-