ClusterAttributes

class aws_cdk.aws_eks_legacy.ClusterAttributes(*, cluster_arn, cluster_certificate_authority_data, cluster_endpoint, cluster_name, security_groups, vpc)

Bases: object

Parameters
  • cluster_arn (str) – (deprecated) The unique ARN assigned to the service by AWS in the form of arn:aws:eks:.

  • cluster_certificate_authority_data (str) – (deprecated) The certificate-authority-data for your cluster.

  • cluster_endpoint (str) – (deprecated) The API Server endpoint URL.

  • cluster_name (str) – (deprecated) The physical name of the Cluster.

  • security_groups (Sequence[ISecurityGroup]) – (deprecated) The security groups associated with this cluster.

  • vpc (IVpc) – (deprecated) The VPC in which this Cluster was created.

Stability

deprecated

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2
import aws_cdk.aws_eks_legacy as eks_legacy

# security_group: ec2.SecurityGroup
# vpc: ec2.Vpc

cluster_attributes = eks_legacy.ClusterAttributes(
    cluster_arn="clusterArn",
    cluster_certificate_authority_data="clusterCertificateAuthorityData",
    cluster_endpoint="clusterEndpoint",
    cluster_name="clusterName",
    security_groups=[security_group],
    vpc=vpc
)

Attributes

cluster_arn

eks:.

Stability

deprecated

Type

(deprecated) The unique ARN assigned to the service by AWS in the form of arn

Type

aws

Return type

str

cluster_certificate_authority_data

(deprecated) The certificate-authority-data for your cluster.

Stability

deprecated

Return type

str

cluster_endpoint

(deprecated) The API Server endpoint URL.

Stability

deprecated

Return type

str

cluster_name

(deprecated) The physical name of the Cluster.

Stability

deprecated

Return type

str

security_groups

(deprecated) The security groups associated with this cluster.

Stability

deprecated

Return type

List[ISecurityGroup]

vpc

(deprecated) The VPC in which this Cluster was created.

Stability

deprecated

Return type

IVpc