Class CfnMountTargetProps
Properties for defining a CfnMountTarget
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMountTargetProps : Object, ICfnMountTargetProps
Syntax (vb)
Public Class CfnMountTargetProps
Inherits Object
Implements ICfnMountTargetProps
Remarks
See: 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
Constructors
CfnMountTargetProps() |
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. |
Constructors
CfnMountTargetProps()
public CfnMountTargetProps()
Properties
FileSystemId
The ID of the file system for which to create the mount target.
public string FileSystemId { get; set; }
Property Value
System.String
Remarks
IpAddress
Valid IPv4 address within the address range of the specified subnet.
public string IpAddress { get; set; }
Property Value
System.String
Remarks
SecurityGroups
Up to five VPC security group IDs, of the form sg-xxxxxxxx
.
public string[] SecurityGroups { get; set; }
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.
public string SubnetId { get; set; }
Property Value
System.String
Remarks
For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.