Interface CfnMountTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMountTargetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:07.786Z")
@Stability(Stable)
public interface CfnMountTargetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMountTargetPropsstatic final classAn implementation forCfnMountTargetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnMountTargetProps.Builderbuilder()The ID of the file system for which to create the mount target.default StringValid IPv4 address within the address range of the specified subnet.Up to five 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
Up to five VPC security group IDs, of the formsg-xxxxxxxx.These must be for the same VPC as subnet specified.
- 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.
- See Also:
-
getIpAddress
Valid IPv4 address within the address range of the specified subnet.- See Also:
-
builder
- Returns:
- a
CfnMountTargetProps.BuilderofCfnMountTargetProps
-