Class CfnLocationFSxWindows
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::DataSync::LocationFSxWindows.
The AWS::DataSync::LocationFSxWindows resource specifies an endpoint for an Amazon FSx for Windows Server file system.
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.*;
CfnLocationFSxWindows cfnLocationFSxWindows = CfnLocationFSxWindows.Builder.create(this, "MyCfnLocationFSxWindows")
.securityGroupArns(List.of("securityGroupArns"))
.user("user")
// the properties below are optional
.domain("domain")
.fsxFilesystemArn("fsxFilesystemArn")
.password("password")
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnLocationFSxWindows(Construct scope, String id, CfnLocationFSxWindowsProps props) Create a newAWS::DataSync::LocationFSxWindows.protectedCfnLocationFSxWindows(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationFSxWindows(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the specified FSx for Windows Server file system location.The URI of the specified FSx for Windows Server file system location.Specifies the name of the Windows domain that the FSx for Windows File Server belongs to.Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.Specifies the password of the user who has the permissions to access files and folders in the file system.The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.Specifies a mount path for your file system using forward slashes.getTags()Specifies labels that help you categorize, filter, and search for your AWS resources.getUser()The user who has the permissions to access files and folders in the FSx for Windows File Server file system.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidSpecifies the name of the Windows domain that the FSx for Windows File Server belongs to.voidsetFsxFilesystemArn(String value) Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.voidsetPassword(String value) Specifies the password of the user who has the permissions to access files and folders in the file system.voidsetSecurityGroupArns(List<String> value) The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.voidsetSubdirectory(String value) Specifies a mount path for your file system using forward slashes.voidThe user who has the permissions to access files and folders in the FSx for Windows File Server file system.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
CfnLocationFSxWindows
protected CfnLocationFSxWindows(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationFSxWindows
protected CfnLocationFSxWindows(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationFSxWindows
@Stability(Stable) public CfnLocationFSxWindows(@NotNull Construct scope, @NotNull String id, @NotNull CfnLocationFSxWindowsProps props) Create a newAWS::DataSync::LocationFSxWindows.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrLocationArn
The ARN of the specified FSx for Windows Server file system location. -
getAttrLocationUri
The URI of the specified FSx for Windows Server file system location. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Specifies labels that help you categorize, filter, and search for your AWS resources.We recommend creating at least a name tag for your location.
-
getSecurityGroupArns
The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.Pattern :
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$Length constraints : Maximum length of 128.
-
setSecurityGroupArns
The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.Pattern :
^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$Length constraints : Maximum length of 128.
-
getUser
The user who has the permissions to access files and folders in the FSx for Windows File Server file system.For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .
-
setUser
The user who has the permissions to access files and folders in the FSx for Windows File Server file system.For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .
-
getDomain
Specifies the name of the Windows domain that the FSx for Windows File Server belongs to. -
setDomain
Specifies the name of the Windows domain that the FSx for Windows File Server belongs to. -
getFsxFilesystemArn
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system. -
setFsxFilesystemArn
Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system. -
getPassword
Specifies the password of the user who has the permissions to access files and folders in the file system. -
setPassword
Specifies the password of the user who has the permissions to access files and folders in the file system. -
getSubdirectory
Specifies a mount path for your file system using forward slashes.This is where DataSync reads or writes data (depending on if this is a source or destination location).
-
setSubdirectory
Specifies a mount path for your file system using forward slashes.This is where DataSync reads or writes data (depending on if this is a source or destination location).
-