Interface ICfnMountTargetProps
Properties for defining a CfnMountTarget
.
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.AWS.EFS.dll
Syntax (csharp)
public interface ICfnMountTargetProps
Syntax (vb)
Public Interface ICfnMountTargetProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.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.EFS;
var cfnMountTargetProps = new CfnMountTargetProps {
FileSystemId = "fileSystemId",
SecurityGroups = new [] { "securityGroups" },
SubnetId = "subnetId",
// the properties below are optional
IpAddress = "ipAddress"
};
Synopsis
Properties
FileSystemId | The ID of the file system for which to create the mount target. |
IpAddress | Valid IPv4 address within the address range of the specified subnet. |
SecurityGroups | Up to five VPC security group IDs, of the form |
SubnetId | The ID of the subnet to add the mount target in. |
Properties
FileSystemId
The ID of the file system for which to create the mount target.
string FileSystemId { get; }
Property Value
System.String
Remarks
IpAddress
Valid IPv4 address within the address range of the specified subnet.
virtual string IpAddress { get; }
Property Value
System.String
Remarks
SecurityGroups
Up to five VPC security group IDs, of the form sg-xxxxxxxx
.
string[] SecurityGroups { get; }
Property Value
System.String[]
Remarks
These must be for the same VPC as subnet specified.
SubnetId
The ID of the subnet to add the mount target in.
string SubnetId { get; }
Property Value
System.String
Remarks
For file systems that use One Zone storage classes, use the subnet that is associated with the file system's Availability Zone.