Class ComputeInstanceConfig.Jsii$Proxy

    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getMachineType

        public final String getMachineType()
        Description copied from interface: ComputeInstanceConfig
        The machine type to create.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#machine_type ComputeInstance#machine_type}

        Specified by:
        getMachineType in interface ComputeInstanceConfig
      • getName

        public final String getName()
        Description copied from interface: ComputeInstanceConfig
        The name of the instance. One of name or self_link must be provided.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#name ComputeInstance#name}

        Specified by:
        getName in interface ComputeInstanceConfig
      • getNetworkInterface

        public final Object getNetworkInterface()
        Description copied from interface: ComputeInstanceConfig
        network_interface block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#network_interface ComputeInstance#network_interface}

        Specified by:
        getNetworkInterface in interface ComputeInstanceConfig
      • getAllowStoppingForUpdate

        public final Object getAllowStoppingForUpdate()
        Description copied from interface: ComputeInstanceConfig
        If true, allows Terraform to stop the instance to update its properties.

        If you try to update a property that requires stopping the instance without setting this field, the update will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#allow_stopping_for_update ComputeInstance#allow_stopping_for_update}

        Specified by:
        getAllowStoppingForUpdate in interface ComputeInstanceConfig
      • getAttachedDisk

        public final Object getAttachedDisk()
        Description copied from interface: ComputeInstanceConfig
        attached_disk block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#attached_disk ComputeInstance#attached_disk}

        Specified by:
        getAttachedDisk in interface ComputeInstanceConfig
      • getCanIpForward

        public final Object getCanIpForward()
        Description copied from interface: ComputeInstanceConfig
        Whether sending and receiving of packets with non-matching source or destination IPs is allowed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#can_ip_forward ComputeInstance#can_ip_forward}

        Specified by:
        getCanIpForward in interface ComputeInstanceConfig
      • getDeletionProtection

        public final Object getDeletionProtection()
        Description copied from interface: ComputeInstanceConfig
        Whether deletion protection is enabled on this instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#deletion_protection ComputeInstance#deletion_protection}

        Specified by:
        getDeletionProtection in interface ComputeInstanceConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeInstanceConfig
        A brief description of the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#description ComputeInstance#description}

        Specified by:
        getDescription in interface ComputeInstanceConfig
      • getDesiredStatus

        public final String getDesiredStatus()
        Description copied from interface: ComputeInstanceConfig
        Desired status of the instance. Either "RUNNING" or "TERMINATED".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#desired_status ComputeInstance#desired_status}

        Specified by:
        getDesiredStatus in interface ComputeInstanceConfig
      • getEnableDisplay

        public final Object getEnableDisplay()
        Description copied from interface: ComputeInstanceConfig
        Whether the instance has virtual displays enabled.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#enable_display ComputeInstance#enable_display}

        Specified by:
        getEnableDisplay in interface ComputeInstanceConfig
      • getGuestAccelerator

        public final Object getGuestAccelerator()
        Description copied from interface: ComputeInstanceConfig
        List of the type and count of accelerator cards attached to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#guest_accelerator ComputeInstance#guest_accelerator}

        Specified by:
        getGuestAccelerator in interface ComputeInstanceConfig
      • getHostname

        public final String getHostname()
        Description copied from interface: ComputeInstanceConfig
        A custom hostname for the instance.

        Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression [a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D), concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#hostname ComputeInstance#hostname}

        Specified by:
        getHostname in interface ComputeInstanceConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeInstanceConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#id ComputeInstance#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Specified by:
        getId in interface ComputeInstanceConfig
      • getLabels

        public final Map<String,​String> getLabels()
        Description copied from interface: ComputeInstanceConfig
        A set of key/value label pairs assigned to the instance.

        **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#labels ComputeInstance#labels}

        Specified by:
        getLabels in interface ComputeInstanceConfig
      • getMetadata

        public final Map<String,​String> getMetadata()
        Description copied from interface: ComputeInstanceConfig
        Metadata key/value pairs made available within the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#metadata ComputeInstance#metadata}

        Specified by:
        getMetadata in interface ComputeInstanceConfig
      • getMetadataStartupScript

        public final String getMetadataStartupScript()
        Description copied from interface: ComputeInstanceConfig
        Metadata startup scripts made available within the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#metadata_startup_script ComputeInstance#metadata_startup_script}

        Specified by:
        getMetadataStartupScript in interface ComputeInstanceConfig
      • getMinCpuPlatform

        public final String getMinCpuPlatform()
        Description copied from interface: ComputeInstanceConfig
        The minimum CPU platform specified for the VM instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#min_cpu_platform ComputeInstance#min_cpu_platform}

        Specified by:
        getMinCpuPlatform in interface ComputeInstanceConfig
      • getProject

        public final String getProject()
        Description copied from interface: ComputeInstanceConfig
        The ID of the project in which the resource belongs.

        If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#project ComputeInstance#project}

        Specified by:
        getProject in interface ComputeInstanceConfig
      • getResourcePolicies

        public final List<String> getResourcePolicies()
        Description copied from interface: ComputeInstanceConfig
        A list of self_links of resource policies to attach to the instance.

        Currently a max of 1 resource policy is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#resource_policies ComputeInstance#resource_policies}

        Specified by:
        getResourcePolicies in interface ComputeInstanceConfig
      • getScratchDisk

        public final Object getScratchDisk()
        Description copied from interface: ComputeInstanceConfig
        scratch_disk block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#scratch_disk ComputeInstance#scratch_disk}

        Specified by:
        getScratchDisk in interface ComputeInstanceConfig
      • getTags

        public final List<String> getTags()
        Description copied from interface: ComputeInstanceConfig
        The list of tags attached to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#tags ComputeInstance#tags}

        Specified by:
        getTags in interface ComputeInstanceConfig
      • getZone

        public final String getZone()
        Description copied from interface: ComputeInstanceConfig
        The zone of the instance.

        If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#zone ComputeInstance#zone}

        Specified by:
        getZone in interface ComputeInstanceConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object