Interface CfnTask.MountProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTask.MountProperty.Jsii$Proxy
- Enclosing class:
CfnTask
@Stability(Stable)
public static interface CfnTask.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.services.iotsitewise.*;
MountProperty mountProperty = MountProperty.builder()
.name("name")
.relativePath("relativePath")
.source(MountSourceProperty.builder()
.s3AccessPoint(S3AccessPointSourceProperty.builder()
.accessPointArn("accessPointArn")
// the properties below are optional
.prefix("prefix")
.build())
.build())
.storageType("storageType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTask.MountPropertystatic final classAn implementation forCfnTask.MountProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getName()A unique name for the mount within the task.The relative path under the service-owned mount root where this mount is attached inside the container.The data source configuration for a mount.The 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
IResolvableorCfnTask.MountSourceProperty- See Also:
-
getStorageType
The type of storage used for the mount inside the container.- See Also:
-
builder
- Returns:
- a
CfnTask.MountProperty.BuilderofCfnTask.MountProperty
-