Show / Hide Table of Contents

Class EfsLocation

Manages an AWS DataSync EFS Location.

NOTE: The EFS File System must have a mounted EFS Mount Target before creating this resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.DataSync.EfsLocation("example", new Aws.DataSync.EfsLocationArgs
    {
        Ec2Config = new Aws.DataSync.Inputs.EfsLocationEc2ConfigArgs
        {
            SecurityGroupArns = 
            {
                aws_security_group.Example.Arn,
            },
            SubnetArn = aws_subnet.Example.Arn,
        },
        EfsFileSystemArn = aws_efs_mount_target.Example.File_system_arn,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
EfsLocation
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.DataSync
Assembly: Pulumi.Aws.dll
Syntax
public class EfsLocation : CustomResource

Constructors

View Source

EfsLocation(String, EfsLocationArgs, CustomResourceOptions)

Create a EfsLocation resource with the given unique name, arguments, and options.

Declaration
public EfsLocation(string name, EfsLocationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

EfsLocationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

Amazon Resource Name (ARN) of the DataSync Location.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

Ec2Config

Configuration block containing EC2 configurations for connecting to the EFS File System.

Declaration
public Output<EfsLocationEc2Config> Ec2Config { get; }
Property Value
Type Description
Output<EfsLocationEc2Config>
View Source

EfsFileSystemArn

Amazon Resource Name (ARN) of EFS File System.

Declaration
public Output<string> EfsFileSystemArn { get; }
Property Value
Type Description
Output<System.String>
View Source

Subdirectory

Subdirectory to perform actions as source or destination. Default /.

Declaration
public Output<string> Subdirectory { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

Key-value pairs of resource tags to assign to the DataSync Location.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Uri

Declaration
public Output<string> Uri { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, EfsLocationState, CustomResourceOptions)

Get an existing EfsLocation resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static EfsLocation Get(string name, Input<string> id, EfsLocationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

EfsLocationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
EfsLocation
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.