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:
- OnPrem 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 . 
- MountOptions Pulumi.Aws Native. Data Sync. Inputs. Location Nfs Mount Options 
- Specifies the options that DataSync can use to mount your NFS file server.
- ServerHostname 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.
- OnPrem 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 . 
- MountOptions LocationNfs Mount Options Args 
- Specifies the options that DataSync can use to mount your NFS file server.
- ServerHostname 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.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- onPrem 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 . 
- mountOptions LocationNfs Mount Options 
- Specifies the options that DataSync can use to mount your NFS file server.
- serverHostname 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.
- onPrem 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 . 
- mountOptions LocationNfs Mount Options 
- Specifies the options that DataSync can use to mount your NFS file server.
- serverHostname 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[TagArgs] 
- An array of key-value pairs to apply to this resource.
- onPrem 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 . 
- mountOptions Property Map
- Specifies the options that DataSync can use to mount your NFS file server.
- serverHostname 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.
- LocationArn string
- The Amazon Resource Name (ARN) of the NFS location.
- LocationUri string
- The URL of the NFS location that was described.
- Id string
- The provider-assigned unique ID for this managed resource.
- LocationArn string
- The Amazon Resource Name (ARN) of the NFS location.
- LocationUri string
- The URL of the NFS location that was described.
- id String
- The provider-assigned unique ID for this managed resource.
- locationArn String
- The Amazon Resource Name (ARN) of the NFS location.
- locationUri String
- The URL of the NFS location that was described.
- id string
- The provider-assigned unique ID for this managed resource.
- locationArn string
- The Amazon Resource Name (ARN) of the NFS location.
- locationUri 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.
- locationArn String
- The Amazon Resource Name (ARN) of the NFS location.
- locationUri 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
LocationNfs Mount Options Version 
- The specific NFS version that you want DataSync to use to mount your NFS share.
- version
LocationNfs Mount Options Version 
- The specific NFS version that you want DataSync to use to mount your NFS share.
- version
LocationNfs Mount Options Version 
- The specific NFS version that you want DataSync to use to mount your NFS share.
- version
LocationNfs 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
- LocationNfs Mount Options Version Automatic 
- AUTOMATIC
- LocationNfs Mount Options Version Nfs3 
- NFS3
- LocationNfs Mount Options Version Nfs40 
- NFS4_0
- LocationNfs 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          
- AgentArns List<string>
- ARN(s) of the agent(s) to use for an NFS location.
- AgentArns []string
- ARN(s) of the agent(s) to use for an NFS location.
- agentArns List<String>
- ARN(s) of the agent(s) to use for an NFS location.
- agentArns 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.
- agentArns 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.