Class CfnLocationEFS
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.datasync.CfnLocationEFS
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-11-02T10:21:16.146Z")
@Stability(Stable)
public class CfnLocationEFS
extends CfnResource
implements IInspectable, ITaggable
The
AWS::DataSync::LocationEFS
resource creates an endpoint for an Amazon EFS file system.
AWS DataSync can access this endpoint as a source or destination location.
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.*; CfnLocationEFS cfnLocationEFS = CfnLocationEFS.Builder.create(this, "MyCfnLocationEFS") .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 TypeClassDescriptionstatic final class
A fluent builder forCfnLocationEFS
.static interface
The subnet and security groups that AWS DataSync uses to access your Amazon EFS file system.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnLocationEFS
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnLocationEFS
(software.amazon.jsii.JsiiObjectRef objRef) CfnLocationEFS
(software.constructs.Construct scope, String id, CfnLocationEFSProps props) -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.The Amazon Resource Name (ARN) of the Amazon EFS file system.The URI of the Amazon EFS file system.Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.Specifies the ARN for the Amazon EFS file system.Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.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.Specifies a mount path for your Amazon EFS file system.getTags()
Tag Manager which manages the tags for this resource.Specifies the key-value pair that represents a tag that you want to add to the resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAccessPointArn
(String value) Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.void
setEc2Config
(IResolvable value) Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.void
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.void
setEfsFilesystemArn
(String value) Specifies the ARN for the Amazon EFS file system.void
setFileSystemAccessRoleArn
(String value) Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.void
setInTransitEncryption
(String value) 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.void
setSubdirectory
(String value) Specifies a mount path for your Amazon EFS file system.void
setTagsRaw
(List<CfnTag> value) Specifies the key-value pair that represents a tag that you want to add to the resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLocationEFS
protected CfnLocationEFS(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationEFS
protected CfnLocationEFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationEFS
@Stability(Stable) public CfnLocationEFS(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocationEFSProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrLocationArn
The Amazon Resource Name (ARN) of the Amazon EFS file system. -
getAttrLocationUri
The URI of the Amazon EFS file system. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getEc2Config
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system. -
setEc2Config
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system. -
setEc2Config
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system. -
getAccessPointArn
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system. -
setAccessPointArn
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system. -
getEfsFilesystemArn
Specifies the ARN for the Amazon EFS file system. -
setEfsFilesystemArn
Specifies the ARN for the Amazon EFS file system. -
getFileSystemAccessRoleArn
Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system. -
setFileSystemAccessRoleArn
Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system. -
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. -
setInTransitEncryption
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. -
getSubdirectory
Specifies a mount path for your Amazon EFS file system. -
setSubdirectory
Specifies a mount path for your Amazon EFS file system. -
getTagsRaw
Specifies the key-value pair that represents a tag that you want to add to the resource. -
setTagsRaw
Specifies the key-value pair that represents a tag that you want to add to the resource.
-