Interface CfnLocationEFSProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationEFSProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:14.293Z")
@Stability(Stable)
public interface CfnLocationEFSProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLocationEFS
.
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.datasync.*; CfnLocationEFSProps cfnLocationEFSProps = CfnLocationEFSProps.builder() .ec2Config(Ec2ConfigProperty.builder() .securityGroupArns(List.of("securityGroupArns")) .subnetArn("subnetArn") .build()) // the properties below are optional .accessPointArn("accessPointArn") .efsFilesystemArn("efsFilesystemArn") .fileSystemAccessRoleArn("fileSystemAccessRoleArn") .inTransitEncryption("inTransitEncryption") .subdirectory("subdirectory") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLocationEFSProps
static final class
An implementation forCfnLocationEFSProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnLocationEFSProps.Builder
builder()
default String
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.default String
Specifies the ARN for the Amazon EFS file system.default String
Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.default String
Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.default String
Specifies a mount path for your Amazon EFS file system.getTags()
Specifies the key-value pair that represents a tag that you want to add to the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEc2Config
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.- See Also:
-
getAccessPointArn
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.- See Also:
-
getEfsFilesystemArn
Specifies the ARN for the Amazon EFS file system.- See Also:
-
getFileSystemAccessRoleArn
Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.- See Also:
-
getInTransitEncryption
Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.If you specify an access point using
AccessPointArn
or an IAM role usingFileSystemAccessRoleArn
, you must set this parameter toTLS1_2
.- See Also:
-
getSubdirectory
Specifies a mount path for your Amazon EFS file system.This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.
You must specify a value with forward slashes (for example,
/path/to/folder
).- See Also:
-
getTags
Specifies the key-value pair that represents a tag that you want to add to the resource.The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.
- See Also:
-
builder
- Returns:
- a
CfnLocationEFSProps.Builder
ofCfnLocationEFSProps
-