Class AwsControlPlane (0.4.0)

AwsControlPlane(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ControlPlane defines common parameters between control plane nodes.

Attributes

NameDescription
version str
Required. The Kubernetes version to run on control plane replicas (e.g. 1.19.10-gke.1000). You can list all supported versions on a given Google Cloud region by calling GetAwsServerConfig.
instance_type str
Optional. The AWS instance type. When unspecified, it uses a default based on the cluster's version.
ssh_config google.cloud.gke_multicloud_v1.types.AwsSshConfig
Optional. SSH configuration for how to access the underlying control plane machines.
subnet_ids MutableSequence[str]
Required. The list of subnets where control plane replicas will run. A replica will be provisioned on each subnet and up to three values can be provided. Each subnet must be in a different AWS Availability Zone (AZ).
security_group_ids MutableSequence[str]
Optional. The IDs of additional security groups to add to control plane replicas. The Anthos Multi-Cloud API will automatically create and manage security groups with the minimum rules needed for a functioning cluster.
iam_instance_profile str
Required. The name or ARN of the AWS IAM instance profile to assign to each control plane replica.
root_volume google.cloud.gke_multicloud_v1.types.AwsVolumeTemplate
Optional. Configuration related to the root volume provisioned for each control plane replica. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 32 GiB with the GP2 volume type.
main_volume google.cloud.gke_multicloud_v1.types.AwsVolumeTemplate
Optional. Configuration related to the main volume provisioned for each control plane replica. The main volume is in charge of storing all of the cluster's etcd state. Volumes will be provisioned in the availability zone associated with the corresponding subnet. When unspecified, it defaults to 8 GiB with the GP2 volume type.
database_encryption google.cloud.gke_multicloud_v1.types.AwsDatabaseEncryption
Required. The ARN of the AWS KMS key used to encrypt cluster secrets.
tags MutableMapping[str, str]
Optional. A set of AWS resource tags to propagate to all underlying managed AWS resources. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.
aws_services_authentication google.cloud.gke_multicloud_v1.types.AwsServicesAuthentication
Required. Authentication configuration for management of AWS resources.
proxy_config google.cloud.gke_multicloud_v1.types.AwsProxyConfig
Optional. Proxy configuration for outbound HTTP(S) traffic.
config_encryption google.cloud.gke_multicloud_v1.types.AwsConfigEncryption
Required. Config encryption for user data.
instance_placement google.cloud.gke_multicloud_v1.types.AwsInstancePlacement
Optional. The placement to use on control plane instances. When unspecified, the VPC's default tenancy will be used.

Classes

TagsEntry

TagsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.