Interface ComputeNodeGroupConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    ComputeNodeGroupConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.626Z")
    @Stability(Stable)
    public interface ComputeNodeGroupConfig
    extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    • Method Detail

      • getNodeTemplate

        @Stability(Stable)
        @NotNull
        String getNodeTemplate()
        The URL of the node template to which this node group belongs.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#node_template ComputeNodeGroup#node_template}

      • getAutoscalingPolicy

        @Stability(Stable)
        @Nullable
        default ComputeNodeGroupAutoscalingPolicy getAutoscalingPolicy()
        autoscaling_policy block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#autoscaling_policy ComputeNodeGroup#autoscaling_policy}

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        An optional textual description of the resource.

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

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#id ComputeNodeGroup#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.

      • getInitialSize

        @Stability(Stable)
        @Nullable
        default Number getInitialSize()
        The initial number of nodes in the node group.

        One of 'initial_size' or 'autoscaling_policy' must be configured on resource creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#initial_size ComputeNodeGroup#initial_size}

      • getMaintenancePolicy

        @Stability(Stable)
        @Nullable
        default String getMaintenancePolicy()
        Specifies how to handle instances when a node in the group undergoes maintenance.

        Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#maintenance_policy ComputeNodeGroup#maintenance_policy}

      • getMaintenanceWindow

        @Stability(Stable)
        @Nullable
        default ComputeNodeGroupMaintenanceWindow getMaintenanceWindow()
        maintenance_window block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#maintenance_window ComputeNodeGroup#maintenance_window}

      • getName

        @Stability(Stable)
        @Nullable
        default String getName()
        Name of the resource.

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

      • getProject

        @Stability(Stable)
        @Nullable
        default String getProject()
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#project ComputeNodeGroup#project}.
      • getShareSettings

        @Stability(Stable)
        @Nullable
        default ComputeNodeGroupShareSettings getShareSettings()
        share_settings block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#share_settings ComputeNodeGroup#share_settings}

      • getTimeouts

        @Stability(Stable)
        @Nullable
        default ComputeNodeGroupTimeouts getTimeouts()
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#timeouts ComputeNodeGroup#timeouts}

      • getZone

        @Stability(Stable)
        @Nullable
        default String getZone()
        Zone where this node group is located.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_group#zone ComputeNodeGroup#zone}