eks

package
v0.16.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

Manages an EKS Cluster.

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ClusterState, opts ...pulumi.ResourceOpt) (*Cluster, error)

GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOpt) (*Cluster, error)

NewCluster registers a new resource with the given unique name, arguments, and options.

func (*Cluster) Arn added in v0.14.1

func (r *Cluster) Arn() *pulumi.StringOutput

The Amazon Resource Name (ARN) of the cluster.

func (*Cluster) CertificateAuthority

func (r *Cluster) CertificateAuthority() *pulumi.Output

Nested attribute containing `certificate-authority-data` for your cluster.

func (*Cluster) CreatedAt

func (r *Cluster) CreatedAt() *pulumi.StringOutput

func (*Cluster) Endpoint

func (r *Cluster) Endpoint() *pulumi.StringOutput

The endpoint for your Kubernetes API server.

func (*Cluster) ID

func (r *Cluster) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Cluster) Name

func (r *Cluster) Name() *pulumi.StringOutput

Name of the cluster.

func (*Cluster) PlatformVersion added in v0.16.0

func (r *Cluster) PlatformVersion() *pulumi.StringOutput

The platform version for the cluster.

func (*Cluster) RoleArn

func (r *Cluster) RoleArn() *pulumi.StringOutput

The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.

func (*Cluster) URN

func (r *Cluster) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Cluster) Version

func (r *Cluster) Version() *pulumi.StringOutput

Desired Kubernetes master version. If you do not specify a value, the latest available version is used.

func (*Cluster) VpcConfig

func (r *Cluster) VpcConfig() *pulumi.Output

Nested argument for the VPC associated with your cluster. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see [Cluster VPC Considerations](https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) and [Cluster Security Group Considerations](https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) in the Amazon EKS User Guide. Configuration detailed below.

type ClusterArgs

type ClusterArgs struct {
	// Name of the cluster.
	Name interface{}
	// The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
	RoleArn interface{}
	// Desired Kubernetes master version. If you do not specify a value, the latest available version is used.
	Version interface{}
	// Nested argument for the VPC associated with your cluster. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see [Cluster VPC Considerations](https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) and [Cluster Security Group Considerations](https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) in the Amazon EKS User Guide. Configuration detailed below.
	VpcConfig interface{}
}

The set of arguments for constructing a Cluster resource.

type ClusterState

type ClusterState struct {
	// The Amazon Resource Name (ARN) of the cluster.
	Arn interface{}
	// Nested attribute containing `certificate-authority-data` for your cluster.
	CertificateAuthority interface{}
	CreatedAt            interface{}
	// The endpoint for your Kubernetes API server.
	Endpoint interface{}
	// Name of the cluster.
	Name interface{}
	// The platform version for the cluster.
	PlatformVersion interface{}
	// The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
	RoleArn interface{}
	// Desired Kubernetes master version. If you do not specify a value, the latest available version is used.
	Version interface{}
	// Nested argument for the VPC associated with your cluster. Amazon EKS VPC resources have specific requirements to work properly with Kubernetes. For more information, see [Cluster VPC Considerations](https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) and [Cluster Security Group Considerations](https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) in the Amazon EKS User Guide. Configuration detailed below.
	VpcConfig interface{}
}

Input properties used for looking up and filtering Cluster resources.

type GetClusterArgs

type GetClusterArgs struct {
	// The name of the cluster
	Name interface{}
}

A collection of arguments for invoking getCluster.

type GetClusterAuthArgs added in v0.16.8

type GetClusterAuthArgs struct {
	// The name of the cluster
	Name interface{}
}

A collection of arguments for invoking getClusterAuth.

type GetClusterAuthResult added in v0.16.8

type GetClusterAuthResult struct {
	// The token to use to authenticate with the cluster.
	Token interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getClusterAuth.

func LookupClusterAuth added in v0.16.8

func LookupClusterAuth(ctx *pulumi.Context, args *GetClusterAuthArgs) (*GetClusterAuthResult, error)

Get an authentication token to communicate with an EKS cluster.

Uses IAM credentials from the AWS provider to generate a temporary token that is compatible with [AWS IAM Authenticator](https://github.com/kubernetes-sigs/aws-iam-authenticator) authentication. This can be used to authenticate to an EKS cluster or to a cluster that has the AWS IAM Authenticator server configured.

type GetClusterResult

type GetClusterResult struct {
	// The Amazon Resource Name (ARN) of the cluster.
	Arn interface{}
	// Nested attribute containing `certificate-authority-data` for your cluster.
	CertificateAuthority interface{}
	// The Unix epoch time stamp in seconds for when the cluster was created.
	CreatedAt interface{}
	// The endpoint for your Kubernetes API server.
	Endpoint interface{}
	// The platform version for the cluster.
	PlatformVersion interface{}
	// The Amazon Resource Name (ARN) of the IAM role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
	RoleArn interface{}
	// The Kubernetes server version for the cluster.
	Version interface{}
	// Nested attribute containing VPC configuration for the cluster.
	VpcConfig interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getCluster.

func LookupCluster

func LookupCluster(ctx *pulumi.Context, args *GetClusterArgs) (*GetClusterResult, error)

Retrieve information about an EKS Cluster.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL