Interface ICfnLocationEFSProps
Properties for defining a CfnLocationEFS
.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnLocationEFSProps
Syntax (vb)
Public Interface ICfnLocationEFSProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationefs.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var cfnLocationEFSProps = new CfnLocationEFSProps {
Ec2Config = new Ec2ConfigProperty {
SecurityGroupArns = new [] { "securityGroupArns" },
SubnetArn = "subnetArn"
},
// the properties below are optional
AccessPointArn = "accessPointArn",
EfsFilesystemArn = "efsFilesystemArn",
FileSystemAccessRoleArn = "fileSystemAccessRoleArn",
InTransitEncryption = "inTransitEncryption",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
AccessPointArn | Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system. |
Ec2Config | Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system. |
EfsFilesystemArn | Specifies the ARN for the Amazon EFS file system. |
FileSystemAccessRoleArn | Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system. |
InTransitEncryption | Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system. |
Subdirectory | Specifies a mount path for your Amazon EFS file system. |
Tags | Specifies the key-value pair that represents a tag that you want to add to the resource. |
Properties
AccessPointArn
Specifies the Amazon Resource Name (ARN) of the access point that DataSync uses to access the Amazon EFS file system.
virtual string AccessPointArn { get; }
Property Value
System.String
Remarks
Ec2Config
Specifies the subnet and security groups DataSync uses to access your Amazon EFS file system.
object Ec2Config { get; }
Property Value
System.Object
Remarks
EfsFilesystemArn
Specifies the ARN for the Amazon EFS file system.
virtual string EfsFilesystemArn { get; }
Property Value
System.String
Remarks
FileSystemAccessRoleArn
Specifies an AWS Identity and Access Management (IAM) role that DataSync assumes when mounting the Amazon EFS file system.
virtual string FileSystemAccessRoleArn { get; }
Property Value
System.String
Remarks
InTransitEncryption
Specifies whether you want DataSync to use Transport Layer Security (TLS) 1.2 encryption when it copies data to or from the Amazon EFS file system.
virtual string InTransitEncryption { get; }
Property Value
System.String
Remarks
If you specify an access point using AccessPointArn
or an IAM role using FileSystemAccessRoleArn
, you must set this parameter to TLS1_2
.
Subdirectory
Specifies a mount path for your Amazon EFS file system.
virtual string Subdirectory { get; }
Property Value
System.String
Remarks
This is where DataSync reads or writes data (depending on if this is a source or destination location). By default, DataSync uses the root directory, but you can also include subdirectories.
You must specify a value with forward slashes (for example, /path/to/folder
).
Tags
Specifies the key-value pair that represents a tag that you want to add to the resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
The value can be an empty string. This value helps you manage, filter, and search for your resources. We recommend that you create a name tag for your location.