Class VolumeAttachment

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-30T04:56:55.427Z")
    @Stability(Stable)
    public class VolumeAttachment
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/volume_attachment aws_volume_attachment}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • VolumeAttachment

        protected VolumeAttachment​(software.amazon.jsii.JsiiObjectRef objRef)
      • VolumeAttachment

        protected VolumeAttachment​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • VolumeAttachment

        @Stability(Stable)
        public VolumeAttachment​(@NotNull
                                software.constructs.Construct scope,
                                @NotNull
                                String id,
                                @NotNull
                                VolumeAttachmentConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/volume_attachment aws_volume_attachment} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                VolumeAttachmentTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetForceDetach

        @Stability(Stable)
        public void resetForceDetach()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetSkipDestroy

        @Stability(Stable)
        public void resetSkipDestroy()
      • resetStopInstanceBeforeDetaching

        @Stability(Stable)
        public void resetStopInstanceBeforeDetaching()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getDeviceNameInput

        @Stability(Stable)
        @Nullable
        public String getDeviceNameInput()
      • getForceDetachInput

        @Stability(Stable)
        @Nullable
        public Object getForceDetachInput()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getInstanceIdInput

        @Stability(Stable)
        @Nullable
        public String getInstanceIdInput()
      • getSkipDestroyInput

        @Stability(Stable)
        @Nullable
        public Object getSkipDestroyInput()
      • getStopInstanceBeforeDetachingInput

        @Stability(Stable)
        @Nullable
        public Object getStopInstanceBeforeDetachingInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getVolumeIdInput

        @Stability(Stable)
        @Nullable
        public String getVolumeIdInput()
      • getDeviceName

        @Stability(Stable)
        @NotNull
        public String getDeviceName()
      • setDeviceName

        @Stability(Stable)
        public void setDeviceName​(@NotNull
                                  String value)
      • getForceDetach

        @Stability(Stable)
        @NotNull
        public Object getForceDetach()
      • setForceDetach

        @Stability(Stable)
        public void setForceDetach​(@NotNull
                                   Boolean value)
      • setForceDetach

        @Stability(Stable)
        public void setForceDetach​(@NotNull
                                   com.hashicorp.cdktf.IResolvable value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getInstanceId

        @Stability(Stable)
        @NotNull
        public String getInstanceId()
      • setInstanceId

        @Stability(Stable)
        public void setInstanceId​(@NotNull
                                  String value)
      • getSkipDestroy

        @Stability(Stable)
        @NotNull
        public Object getSkipDestroy()
      • setSkipDestroy

        @Stability(Stable)
        public void setSkipDestroy​(@NotNull
                                   Boolean value)
      • setSkipDestroy

        @Stability(Stable)
        public void setSkipDestroy​(@NotNull
                                   com.hashicorp.cdktf.IResolvable value)
      • getStopInstanceBeforeDetaching

        @Stability(Stable)
        @NotNull
        public Object getStopInstanceBeforeDetaching()
      • setStopInstanceBeforeDetaching

        @Stability(Stable)
        public void setStopInstanceBeforeDetaching​(@NotNull
                                                   Boolean value)
      • setStopInstanceBeforeDetaching

        @Stability(Stable)
        public void setStopInstanceBeforeDetaching​(@NotNull
                                                   com.hashicorp.cdktf.IResolvable value)
      • getVolumeId

        @Stability(Stable)
        @NotNull
        public String getVolumeId()
      • setVolumeId

        @Stability(Stable)
        public void setVolumeId​(@NotNull
                                String value)