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.103.1 (build bef2dea)",
date="2024-10-10T18:25:21.248Z")
@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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnLocationSMB
.static interface
Specifies 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.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
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnLocationSMB
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnLocationSMB
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAgentArns
(List<String> value) The Amazon Resource Names (ARNs) of agents to use for a Server Message Block (SMB) location.void
Specifies the name of the Active Directory domain that your SMB file server belongs to.void
setMountOptions
(IResolvable value) Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.void
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.void
setPassword
(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.void
setServerHostname
(String value) Specifies the Domain Name Service (DNS) name or IP address of the SMB file server that your DataSync agent will mount.void
setSubdirectory
(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.void
setTagsRaw
(List<CfnTag> value) Specifies labels that help you categorize, filter, and search for your AWS resources.void
The 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, 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
-
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:
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 specified SMB file system. -
getAttrLocationUri
The URI of the specified SMB location. -
getCfnProperties
- Overrides:
getCfnProperties
in 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.
-