Class CfnMountTarget

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IMountTargetRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:03.778Z") @Stability(Stable) public class CfnMountTarget extends CfnResource implements IInspectable, IMountTargetRef
Resource Type definition for AWS::S3Files::MountTarget.

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.s3files.*;
 CfnMountTarget cfnMountTarget = CfnMountTarget.Builder.create(this, "MyCfnMountTarget")
         .fileSystemId("fileSystemId")
         .subnetId("subnetId")
         // the properties below are optional
         .ipAddressType("ipAddressType")
         .ipv4Address("ipv4Address")
         .ipv6Address("ipv6Address")
         .securityGroups(List.of("securityGroups"))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMountTarget

      protected CfnMountTarget(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMountTarget

      protected CfnMountTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMountTarget

      @Stability(Stable) public CfnMountTarget(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMountTargetProps props)
      Create a new AWS::S3Files::MountTarget.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • isCfnMountTarget

      @Stability(Stable) @NotNull public static Boolean isCfnMountTarget(@NotNull Object x)
      Checks whether the given object is a CfnMountTarget.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrAvailabilityZoneId

      @Stability(Stable) @NotNull public String getAttrAvailabilityZoneId()
    • getAttrMountTargetId

      @Stability(Stable) @NotNull public String getAttrMountTargetId()
    • getAttrNetworkInterfaceId

      @Stability(Stable) @NotNull public String getAttrNetworkInterfaceId()
    • getAttrOwnerId

      @Stability(Stable) @NotNull public String getAttrOwnerId()
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getAttrStatusMessage

      @Stability(Stable) @NotNull public String getAttrStatusMessage()
    • getAttrVpcId

      @Stability(Stable) @NotNull public String getAttrVpcId()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getMountTargetRef

      @Stability(Stable) @NotNull public MountTargetReference getMountTargetRef()
      A reference to a MountTarget resource.
      Specified by:
      getMountTargetRef in interface IMountTargetRef
    • getFileSystemId

      @Stability(Stable) @NotNull public String getFileSystemId()
    • setFileSystemId

      @Stability(Stable) public void setFileSystemId(@NotNull String value)
    • getSubnetId

      @Stability(Stable) @NotNull public String getSubnetId()
    • setSubnetId

      @Stability(Stable) public void setSubnetId(@NotNull String value)
    • getIpAddressType

      @Stability(Stable) @Nullable public String getIpAddressType()
    • setIpAddressType

      @Stability(Stable) public void setIpAddressType(@Nullable String value)
    • getIpv4Address

      @Stability(Stable) @Nullable public String getIpv4Address()
    • setIpv4Address

      @Stability(Stable) public void setIpv4Address(@Nullable String value)
    • getIpv6Address

      @Stability(Stable) @Nullable public String getIpv6Address()
    • setIpv6Address

      @Stability(Stable) public void setIpv6Address(@Nullable String value)
    • getSecurityGroups

      @Stability(Stable) @Nullable public List<String> getSecurityGroups()
    • setSecurityGroups

      @Stability(Stable) public void setSecurityGroups(@Nullable List<String> value)