Class ComputeRegionInstanceTemplateConfig.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: ComputeRegionInstanceTemplateConfig
        The machine type to create.

        To create a machine with a custom type (such as extended memory), format the value like custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#machine_type ComputeRegionInstanceTemplate#machine_type}

        Specified by:
        getMachineType in interface ComputeRegionInstanceTemplateConfig
      • getCanIpForward

        public final Object getCanIpForward()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

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

        Specified by:
        getCanIpForward in interface ComputeRegionInstanceTemplateConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#id ComputeRegionInstanceTemplate#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 ComputeRegionInstanceTemplateConfig
      • getLabels

        public final Map<String,​String> getLabels()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        A set of key/value label pairs to assign to instances created from this template,.

        **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_region_instance_template#labels ComputeRegionInstanceTemplate#labels}

        Specified by:
        getLabels in interface ComputeRegionInstanceTemplateConfig
      • getMetadata

        public final Map<String,​String> getMetadata()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        Metadata key/value pairs to make available from within instances created from this template.

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

        Specified by:
        getMetadata in interface ComputeRegionInstanceTemplateConfig
      • getMetadataStartupScript

        public final String getMetadataStartupScript()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        An alternative to using the startup-script metadata key, mostly to match the compute_instance resource.

        This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#metadata_startup_script ComputeRegionInstanceTemplate#metadata_startup_script}

        Specified by:
        getMetadataStartupScript in interface ComputeRegionInstanceTemplateConfig
      • getMinCpuPlatform

        public final String getMinCpuPlatform()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        Specifies a minimum CPU platform.

        Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#min_cpu_platform ComputeRegionInstanceTemplate#min_cpu_platform}

        Specified by:
        getMinCpuPlatform in interface ComputeRegionInstanceTemplateConfig
      • getName

        public final String getName()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        The name of the instance template. If you leave this blank, Terraform will auto-generate a unique name.

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

        Specified by:
        getName in interface ComputeRegionInstanceTemplateConfig
      • getNamePrefix

        public final String getNamePrefix()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        Creates a unique name beginning with the specified prefix. Conflicts with name.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#name_prefix ComputeRegionInstanceTemplate#name_prefix}

        Specified by:
        getNamePrefix in interface ComputeRegionInstanceTemplateConfig
      • getProject

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

        If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#project ComputeRegionInstanceTemplate#project}

        Specified by:
        getProject in interface ComputeRegionInstanceTemplateConfig
      • getRegion

        public final String getRegion()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        The region in which the instance template is located. If it is not provided, the provider region is used.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#region ComputeRegionInstanceTemplate#region}

        Specified by:
        getRegion in interface ComputeRegionInstanceTemplateConfig
      • getResourceManagerTags

        public final Map<String,​String> getResourceManagerTags()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        A map of resource manager tags.

        Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#resource_manager_tags ComputeRegionInstanceTemplate#resource_manager_tags}

        Specified by:
        getResourceManagerTags in interface ComputeRegionInstanceTemplateConfig
      • getResourcePolicies

        public final List<String> getResourcePolicies()
        Description copied from interface: ComputeRegionInstanceTemplateConfig
        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_region_instance_template#resource_policies ComputeRegionInstanceTemplate#resource_policies}

        Specified by:
        getResourcePolicies in interface ComputeRegionInstanceTemplateConfig
      • 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