@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.871Z") @Stability(value=Stable) public class CfnLocationFSxWindows extends CfnResource implements IInspectable
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")
.fsxFilesystemArn("fsxFilesystemArn")
.password("password")
.securityGroupArns(List.of("securityGroupArns"))
.user("user")
// the properties below are optional
.domain("domain")
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnLocationFSxWindows.Builder
A fluent builder for
CfnLocationFSxWindows. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnLocationFSxWindows(software.constructs.Construct scope,
String id,
CfnLocationFSxWindowsProps props)
Create a new `AWS::DataSync::LocationFSxWindows`.
|
protected |
CfnLocationFSxWindows(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLocationFSxWindows(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrLocationArn()
The ARN of the specified FSx for Windows Server file system location.
|
String |
getAttrLocationUri()
The URI of the specified FSx for Windows Server file system location.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDomain()
The name of the Windows domain that the FSx for Windows File Server belongs to.
|
String |
getFsxFilesystemArn()
The Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
|
String |
getPassword()
The password of the user who has the permissions to access files and folders in the FSx for Windows File Server file system.
|
List<String> |
getSecurityGroupArns()
The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system.
|
String |
getSubdirectory()
A subdirectory in the location's path.
|
TagManager |
getTags()
The key-value pair that represents a tag that you want to add to the resource.
|
String |
getUser()
The user who has the permissions to access files and folders in the FSx for Windows File Server file system.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDomain(String value)
The name of the Windows domain that the FSx for Windows File Server belongs to.
|
void |
setFsxFilesystemArn(String value)
The Amazon Resource Name (ARN) for the FSx for Windows File Server file system.
|
void |
setPassword(String value)
The password of the user who has the permissions to access files and folders in the FSx for Windows File Server file system.
|
void |
setSecurityGroupArns(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.
|
void |
setSubdirectory(String value)
A subdirectory in the location's path.
|
void |
setUser(String value)
The user who has the permissions to access files and folders in the FSx for Windows File Server file system.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnLocationFSxWindows(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLocationFSxWindows(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnLocationFSxWindows(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnLocationFSxWindowsProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrLocationArn()
@Stability(value=Stable) @NotNull public String getAttrLocationUri()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
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.
@Stability(value=Stable) @NotNull public String getFsxFilesystemArn()
@Stability(value=Stable)
public void setFsxFilesystemArn(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getPassword()
@Stability(value=Stable)
public void setPassword(@NotNull
String value)
@Stability(value=Stable) @NotNull public List<String> getSecurityGroupArns()
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.
@Stability(value=Stable)
public void setSecurityGroupArns(@NotNull
List<String> value)
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.
@Stability(value=Stable) @NotNull public String getUser()
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .
@Stability(value=Stable)
public void setUser(@NotNull
String value)
For information about choosing a user name that ensures sufficient permissions to files, folders, and metadata, see user .
@Stability(value=Stable) @Nullable public String getDomain()
@Stability(value=Stable)
public void setDomain(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSubdirectory()
This subdirectory in the Amazon FSx for Windows File Server file system is used to read data from the Amazon FSx for Windows File Server source location or write data to the FSx for Windows File Server destination.
@Stability(value=Stable)
public void setSubdirectory(@Nullable
String value)
This subdirectory in the Amazon FSx for Windows File Server file system is used to read data from the Amazon FSx for Windows File Server source location or write data to the FSx for Windows File Server destination.
Copyright © 2022. All rights reserved.