AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

LocationEFS

Resource schema for AWS::DataSync::LocationEFS.

Example Usage

Example

using Pulumi;
using AwsNative = Pulumi.AwsNative;

class MyStack : Stack
{
    public MyStack()
    {
        var locationEFS = new AwsNative.DataSync.LocationEFS("locationEFS", new AwsNative.DataSync.LocationEFSArgs
        {
            Ec2Config = new AwsNative.DataSync.Inputs.LocationEFSEc2ConfigArgs
            {
                SecurityGroupArns = 
                {
                    "arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f",
                },
                SubnetArn = "arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678",
            },
            EfsFilesystemArn = "arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs",
            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.NewLocationEFS(ctx, "locationEFS", &datasync.LocationEFSArgs{
			Ec2Config: &datasync.LocationEFSEc2ConfigArgs{
				SecurityGroupArns: pulumi.StringArray{
					pulumi.String("arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f"),
				},
				SubnetArn: pulumi.String("arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678"),
			},
			EfsFilesystemArn: pulumi.String("arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs"),
			Subdirectory:     pulumi.String("/MySubdirectory"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

location_efs = aws_native.datasync.LocationEFS("locationEFS",
    ec2_config=aws_native.datasync.LocationEFSEc2ConfigArgs(
        security_group_arns=["arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f"],
        subnet_arn="arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678",
    ),
    efs_filesystem_arn="arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs",
    subdirectory="/MySubdirectory")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const locationEFS = new aws_native.datasync.LocationEFS("locationEFS", {
    ec2Config: {
        securityGroupArns: ["arn:aws:ec2:us-east-2:11122233344:security-group/sg-0117195988293d62f"],
        subnetArn: "arn:aws:ec2:us-east-2:11122233344:subnet/subnet-f45a0e678",
    },
    efsFilesystemArn: "arn:aws:elasticfilesystem:us-east-2:111222333444:file-system/fs-12345efs",
    subdirectory: "/MySubdirectory",
});

Coming soon!

Create a LocationEFS Resource

new LocationEFS(name: string, args: LocationEFSArgs, opts?: CustomResourceOptions);
@overload
def LocationEFS(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                access_point_arn: Optional[str] = None,
                ec2_config: Optional[LocationEFSEc2ConfigArgs] = None,
                efs_filesystem_arn: Optional[str] = None,
                file_system_access_role_arn: Optional[str] = None,
                in_transit_encryption: Optional[LocationEFSInTransitEncryption] = None,
                subdirectory: Optional[str] = None,
                tags: Optional[Sequence[LocationEFSTagArgs]] = None)
@overload
def LocationEFS(resource_name: str,
                args: LocationEFSArgs,
                opts: Optional[ResourceOptions] = None)
func NewLocationEFS(ctx *Context, name string, args LocationEFSArgs, opts ...ResourceOption) (*LocationEFS, error)
public LocationEFS(string name, LocationEFSArgs args, CustomResourceOptions? opts = null)
public LocationEFS(String name, LocationEFSArgs args)
public LocationEFS(String name, LocationEFSArgs args, CustomResourceOptions options)
type: aws-native:datasync:LocationEFS
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args LocationEFSArgs
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 LocationEFSArgs
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 LocationEFSArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LocationEFSArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args LocationEFSArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

LocationEFS 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 LocationEFS resource accepts the following input properties:

Ec2Config Pulumi.AwsNative.DataSync.Inputs.LocationEFSEc2ConfigArgs
EfsFilesystemArn string

The Amazon Resource Name (ARN) for the Amazon EFS file system.

AccessPointArn string

The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.

FileSystemAccessRoleArn string

The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.

InTransitEncryption Pulumi.AwsNative.DataSync.LocationEFSInTransitEncryption

Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.

Subdirectory string

A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.

Tags List<Pulumi.AwsNative.DataSync.Inputs.LocationEFSTagArgs>

An array of key-value pairs to apply to this resource.

Ec2Config LocationEFSEc2ConfigArgs
EfsFilesystemArn string

The Amazon Resource Name (ARN) for the Amazon EFS file system.

AccessPointArn string

The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.

FileSystemAccessRoleArn string

The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.

InTransitEncryption LocationEFSInTransitEncryption

Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.

Subdirectory string

A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.

Tags []LocationEFSTagArgs

An array of key-value pairs to apply to this resource.

ec2Config LocationEFSEc2ConfigArgs
efsFilesystemArn String

The Amazon Resource Name (ARN) for the Amazon EFS file system.

accessPointArn String

The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.

fileSystemAccessRoleArn String

The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.

inTransitEncryption LocationEFSInTransitEncryption

Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.

subdirectory String

A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.

tags List<LocationEFSTagArgs>

An array of key-value pairs to apply to this resource.

ec2Config LocationEFSEc2ConfigArgs
efsFilesystemArn string

The Amazon Resource Name (ARN) for the Amazon EFS file system.

accessPointArn string

The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.

fileSystemAccessRoleArn string

The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.

inTransitEncryption LocationEFSInTransitEncryption

Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.

subdirectory string

A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.

tags LocationEFSTagArgs[]

An array of key-value pairs to apply to this resource.

ec2_config LocationEFSEc2ConfigArgs
efs_filesystem_arn str

The Amazon Resource Name (ARN) for the Amazon EFS file system.

access_point_arn str

The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.

file_system_access_role_arn str

The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.

in_transit_encryption LocationEFSInTransitEncryption

Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.

subdirectory str

A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.

tags Sequence[LocationEFSTagArgs]

An array of key-value pairs to apply to this resource.

ec2Config Property Map
efsFilesystemArn String

The Amazon Resource Name (ARN) for the Amazon EFS file system.

accessPointArn String

The Amazon Resource Name (ARN) for the Amazon EFS Access point that DataSync uses when accessing the EFS file system.

fileSystemAccessRoleArn String

The Amazon Resource Name (ARN) of the AWS IAM role that the DataSync will assume when mounting the EFS file system.

inTransitEncryption "NONE" | "TLS1_2"

Protocol that is used for encrypting the traffic exchanged between the DataSync Agent and the EFS file system.

subdirectory String

A subdirectory in the location's path. This subdirectory in the EFS file system is used to read data from the EFS source location or write data to the EFS destination.

tags 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 LocationEFS 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 Amazon EFS file system location that is created.

LocationUri string

The URL of the EFS location that was described.

Id string

The provider-assigned unique ID for this managed resource.

LocationArn string

The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created.

LocationUri string

The URL of the EFS location that was described.

id String

The provider-assigned unique ID for this managed resource.

locationArn String

The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created.

locationUri String

The URL of the EFS location that was described.

id string

The provider-assigned unique ID for this managed resource.

locationArn string

The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created.

locationUri string

The URL of the EFS 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 Amazon EFS file system location that is created.

location_uri str

The URL of the EFS location that was described.

id String

The provider-assigned unique ID for this managed resource.

locationArn String

The Amazon Resource Name (ARN) of the Amazon EFS file system location that is created.

locationUri String

The URL of the EFS location that was described.

Supporting Types

LocationEFSEc2Config

SecurityGroupArns List<string>

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

SubnetArn string

The ARN of the subnet that DataSync uses to access the target EFS file system.

SecurityGroupArns []string

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

SubnetArn string

The ARN of the subnet that DataSync uses to access the target EFS file system.

securityGroupArns List<String>

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

subnetArn String

The ARN of the subnet that DataSync uses to access the target EFS file system.

securityGroupArns string[]

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

subnetArn string

The ARN of the subnet that DataSync uses to access the target EFS file system.

security_group_arns Sequence[str]

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

subnet_arn str

The ARN of the subnet that DataSync uses to access the target EFS file system.

securityGroupArns List<String>

The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource.

subnetArn String

The ARN of the subnet that DataSync uses to access the target EFS file system.

LocationEFSInTransitEncryption

None
NONE
Tls12
TLS1_2
LocationEFSInTransitEncryptionNone
NONE
LocationEFSInTransitEncryptionTls12
TLS1_2
None
NONE
Tls12
TLS1_2
None
NONE
Tls12
TLS1_2
NONE
NONE
TLS12
TLS1_2
"NONE"
NONE
"TLS1_2"
TLS1_2

LocationEFSTag

Key string

The key for an AWS resource tag.

Value string

The value for an AWS resource tag.

Key string

The key for an AWS resource tag.

Value string

The value for an AWS resource tag.

key String

The key for an AWS resource tag.

value String

The value for an AWS resource tag.

key string

The key for an AWS resource tag.

value string

The value for an AWS resource tag.

key str

The key for an AWS resource tag.

value str

The value for an AWS resource tag.

key String

The key for an AWS resource tag.

value String

The value for an AWS resource tag.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0