Class CfnLocationFSxWindows
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.CfnLocationFSxWindows
- All Implemented Interfaces:
IInspectable,ILocationFSxWindowsRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-27T13:11:57.304Z")
@Stability(Stable)
public class CfnLocationFSxWindows
extends CfnResource
implements IInspectable, ILocationFSxWindowsRef, ITaggable
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
.cmkSecretConfig(CmkSecretConfigProperty.builder()
.kmsKeyArn("kmsKeyArn")
.secretArn("secretArn")
.build())
.customSecretConfig(CustomSecretConfigProperty.builder()
.secretAccessRoleArn("secretAccessRoleArn")
.secretArn("secretArn")
.build())
.domain("domain")
.fsxFilesystemArn("fsxFilesystemArn")
.password("password")
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnLocationFSxWindows.static interfaceSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.static interfaceSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.static interfaceSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.datasync.ILocationFSxWindowsRef
ILocationFSxWindowsRef.Jsii$Default, ILocationFSxWindowsRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLocationFSxWindows(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationFSxWindows(software.amazon.jsii.JsiiObjectRef objRef) CfnLocationFSxWindows(software.constructs.Construct scope, String id, CfnLocationFSxWindowsProps props) Create a newAWS::DataSync::LocationFSxWindows. -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the ARN for an AWS Secrets Manager secret, managed by DataSync.The ARN of the specified FSx for Windows Server file system location.The URI of the specified FSx for Windows Server file system location.Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location.Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.Specifies the name of the Windows domain that the FSx for Windows File Server file system belongs to.Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server file system.A reference to a LocationFSxWindows resource.Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server 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()Tag Manager which manages the tags for this resource.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.static BooleanChecks whether the given object is a CfnLocationFSxWindows.renderProperties(Map<String, Object> props) voidsetCmkSecretConfig(IResolvable value) Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.voidSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.voidsetCustomSecretConfig(IResolvable value) Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.voidSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.voidSpecifies the name of the Windows domain that the FSx for Windows File Server file system 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 with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server 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.voidsetTagsRaw(List<CfnTag> value) Specifies labels that help you categorize, filter, and search for your AWS resources.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.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocationFSxWindowsProps props) Create a newAWS::DataSync::LocationFSxWindows.- 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
-
isCfnLocationFSxWindows
Checks whether the given object is a CfnLocationFSxWindows.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCmkSecretConfigSecretArn
Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync. -
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. -
getAttrManagedSecretConfig
Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location.DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLocationFSxWindowsRef
A reference to a LocationFSxWindows resource.- Specified by:
getLocationFSxWindowsRefin interfaceILocationFSxWindowsRef
-
getTags
Tag Manager which manages the tags for this resource. -
getSecurityGroupArns
The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system. -
setSecurityGroupArns
The Amazon Resource Names (ARNs) of the security groups that are used to configure the FSx for Windows File Server file system. -
getUser
The user who has the permissions to access files and folders in the FSx for Windows File Server file system. -
setUser
The user who has the permissions to access files and folders in the FSx for Windows File Server file system. -
getCmkSecretConfig
Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.Returns union: either
IResolvableorCfnLocationFSxWindows.CmkSecretConfigProperty -
setCmkSecretConfig
Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key. -
setCmkSecretConfig
@Stability(Stable) public void setCmkSecretConfig(@Nullable CfnLocationFSxWindows.CmkSecretConfigProperty value) Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key. -
getCustomSecretConfig
Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.Returns union: either
IResolvableorCfnLocationFSxWindows.CustomSecretConfigProperty -
setCustomSecretConfig
Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret. -
setCustomSecretConfig
@Stability(Stable) public void setCustomSecretConfig(@Nullable CfnLocationFSxWindows.CustomSecretConfigProperty value) Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret. -
getDomain
Specifies the name of the Windows domain that the FSx for Windows File Server file system belongs to. -
setDomain
Specifies the name of the Windows domain that the FSx for Windows File Server file system 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 with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system. -
setPassword
Specifies the password of the user with the permissions to mount and access the files, folders, and file metadata in your FSx for Windows File Server file system. -
getSubdirectory
Specifies a mount path for your file system using forward slashes. -
setSubdirectory
Specifies a mount path for your file system using forward slashes. -
getTagsRaw
Specifies labels that help you categorize, filter, and search for your AWS resources. -
setTagsRaw
Specifies labels that help you categorize, filter, and search for your AWS resources.
-