Class OpsworksInstance

  • 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:54.298Z")
    @Stability(Stable)
    public class OpsworksInstance
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_instance aws_opsworks_instance}.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • OpsworksInstance

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

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

        @Stability(Stable)
        public OpsworksInstance​(@NotNull
                                software.constructs.Construct scope,
                                @NotNull
                                String id,
                                @NotNull
                                OpsworksInstanceConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_instance aws_opsworks_instance} 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

      • putEbsBlockDevice

        @Stability(Stable)
        public void putEbsBlockDevice​(@NotNull
                                      Object value)
        Parameters:
        value - This parameter is required.
      • putEphemeralBlockDevice

        @Stability(Stable)
        public void putEphemeralBlockDevice​(@NotNull
                                            Object value)
        Parameters:
        value - This parameter is required.
      • putRootBlockDevice

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

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

        @Stability(Stable)
        public void resetAgentVersion()
      • resetAmiId

        @Stability(Stable)
        public void resetAmiId()
      • resetArchitecture

        @Stability(Stable)
        public void resetArchitecture()
      • resetAutoScalingType

        @Stability(Stable)
        public void resetAutoScalingType()
      • resetAvailabilityZone

        @Stability(Stable)
        public void resetAvailabilityZone()
      • resetCreatedAt

        @Stability(Stable)
        public void resetCreatedAt()
      • resetDeleteEbs

        @Stability(Stable)
        public void resetDeleteEbs()
      • resetDeleteEip

        @Stability(Stable)
        public void resetDeleteEip()
      • resetEbsBlockDevice

        @Stability(Stable)
        public void resetEbsBlockDevice()
      • resetEbsOptimized

        @Stability(Stable)
        public void resetEbsOptimized()
      • resetEcsClusterArn

        @Stability(Stable)
        public void resetEcsClusterArn()
      • resetElasticIp

        @Stability(Stable)
        public void resetElasticIp()
      • resetEphemeralBlockDevice

        @Stability(Stable)
        public void resetEphemeralBlockDevice()
      • resetHostname

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

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

        @Stability(Stable)
        public void resetInfrastructureClass()
      • resetInstallUpdatesOnBoot

        @Stability(Stable)
        public void resetInstallUpdatesOnBoot()
      • resetInstanceProfileArn

        @Stability(Stable)
        public void resetInstanceProfileArn()
      • resetInstanceType

        @Stability(Stable)
        public void resetInstanceType()
      • resetOs

        @Stability(Stable)
        public void resetOs()
      • resetRootBlockDevice

        @Stability(Stable)
        public void resetRootBlockDevice()
      • resetRootDeviceType

        @Stability(Stable)
        public void resetRootDeviceType()
      • resetSecurityGroupIds

        @Stability(Stable)
        public void resetSecurityGroupIds()
      • resetSshKeyName

        @Stability(Stable)
        public void resetSshKeyName()
      • resetState

        @Stability(Stable)
        public void resetState()
      • resetStatus

        @Stability(Stable)
        public void resetStatus()
      • resetSubnetId

        @Stability(Stable)
        public void resetSubnetId()
      • resetTenancy

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

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

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

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

        @Stability(Stable)
        @NotNull
        public String getEc2InstanceId()
      • getLastServiceErrorId

        @Stability(Stable)
        @NotNull
        public String getLastServiceErrorId()
      • getPlatform

        @Stability(Stable)
        @NotNull
        public String getPlatform()
      • getPrivateDns

        @Stability(Stable)
        @NotNull
        public String getPrivateDns()
      • getPrivateIp

        @Stability(Stable)
        @NotNull
        public String getPrivateIp()
      • getPublicDns

        @Stability(Stable)
        @NotNull
        public String getPublicDns()
      • getPublicIp

        @Stability(Stable)
        @NotNull
        public String getPublicIp()
      • getRegisteredBy

        @Stability(Stable)
        @NotNull
        public String getRegisteredBy()
      • getReportedAgentVersion

        @Stability(Stable)
        @NotNull
        public String getReportedAgentVersion()
      • getReportedOsFamily

        @Stability(Stable)
        @NotNull
        public String getReportedOsFamily()
      • getReportedOsName

        @Stability(Stable)
        @NotNull
        public String getReportedOsName()
      • getReportedOsVersion

        @Stability(Stable)
        @NotNull
        public String getReportedOsVersion()
      • getRootDeviceVolumeId

        @Stability(Stable)
        @NotNull
        public String getRootDeviceVolumeId()
      • getSshHostDsaKeyFingerprint

        @Stability(Stable)
        @NotNull
        public String getSshHostDsaKeyFingerprint()
      • getSshHostRsaKeyFingerprint

        @Stability(Stable)
        @NotNull
        public String getSshHostRsaKeyFingerprint()
      • getAgentVersionInput

        @Stability(Stable)
        @Nullable
        public String getAgentVersionInput()
      • getAmiIdInput

        @Stability(Stable)
        @Nullable
        public String getAmiIdInput()
      • getArchitectureInput

        @Stability(Stable)
        @Nullable
        public String getArchitectureInput()
      • getAutoScalingTypeInput

        @Stability(Stable)
        @Nullable
        public String getAutoScalingTypeInput()
      • getAvailabilityZoneInput

        @Stability(Stable)
        @Nullable
        public String getAvailabilityZoneInput()
      • getCreatedAtInput

        @Stability(Stable)
        @Nullable
        public String getCreatedAtInput()
      • getDeleteEbsInput

        @Stability(Stable)
        @Nullable
        public Object getDeleteEbsInput()
      • getDeleteEipInput

        @Stability(Stable)
        @Nullable
        public Object getDeleteEipInput()
      • getEbsBlockDeviceInput

        @Stability(Stable)
        @Nullable
        public Object getEbsBlockDeviceInput()
      • getEbsOptimizedInput

        @Stability(Stable)
        @Nullable
        public Object getEbsOptimizedInput()
      • getEcsClusterArnInput

        @Stability(Stable)
        @Nullable
        public String getEcsClusterArnInput()
      • getElasticIpInput

        @Stability(Stable)
        @Nullable
        public String getElasticIpInput()
      • getEphemeralBlockDeviceInput

        @Stability(Stable)
        @Nullable
        public Object getEphemeralBlockDeviceInput()
      • getHostnameInput

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

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

        @Stability(Stable)
        @Nullable
        public String getInfrastructureClassInput()
      • getInstallUpdatesOnBootInput

        @Stability(Stable)
        @Nullable
        public Object getInstallUpdatesOnBootInput()
      • getInstanceProfileArnInput

        @Stability(Stable)
        @Nullable
        public String getInstanceProfileArnInput()
      • getInstanceTypeInput

        @Stability(Stable)
        @Nullable
        public String getInstanceTypeInput()
      • getLayerIdsInput

        @Stability(Stable)
        @Nullable
        public List<String> getLayerIdsInput()
      • getOsInput

        @Stability(Stable)
        @Nullable
        public String getOsInput()
      • getRootBlockDeviceInput

        @Stability(Stable)
        @Nullable
        public Object getRootBlockDeviceInput()
      • getRootDeviceTypeInput

        @Stability(Stable)
        @Nullable
        public String getRootDeviceTypeInput()
      • getSecurityGroupIdsInput

        @Stability(Stable)
        @Nullable
        public List<String> getSecurityGroupIdsInput()
      • getSshKeyNameInput

        @Stability(Stable)
        @Nullable
        public String getSshKeyNameInput()
      • getStackIdInput

        @Stability(Stable)
        @Nullable
        public String getStackIdInput()
      • getStateInput

        @Stability(Stable)
        @Nullable
        public String getStateInput()
      • getStatusInput

        @Stability(Stable)
        @Nullable
        public String getStatusInput()
      • getSubnetIdInput

        @Stability(Stable)
        @Nullable
        public String getSubnetIdInput()
      • getTenancyInput

        @Stability(Stable)
        @Nullable
        public String getTenancyInput()
      • getTimeoutsInput

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

        @Stability(Stable)
        @Nullable
        public String getVirtualizationTypeInput()
      • getAgentVersion

        @Stability(Stable)
        @NotNull
        public String getAgentVersion()
      • setAgentVersion

        @Stability(Stable)
        public void setAgentVersion​(@NotNull
                                    String value)
      • getAmiId

        @Stability(Stable)
        @NotNull
        public String getAmiId()
      • setAmiId

        @Stability(Stable)
        public void setAmiId​(@NotNull
                             String value)
      • getArchitecture

        @Stability(Stable)
        @NotNull
        public String getArchitecture()
      • setArchitecture

        @Stability(Stable)
        public void setArchitecture​(@NotNull
                                    String value)
      • getAutoScalingType

        @Stability(Stable)
        @NotNull
        public String getAutoScalingType()
      • setAutoScalingType

        @Stability(Stable)
        public void setAutoScalingType​(@NotNull
                                       String value)
      • getAvailabilityZone

        @Stability(Stable)
        @NotNull
        public String getAvailabilityZone()
      • setAvailabilityZone

        @Stability(Stable)
        public void setAvailabilityZone​(@NotNull
                                        String value)
      • getCreatedAt

        @Stability(Stable)
        @NotNull
        public String getCreatedAt()
      • setCreatedAt

        @Stability(Stable)
        public void setCreatedAt​(@NotNull
                                 String value)
      • getDeleteEbs

        @Stability(Stable)
        @NotNull
        public Object getDeleteEbs()
      • setDeleteEbs

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

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

        @Stability(Stable)
        @NotNull
        public Object getDeleteEip()
      • setDeleteEip

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

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

        @Stability(Stable)
        @NotNull
        public Object getEbsOptimized()
      • setEbsOptimized

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

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

        @Stability(Stable)
        @NotNull
        public String getEcsClusterArn()
      • setEcsClusterArn

        @Stability(Stable)
        public void setEcsClusterArn​(@NotNull
                                     String value)
      • getElasticIp

        @Stability(Stable)
        @NotNull
        public String getElasticIp()
      • setElasticIp

        @Stability(Stable)
        public void setElasticIp​(@NotNull
                                 String value)
      • getHostname

        @Stability(Stable)
        @NotNull
        public String getHostname()
      • setHostname

        @Stability(Stable)
        public void setHostname​(@NotNull
                                String value)
      • getId

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

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

        @Stability(Stable)
        @NotNull
        public String getInfrastructureClass()
      • setInfrastructureClass

        @Stability(Stable)
        public void setInfrastructureClass​(@NotNull
                                           String value)
      • getInstallUpdatesOnBoot

        @Stability(Stable)
        @NotNull
        public Object getInstallUpdatesOnBoot()
      • setInstallUpdatesOnBoot

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

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

        @Stability(Stable)
        @NotNull
        public String getInstanceProfileArn()
      • setInstanceProfileArn

        @Stability(Stable)
        public void setInstanceProfileArn​(@NotNull
                                          String value)
      • getInstanceType

        @Stability(Stable)
        @NotNull
        public String getInstanceType()
      • setInstanceType

        @Stability(Stable)
        public void setInstanceType​(@NotNull
                                    String value)
      • getLayerIds

        @Stability(Stable)
        @NotNull
        public List<String> getLayerIds()
      • setLayerIds

        @Stability(Stable)
        public void setLayerIds​(@NotNull
                                List<String> value)
      • getOs

        @Stability(Stable)
        @NotNull
        public String getOs()
      • setOs

        @Stability(Stable)
        public void setOs​(@NotNull
                          String value)
      • getRootDeviceType

        @Stability(Stable)
        @NotNull
        public String getRootDeviceType()
      • setRootDeviceType

        @Stability(Stable)
        public void setRootDeviceType​(@NotNull
                                      String value)
      • getSecurityGroupIds

        @Stability(Stable)
        @NotNull
        public List<String> getSecurityGroupIds()
      • setSecurityGroupIds

        @Stability(Stable)
        public void setSecurityGroupIds​(@NotNull
                                        List<String> value)
      • getSshKeyName

        @Stability(Stable)
        @NotNull
        public String getSshKeyName()
      • setSshKeyName

        @Stability(Stable)
        public void setSshKeyName​(@NotNull
                                  String value)
      • getStackId

        @Stability(Stable)
        @NotNull
        public String getStackId()
      • setStackId

        @Stability(Stable)
        public void setStackId​(@NotNull
                               String value)
      • getState

        @Stability(Stable)
        @NotNull
        public String getState()
      • setState

        @Stability(Stable)
        public void setState​(@NotNull
                             String value)
      • getStatus

        @Stability(Stable)
        @NotNull
        public String getStatus()
      • setStatus

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

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

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

        @Stability(Stable)
        @NotNull
        public String getTenancy()
      • setTenancy

        @Stability(Stable)
        public void setTenancy​(@NotNull
                               String value)
      • getVirtualizationType

        @Stability(Stable)
        @NotNull
        public String getVirtualizationType()
      • setVirtualizationType

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