Interface ComputeInstanceGroupConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeInstanceGroupConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.515Z") @Stability(Stable) public interface ComputeInstanceGroupConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeInstanceGroupConfig.BuilderA builder forComputeInstanceGroupConfigstatic classComputeInstanceGroupConfig.Jsii$ProxyAn implementation forComputeInstanceGroupConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeInstanceGroupConfig.Builderbuilder()default StringgetDescription()An optional textual description of the instance group.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#id ComputeInstanceGroup#id}.default List<String>getInstances()The list of instances in the group, in self_link format.StringgetName()The name of the instance group.default ObjectgetNamedPort()named_port block.default StringgetNetwork()The URL of the network the instance group is in.default StringgetProject()The ID of the project in which the resource belongs.default ComputeInstanceGroupTimeoutsgetTimeouts()timeouts block.default StringgetZone()The zone that this instance group should be created in.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
The name of the instance group.Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#name ComputeInstanceGroup#name}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
An optional textual description of the instance group.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#description ComputeInstanceGroup#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_instance_group#id ComputeInstanceGroup#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.
-
getInstances
@Stability(Stable) @Nullable default List<String> getInstances()
The list of instances in the group, in self_link format.When adding instances they must all be in the same network and zone as the instance group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#instances ComputeInstanceGroup#instances}
-
getNamedPort
@Stability(Stable) @Nullable default Object getNamedPort()
named_port block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#named_port ComputeInstanceGroup#named_port}
-
getNetwork
@Stability(Stable) @Nullable default String getNetwork()
The URL of the network the instance group is in.If this is different from the network where the instances are in, the creation fails. Defaults to the network where the instances are in (if neither network nor instances is specified, this field will be blank). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#network ComputeInstanceGroup#network}
-
getProject
@Stability(Stable) @Nullable default String getProject()
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_instance_group#project ComputeInstanceGroup#project}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeInstanceGroupTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#timeouts ComputeInstanceGroup#timeouts}
-
getZone
@Stability(Stable) @Nullable default String getZone()
The zone that this instance group should be created in.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_group#zone ComputeInstanceGroup#zone}
-
builder
@Stability(Stable) static ComputeInstanceGroupConfig.Builder builder()
- Returns:
- a
ComputeInstanceGroupConfig.BuilderofComputeInstanceGroupConfig
-
-