We recommend new projects start with resources from the AWS provider.
aws-native.datasync.LocationSmb
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::DataSync::LocationSMB.
Create LocationSmb Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LocationSmb(name: string, args: LocationSmbArgs, opts?: CustomResourceOptions);
@overload
def LocationSmb(resource_name: str,
args: LocationSmbArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocationSmb(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_arns: Optional[Sequence[str]] = None,
user: Optional[str] = None,
domain: Optional[str] = None,
mount_options: Optional[LocationSmbMountOptionsArgs] = None,
password: Optional[str] = None,
server_hostname: Optional[str] = None,
subdirectory: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewLocationSmb(ctx *Context, name string, args LocationSmbArgs, opts ...ResourceOption) (*LocationSmb, error)
public LocationSmb(string name, LocationSmbArgs args, CustomResourceOptions? opts = null)
public LocationSmb(String name, LocationSmbArgs args)
public LocationSmb(String name, LocationSmbArgs args, CustomResourceOptions options)
type: aws-native:datasync:LocationSmb
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LocationSmbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LocationSmbArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LocationSmbArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LocationSmbArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LocationSmbArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LocationSmb Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LocationSmb resource accepts the following input properties:
- Agent
Arns List<string> - The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
- User string
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
- Domain string
- The name of the Windows domain that the SMB server belongs to.
- Mount
Options Pulumi.Aws Native. Data Sync. Inputs. Location Smb Mount Options - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
- Password string
- The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
- Server
Hostname string - The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
- Subdirectory string
- 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
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Agent
Arns []string - The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
- User string
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
- Domain string
- The name of the Windows domain that the SMB server belongs to.
- Mount
Options LocationSmb Mount Options Args - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
- Password string
- The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
- Server
Hostname string - The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
- Subdirectory string
- 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
- Tag
Args - An array of key-value pairs to apply to this resource.
- agent
Arns List<String> - The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
- user String
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
- domain String
- The name of the Windows domain that the SMB server belongs to.
- mount
Options LocationSmb Mount Options - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
- password String
- The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
- server
Hostname String - The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
- subdirectory String
- 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
- List<Tag>
- An array of key-value pairs to apply to this resource.
- agent
Arns string[] - The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
- user string
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
- domain string
- The name of the Windows domain that the SMB server belongs to.
- mount
Options LocationSmb Mount Options - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
- password string
- The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
- server
Hostname string - The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
- subdirectory string
- 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
- Tag[]
- An array of key-value pairs to apply to this resource.
- agent_
arns Sequence[str] - The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
- user str
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
- domain str
- The name of the Windows domain that the SMB server belongs to.
- mount_
options LocationSmb Mount Options Args - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
- password str
- The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
- server_
hostname str - The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
- subdirectory str
- 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
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- agent
Arns List<String> - The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location.
- user String
- The user who can mount the share, has the permissions to access files and folders in the SMB share.
- domain String
- The name of the Windows domain that the SMB server belongs to.
- mount
Options Property Map - Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
- password String
- The password of the user who can mount the share and has the permissions to access files and folders in the SMB share.
- server
Hostname String - The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server.
- subdirectory String
- 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
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the LocationSmb resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Arn string - The Amazon Resource Name (ARN) of the SMB location that is created.
- Location
Uri string - The URL of the SMB location that was described.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location
Arn string - The Amazon Resource Name (ARN) of the SMB location that is created.
- Location
Uri string - The URL of the SMB location that was described.
- id String
- The provider-assigned unique ID for this managed resource.
- location
Arn String - The Amazon Resource Name (ARN) of the SMB location that is created.
- location
Uri String - The URL of the SMB location that was described.
- id string
- The provider-assigned unique ID for this managed resource.
- location
Arn string - The Amazon Resource Name (ARN) of the SMB location that is created.
- location
Uri string - The URL of the SMB location that was described.
- id str
- The provider-assigned unique ID for this managed resource.
- location_
arn str - The Amazon Resource Name (ARN) of the SMB location that is created.
- location_
uri str - The URL of the SMB location that was described.
- id String
- The provider-assigned unique ID for this managed resource.
- location
Arn String - The Amazon Resource Name (ARN) of the SMB location that is created.
- location
Uri String - The URL of the SMB location that was described.
Supporting Types
LocationSmbMountOptions, LocationSmbMountOptionsArgs
- Version
Pulumi.
Aws Native. Data Sync. Location Smb Mount Options Version - The specific SMB version that you want DataSync to use to mount your SMB share.
- Version
Location
Smb Mount Options Version - The specific SMB version that you want DataSync to use to mount your SMB share.
- version
Location
Smb Mount Options Version - The specific SMB version that you want DataSync to use to mount your SMB share.
- version
Location
Smb Mount Options Version - The specific SMB version that you want DataSync to use to mount your SMB share.
- version
Location
Smb Mount Options Version - The specific SMB version that you want DataSync to use to mount your SMB share.
- version "AUTOMATIC" | "SMB1" | "SMB2_0" | "SMB2" | "SMB3"
- The specific SMB version that you want DataSync to use to mount your SMB share.
LocationSmbMountOptionsVersion, LocationSmbMountOptionsVersionArgs
- Automatic
- AUTOMATIC
- Smb1
- SMB1
- Smb20
- SMB2_0
- Smb2
- SMB2
- Smb3
- SMB3
- Location
Smb Mount Options Version Automatic - AUTOMATIC
- Location
Smb Mount Options Version Smb1 - SMB1
- Location
Smb Mount Options Version Smb20 - SMB2_0
- Location
Smb Mount Options Version Smb2 - SMB2
- Location
Smb Mount Options Version Smb3 - SMB3
- Automatic
- AUTOMATIC
- Smb1
- SMB1
- Smb20
- SMB2_0
- Smb2
- SMB2
- Smb3
- SMB3
- Automatic
- AUTOMATIC
- Smb1
- SMB1
- Smb20
- SMB2_0
- Smb2
- SMB2
- Smb3
- SMB3
- AUTOMATIC
- AUTOMATIC
- SMB1
- SMB1
- SMB20
- SMB2_0
- SMB2
- SMB2
- SMB3
- SMB3
- "AUTOMATIC"
- AUTOMATIC
- "SMB1"
- SMB1
- "SMB2_0"
- SMB2_0
- "SMB2"
- SMB2
- "SMB3"
- SMB3
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.