Class CfnLocationSMB
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.CfnLocationSMB
- All Implemented Interfaces:
IInspectable,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:06.828Z")
@Stability(Stable)
public class CfnLocationSMB
extends CfnResource
implements IInspectable, ITaggable
The
AWS::DataSync::LocationSMB resource specifies a Server Message Block (SMB) 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.*;
CfnLocationSMB cfnLocationSMB = CfnLocationSMB.Builder.create(this, "MyCfnLocationSMB")
.agentArns(List.of("agentArns"))
.user("user")
// the properties below are optional
.domain("domain")
.mountOptions(MountOptionsProperty.builder()
.version("version")
.build())
.password("password")
.serverHostname("serverHostname")
.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 forCfnLocationSMB.static interfaceSpecifies the version of the SMB protocol that DataSync uses to access your SMB file server.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.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLocationSMB(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationSMB(software.amazon.jsii.JsiiObjectRef objRef) CfnLocationSMB(software.constructs.Construct scope, String id, CfnLocationSMBProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Names (ARNs) of agents to use for a Server Message Block (SMB) location.The Amazon Resource Name (ARN) of the specified SMB file system.The URI of the specified SMB location.Specifies the name of the Active Directory domain that your SMB file server belongs to.Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination.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 can mount the share and has the permissions to access files and folders in the SMB share.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAgentArns(List<String> value) The Amazon Resource Names (ARNs) of agents to use for a Server Message Block (SMB) location.voidSpecifies the name of the Active Directory domain that your SMB file server belongs to.voidsetMountOptions(IResolvable value) Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.voidSpecifies the version of the SMB protocol that DataSync uses to access your SMB file server.voidsetPassword(String value) The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.voidsetServerHostname(String value) Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.voidsetSubdirectory(String value) The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination.voidsetTagsRaw(List<CfnTag> value) Specifies labels that help you categorize, filter, and search for your AWS resources.voidThe user who can mount the share and has the permissions to access files and folders in the SMB share.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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods 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.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLocationSMB
protected CfnLocationSMB(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationSMB
protected CfnLocationSMB(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationSMB
@Stability(Stable) public CfnLocationSMB(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocationSMBProps 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:
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.
-
getAttrLocationArn
The Amazon Resource Name (ARN) of the specified SMB file system. -
getAttrLocationUri
The URI of the specified SMB location. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getAgentArns
The Amazon Resource Names (ARNs) of agents to use for a Server Message Block (SMB) location. -
setAgentArns
The Amazon Resource Names (ARNs) of agents to use for a Server Message Block (SMB) location. -
getUser
The user who can mount the share and has the permissions to access files and folders in the SMB share. -
setUser
The user who can mount the share and has the permissions to access files and folders in the SMB share. -
getDomain
Specifies the name of the Active Directory domain that your SMB file server belongs to. -
setDomain
Specifies the name of the Active Directory domain that your SMB file server belongs to. -
getMountOptions
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server. -
setMountOptions
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server. -
setMountOptions
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server. -
getPassword
The password of the user who can mount the share and has the permissions to access files and folders in the SMB share. -
setPassword
The password of the user who can mount the share and has the permissions to access files and folders in the SMB share. -
getServerHostname
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount. -
setServerHostname
Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount. -
getSubdirectory
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. -
setSubdirectory
The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination. -
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.
-