Interface CfnMountTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMountTargetProps.Jsii$Proxy
CfnMountTarget
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.efs.*; CfnMountTargetProps cfnMountTargetProps = CfnMountTargetProps.builder() .fileSystemId("fileSystemId") .securityGroups(List.of("securityGroups")) .subnetId("subnetId") // the properties below are optional .ipAddress("ipAddress") .ipAddressType("ipAddressType") .ipv6Address("ipv6Address") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMountTargetProps
static final class
An implementation forCfnMountTargetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMountTargetProps.Builder
builder()
The ID of the file system for which to create the mount target.default String
If theIpAddressType
for the mount target is IPv4 (IPV4_ONLY
orDUAL_STACK
), then specify the IPv4 address to use.default String
The IP address type for the mount target.default String
If theIPAddressType
for the mount target is IPv6 (IPV6_ONLY
orDUAL_STACK
), then specify the IPv6 address to use.VPC security group IDs, of the formsg-xxxxxxxx
.The ID of the subnet to add the mount target in.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFileSystemId
The ID of the file system for which to create the mount target.- See Also:
-
getSecurityGroups
VPC security group IDs, of the formsg-xxxxxxxx
.These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see Amazon VPC Quotas in the Amazon VPC User Guide (see the Security Groups table). If you don't specify a security group, then Amazon EFS uses the default security group for the subnet's VPC.
- See Also:
-
getSubnetId
The ID of the subnet to add the mount target in.For One Zone file systems, use the subnet that is associated with the file system's Availability Zone. The subnet type must be the same type as the
IpAddressType
.- See Also:
-
getIpAddress
If theIpAddressType
for the mount target is IPv4 (IPV4_ONLY
orDUAL_STACK
), then specify the IPv4 address to use.If you do not specify an
IpAddress
, then Amazon EFS selects an unused IP address from the subnet specified forSubnetId
.- See Also:
-
getIpAddressType
The IP address type for the mount target.The possible values are
IPV4_ONLY
(only IPv4 addresses),IPV6_ONLY
(only IPv6 addresses), andDUAL_STACK
(dual-stack, both IPv4 and IPv6 addresses). If you don’t specify anIpAddressType
, thenIPV4_ONLY
is used.The
IPAddressType
must match the IP type of the subnet. Additionally, theIPAddressType
parameter overrides the value set as the default IP address for the subnet in the VPC. For example, if theIPAddressType
isIPV4_ONLY
andAssignIpv6AddressOnCreation
istrue
, then IPv4 is used for the mount target. For more information, see Modify the IP addressing attributes of your subnet .- See Also:
-
getIpv6Address
If theIPAddressType
for the mount target is IPv6 (IPV6_ONLY
orDUAL_STACK
), then specify the IPv6 address to use.If you do not specify an
Ipv6Address
, then Amazon EFS selects an unused IP address from the subnet specified forSubnetId
.- See Also:
-
builder
- Returns:
- a
CfnMountTargetProps.Builder
ofCfnMountTargetProps
-