aws-native.datasync.LocationNFS
Resource schema for AWS::DataSync::LocationNFS
Example Usage
Example
using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var locationNFS = new AwsNative.DataSync.LocationNFS("locationNFS", new()
{
MountOptions = new AwsNative.DataSync.Inputs.LocationNFSMountOptionsArgs
{
Version = AwsNative.DataSync.LocationNFSMountOptionsVersion.Nfs40,
},
OnPremConfig = new AwsNative.DataSync.Inputs.LocationNFSOnPremConfigArgs
{
AgentArns = new[]
{
"arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs",
},
},
ServerHostname = "MyServer@example.com",
Subdirectory = "/MySubdirectory",
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/datasync"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasync.NewLocationNFS(ctx, "locationNFS", &datasync.LocationNFSArgs{
MountOptions: &datasync.LocationNFSMountOptionsArgs{
Version: datasync.LocationNFSMountOptionsVersionNfs40,
},
OnPremConfig: &datasync.LocationNFSOnPremConfigArgs{
AgentArns: pulumi.StringArray{
pulumi.String("arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs"),
},
},
ServerHostname: pulumi.String("MyServer@example.com"),
Subdirectory: pulumi.String("/MySubdirectory"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
location_nfs = aws_native.datasync.LocationNFS("locationNFS",
mount_options=aws_native.datasync.LocationNFSMountOptionsArgs(
version=aws_native.datasync.LocationNFSMountOptionsVersion.NFS40,
),
on_prem_config=aws_native.datasync.LocationNFSOnPremConfigArgs(
agent_arns=["arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs"],
),
server_hostname="MyServer@example.com",
subdirectory="/MySubdirectory")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const locationNFS = new aws_native.datasync.LocationNFS("locationNFS", {
mountOptions: {
version: aws_native.datasync.LocationNFSMountOptionsVersion.Nfs40,
},
onPremConfig: {
agentArns: ["arn:aws:datasync:us-east-2:111222333444:agent/agent-0b0addbeef44b3nfs"],
},
serverHostname: "MyServer@example.com",
subdirectory: "/MySubdirectory",
});
Coming soon!
Create LocationNFS Resource
new LocationNFS(name: string, args: LocationNFSArgs, opts?: CustomResourceOptions);
@overload
def LocationNFS(resource_name: str,
opts: Optional[ResourceOptions] = None,
mount_options: Optional[LocationNFSMountOptionsArgs] = None,
on_prem_config: Optional[LocationNFSOnPremConfigArgs] = None,
server_hostname: Optional[str] = None,
subdirectory: Optional[str] = None,
tags: Optional[Sequence[LocationNFSTagArgs]] = None)
@overload
def LocationNFS(resource_name: str,
args: LocationNFSArgs,
opts: Optional[ResourceOptions] = 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.
- 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
The LocationNFS resource accepts the following input properties:
- On
Prem Pulumi.Config Aws Native. Data Sync. Inputs. Location NFSOn Prem Config Args - Mount
Options Pulumi.Aws Native. Data Sync. Inputs. Location NFSMount Options Args - 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. Data Sync. Inputs. Location NFSTag Args> An array of key-value pairs to apply to this resource.
- On
Prem LocationConfig NFSOn Prem Config Args - Mount
Options LocationNFSMount Options Args - 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.
- []Location
NFSTag Args An array of key-value pairs to apply to this resource.
- on
Prem LocationConfig NFSOn Prem Config Args - mount
Options LocationNFSMount Options Args - 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<Location
NFSTag Args> An array of key-value pairs to apply to this resource.
- on
Prem LocationConfig NFSOn Prem Config Args - mount
Options LocationNFSMount Options Args - 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.
- Location
NFSTag Args[] An array of key-value pairs to apply to this resource.
- on_
prem_ Locationconfig NFSOn Prem Config Args - mount_
options LocationNFSMount Options Args - 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[Location
NFSTag Args] An array of key-value pairs to apply to this resource.
- on
Prem Property MapConfig - mount
Options Property Map - 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
- Version
Pulumi.
Aws Native. Data Sync. Location NFSMount Options Version The specific NFS version that you want DataSync to use to mount your NFS share.
- Version
Location
NFSMount Options Version The specific NFS version that you want DataSync to use to mount your NFS share.
- version
Location
NFSMount Options Version The specific NFS version that you want DataSync to use to mount your NFS share.
- version
Location
NFSMount Options Version The specific NFS version that you want DataSync to use to mount your NFS share.
- version
Location
NFSMount 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
- Automatic
- AUTOMATIC
- Nfs3
- NFS3
- Nfs40
- NFS4_0
- Nfs41
- NFS4_1
- Location
NFSMount Options Version Automatic - AUTOMATIC
- Location
NFSMount Options Version Nfs3 - NFS3
- Location
NFSMount Options Version Nfs40 - NFS4_0
- Location
NFSMount 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
- 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.
LocationNFSTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0