We recommend new projects start with resources from the AWS provider.
aws-native.datasync.LocationNfs
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::DataSync::LocationNFS
Create LocationNfs Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LocationNfs(name: string, args: LocationNfsArgs, opts?: CustomResourceOptions);
@overload
def LocationNfs(resource_name: str,
args: LocationNfsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocationNfs(resource_name: str,
opts: Optional[ResourceOptions] = None,
on_prem_config: Optional[LocationNfsOnPremConfigArgs] = None,
mount_options: Optional[LocationNfsMountOptionsArgs] = None,
server_hostname: Optional[str] = None,
subdirectory: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewLocationNfs(ctx *Context, name string, args LocationNfsArgs, opts ...ResourceOption) (*LocationNfs, error)
public LocationNfs(string name, LocationNfsArgs args, CustomResourceOptions? opts = null)
public LocationNfs(String name, LocationNfsArgs args)
public LocationNfs(String name, LocationNfsArgs args, CustomResourceOptions options)
type: aws-native:datasync:LocationNfs
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 LocationNfsArgs
- 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 LocationNfsArgs
- 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 LocationNfsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LocationNfsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LocationNfsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
LocationNfs 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 LocationNfs resource accepts the following input properties:
- On
Prem Pulumi.Config Aws Native. Data Sync. Inputs. Location Nfs On Prem Config Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple DataSync agents .
- Mount
Options Pulumi.Aws Native. Data Sync. Inputs. Location Nfs Mount Options - Specifies the options that DataSync can use to mount your NFS file server.
- Server
Hostname string - The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- Subdirectory string
- The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- On
Prem LocationConfig Nfs On Prem Config Args Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple DataSync agents .
- Mount
Options LocationNfs Mount Options Args - Specifies the options that DataSync can use to mount your NFS file server.
- Server
Hostname string - The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- Subdirectory string
- The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
- Tag
Args - An array of key-value pairs to apply to this resource.
- on
Prem LocationConfig Nfs On Prem Config Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple DataSync agents .
- mount
Options LocationNfs Mount Options - Specifies the options that DataSync can use to mount your NFS file server.
- server
Hostname String - The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- subdirectory String
- The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- on
Prem LocationConfig Nfs On Prem Config Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple DataSync agents .
- mount
Options LocationNfs Mount Options - Specifies the options that DataSync can use to mount your NFS file server.
- server
Hostname string - The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- subdirectory string
- The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
- Tag[]
- An array of key-value pairs to apply to this resource.
- on_
prem_ Locationconfig Nfs On Prem Config Args Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple DataSync agents .
- mount_
options LocationNfs Mount Options Args - Specifies the options that DataSync can use to mount your NFS file server.
- server_
hostname str - The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- subdirectory str
- The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS destination.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- on
Prem Property MapConfig Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple DataSync agents .
- mount
Options Property Map - Specifies the options that DataSync can use to mount your NFS file server.
- server
Hostname String - The name of the NFS server. This value is the IP address or DNS name of the NFS server.
- subdirectory String
- The subdirectory in the NFS file system that is used to read data from the NFS source location or write data to the NFS 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 LocationNfs 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 NFS location.
- Location
Uri string - The URL of the NFS 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 NFS location.
- Location
Uri string - The URL of the NFS 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 NFS location.
- location
Uri String - The URL of the NFS 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 NFS location.
- location
Uri string - The URL of the NFS 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 NFS location.
- location_
uri str - The URL of the NFS 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 NFS location.
- location
Uri String - The URL of the NFS location that was described.
Supporting Types
LocationNfsMountOptions, LocationNfsMountOptionsArgs
- Version
Pulumi.
Aws Native. Data Sync. Location Nfs Mount Options Version - The specific NFS version that you want DataSync to use to mount your NFS share.
- Version
Location
Nfs Mount Options Version - The specific NFS version that you want DataSync to use to mount your NFS share.
- version
Location
Nfs Mount Options Version - The specific NFS version that you want DataSync to use to mount your NFS share.
- version
Location
Nfs Mount Options Version - The specific NFS version that you want DataSync to use to mount your NFS share.
- version
Location
Nfs Mount Options Version - The specific NFS version that you want DataSync to use to mount your NFS share.
- version "AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1"
- The specific NFS version that you want DataSync to use to mount your NFS share.
LocationNfsMountOptionsVersion, LocationNfsMountOptionsVersionArgs
- Automatic
- AUTOMATIC
- Nfs3
- NFS3
- Nfs40
- NFS4_0
- Nfs41
- NFS4_1
- Location
Nfs Mount Options Version Automatic - AUTOMATIC
- Location
Nfs Mount Options Version Nfs3 - NFS3
- Location
Nfs Mount Options Version Nfs40 - NFS4_0
- Location
Nfs Mount Options Version Nfs41 - NFS4_1
- Automatic
- AUTOMATIC
- Nfs3
- NFS3
- Nfs40
- NFS4_0
- Nfs41
- NFS4_1
- Automatic
- AUTOMATIC
- Nfs3
- NFS3
- Nfs40
- NFS4_0
- Nfs41
- NFS4_1
- AUTOMATIC
- AUTOMATIC
- NFS3
- NFS3
- NFS40
- NFS4_0
- NFS41
- NFS4_1
- "AUTOMATIC"
- AUTOMATIC
- "NFS3"
- NFS3
- "NFS4_0"
- NFS4_0
- "NFS4_1"
- NFS4_1
LocationNfsOnPremConfig, LocationNfsOnPremConfigArgs
- Agent
Arns List<string> - ARN(s) of the agent(s) to use for an NFS location.
- Agent
Arns []string - ARN(s) of the agent(s) to use for an NFS location.
- agent
Arns List<String> - ARN(s) of the agent(s) to use for an NFS location.
- agent
Arns string[] - ARN(s) of the agent(s) to use for an NFS location.
- agent_
arns Sequence[str] - ARN(s) of the agent(s) to use for an NFS location.
- agent
Arns List<String> - ARN(s) of the agent(s) to use for an NFS location.
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.