emrcontainers

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupVirtualClusterArgs added in v0.12.0

type LookupVirtualClusterArgs struct {
	// Id of the virtual cluster.
	Id string `pulumi:"id"`
}

type LookupVirtualClusterOutputArgs added in v0.12.0

type LookupVirtualClusterOutputArgs struct {
	// Id of the virtual cluster.
	Id pulumi.StringInput `pulumi:"id"`
}

func (LookupVirtualClusterOutputArgs) ElementType added in v0.12.0

type LookupVirtualClusterResult added in v0.12.0

type LookupVirtualClusterResult struct {
	Arn *string `pulumi:"arn"`
	// Id of the virtual cluster.
	Id *string `pulumi:"id"`
	// An array of key-value pairs to apply to this virtual cluster.
	Tags []aws.Tag `pulumi:"tags"`
}

func LookupVirtualCluster added in v0.12.0

func LookupVirtualCluster(ctx *pulumi.Context, args *LookupVirtualClusterArgs, opts ...pulumi.InvokeOption) (*LookupVirtualClusterResult, error)

Resource Schema of AWS::EMRContainers::VirtualCluster Type

type LookupVirtualClusterResultOutput added in v0.12.0

type LookupVirtualClusterResultOutput struct{ *pulumi.OutputState }

func LookupVirtualClusterOutput added in v0.12.0

func (LookupVirtualClusterResultOutput) Arn added in v0.12.0

func (LookupVirtualClusterResultOutput) ElementType added in v0.12.0

func (LookupVirtualClusterResultOutput) Id added in v0.12.0

Id of the virtual cluster.

func (LookupVirtualClusterResultOutput) Tags added in v0.12.0

An array of key-value pairs to apply to this virtual cluster.

func (LookupVirtualClusterResultOutput) ToLookupVirtualClusterResultOutput added in v0.12.0

func (o LookupVirtualClusterResultOutput) ToLookupVirtualClusterResultOutput() LookupVirtualClusterResultOutput

func (LookupVirtualClusterResultOutput) ToLookupVirtualClusterResultOutputWithContext added in v0.12.0

func (o LookupVirtualClusterResultOutput) ToLookupVirtualClusterResultOutputWithContext(ctx context.Context) LookupVirtualClusterResultOutput

type VirtualCluster

type VirtualCluster struct {
	pulumi.CustomResourceState

	Arn pulumi.StringOutput `pulumi:"arn"`
	// Id of the virtual cluster.
	AwsId pulumi.StringOutput `pulumi:"awsId"`
	// Container provider of the virtual cluster.
	ContainerProvider VirtualClusterContainerProviderOutput `pulumi:"containerProvider"`
	// Name of the virtual cluster.
	Name pulumi.StringOutput `pulumi:"name"`
	// An array of key-value pairs to apply to this virtual cluster.
	Tags aws.TagArrayOutput `pulumi:"tags"`
}

Resource Schema of AWS::EMRContainers::VirtualCluster Type

## Example Usage ### Example

```go package main

import (

awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/emrcontainers"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := emrcontainers.NewVirtualCluster(ctx, "testVirtualCluster", &emrcontainers.VirtualClusterArgs{
			Name: pulumi.String("VirtualClusterName"),
			ContainerProvider: &emrcontainers.VirtualClusterContainerProviderArgs{
				Type: pulumi.String("EKS"),
				Id:   pulumi.String("EKSClusterName"),
				Info: &emrcontainers.VirtualClusterContainerInfoArgs{
					EksInfo: &emrcontainers.VirtualClusterEksInfoArgs{
						Namespace: pulumi.String("EKSNamespace"),
					},
				},
			},
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("Key1"),
					Value: pulumi.String("Value1"),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("primaryId", nil)
		return nil
	})
}

``` ### Example

```go package main

import (

awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/emrcontainers"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testVirtualCluster, err := emrcontainers.NewVirtualCluster(ctx, "testVirtualCluster", &emrcontainers.VirtualClusterArgs{
			Name: pulumi.String("VirtualClusterName"),
			ContainerProvider: &emrcontainers.VirtualClusterContainerProviderArgs{
				Type: pulumi.String("EKS"),
				Id:   pulumi.String("EKSClusterName"),
				Info: &emrcontainers.VirtualClusterContainerInfoArgs{
					EksInfo: &emrcontainers.VirtualClusterEksInfoArgs{
						Namespace: pulumi.String("EKSNamespace"),
					},
				},
			},
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("Key1"),
					Value: pulumi.String("Value1"),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("primaryId", testVirtualCluster.ID())
		return nil
	})
}

```

func GetVirtualCluster

func GetVirtualCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VirtualClusterState, opts ...pulumi.ResourceOption) (*VirtualCluster, error)

GetVirtualCluster gets an existing VirtualCluster 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 NewVirtualCluster

func NewVirtualCluster(ctx *pulumi.Context,
	name string, args *VirtualClusterArgs, opts ...pulumi.ResourceOption) (*VirtualCluster, error)

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

func (*VirtualCluster) ElementType

func (*VirtualCluster) ElementType() reflect.Type

func (*VirtualCluster) ToVirtualClusterOutput

func (i *VirtualCluster) ToVirtualClusterOutput() VirtualClusterOutput

func (*VirtualCluster) ToVirtualClusterOutputWithContext

func (i *VirtualCluster) ToVirtualClusterOutputWithContext(ctx context.Context) VirtualClusterOutput

type VirtualClusterArgs

type VirtualClusterArgs struct {
	// Container provider of the virtual cluster.
	ContainerProvider VirtualClusterContainerProviderInput
	// Name of the virtual cluster.
	Name pulumi.StringPtrInput
	// An array of key-value pairs to apply to this virtual cluster.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a VirtualCluster resource.

func (VirtualClusterArgs) ElementType

func (VirtualClusterArgs) ElementType() reflect.Type

type VirtualClusterContainerInfo

type VirtualClusterContainerInfo struct {
	EksInfo VirtualClusterEksInfo `pulumi:"eksInfo"`
}

type VirtualClusterContainerInfoArgs

type VirtualClusterContainerInfoArgs struct {
	EksInfo VirtualClusterEksInfoInput `pulumi:"eksInfo"`
}

func (VirtualClusterContainerInfoArgs) ElementType

func (VirtualClusterContainerInfoArgs) ToVirtualClusterContainerInfoOutput

func (i VirtualClusterContainerInfoArgs) ToVirtualClusterContainerInfoOutput() VirtualClusterContainerInfoOutput

func (VirtualClusterContainerInfoArgs) ToVirtualClusterContainerInfoOutputWithContext

func (i VirtualClusterContainerInfoArgs) ToVirtualClusterContainerInfoOutputWithContext(ctx context.Context) VirtualClusterContainerInfoOutput

type VirtualClusterContainerInfoInput

type VirtualClusterContainerInfoInput interface {
	pulumi.Input

	ToVirtualClusterContainerInfoOutput() VirtualClusterContainerInfoOutput
	ToVirtualClusterContainerInfoOutputWithContext(context.Context) VirtualClusterContainerInfoOutput
}

VirtualClusterContainerInfoInput is an input type that accepts VirtualClusterContainerInfoArgs and VirtualClusterContainerInfoOutput values. You can construct a concrete instance of `VirtualClusterContainerInfoInput` via:

VirtualClusterContainerInfoArgs{...}

type VirtualClusterContainerInfoOutput

type VirtualClusterContainerInfoOutput struct{ *pulumi.OutputState }

func (VirtualClusterContainerInfoOutput) EksInfo

func (VirtualClusterContainerInfoOutput) ElementType

func (VirtualClusterContainerInfoOutput) ToVirtualClusterContainerInfoOutput

func (o VirtualClusterContainerInfoOutput) ToVirtualClusterContainerInfoOutput() VirtualClusterContainerInfoOutput

func (VirtualClusterContainerInfoOutput) ToVirtualClusterContainerInfoOutputWithContext

func (o VirtualClusterContainerInfoOutput) ToVirtualClusterContainerInfoOutputWithContext(ctx context.Context) VirtualClusterContainerInfoOutput

type VirtualClusterContainerProvider

type VirtualClusterContainerProvider struct {
	// The ID of the container cluster
	Id   string                      `pulumi:"id"`
	Info VirtualClusterContainerInfo `pulumi:"info"`
	// The type of the container provider
	Type string `pulumi:"type"`
}

type VirtualClusterContainerProviderArgs

type VirtualClusterContainerProviderArgs struct {
	// The ID of the container cluster
	Id   pulumi.StringInput               `pulumi:"id"`
	Info VirtualClusterContainerInfoInput `pulumi:"info"`
	// The type of the container provider
	Type pulumi.StringInput `pulumi:"type"`
}

func (VirtualClusterContainerProviderArgs) ElementType

func (VirtualClusterContainerProviderArgs) ToVirtualClusterContainerProviderOutput

func (i VirtualClusterContainerProviderArgs) ToVirtualClusterContainerProviderOutput() VirtualClusterContainerProviderOutput

func (VirtualClusterContainerProviderArgs) ToVirtualClusterContainerProviderOutputWithContext

func (i VirtualClusterContainerProviderArgs) ToVirtualClusterContainerProviderOutputWithContext(ctx context.Context) VirtualClusterContainerProviderOutput

type VirtualClusterContainerProviderInput

type VirtualClusterContainerProviderInput interface {
	pulumi.Input

	ToVirtualClusterContainerProviderOutput() VirtualClusterContainerProviderOutput
	ToVirtualClusterContainerProviderOutputWithContext(context.Context) VirtualClusterContainerProviderOutput
}

VirtualClusterContainerProviderInput is an input type that accepts VirtualClusterContainerProviderArgs and VirtualClusterContainerProviderOutput values. You can construct a concrete instance of `VirtualClusterContainerProviderInput` via:

VirtualClusterContainerProviderArgs{...}

type VirtualClusterContainerProviderOutput

type VirtualClusterContainerProviderOutput struct{ *pulumi.OutputState }

func (VirtualClusterContainerProviderOutput) ElementType

func (VirtualClusterContainerProviderOutput) Id

The ID of the container cluster

func (VirtualClusterContainerProviderOutput) Info

func (VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutput

func (o VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutput() VirtualClusterContainerProviderOutput

func (VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutputWithContext

func (o VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutputWithContext(ctx context.Context) VirtualClusterContainerProviderOutput

func (VirtualClusterContainerProviderOutput) Type

The type of the container provider

type VirtualClusterEksInfo

type VirtualClusterEksInfo struct {
	Namespace string `pulumi:"namespace"`
}

type VirtualClusterEksInfoArgs

type VirtualClusterEksInfoArgs struct {
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

func (VirtualClusterEksInfoArgs) ElementType

func (VirtualClusterEksInfoArgs) ElementType() reflect.Type

func (VirtualClusterEksInfoArgs) ToVirtualClusterEksInfoOutput

func (i VirtualClusterEksInfoArgs) ToVirtualClusterEksInfoOutput() VirtualClusterEksInfoOutput

func (VirtualClusterEksInfoArgs) ToVirtualClusterEksInfoOutputWithContext

func (i VirtualClusterEksInfoArgs) ToVirtualClusterEksInfoOutputWithContext(ctx context.Context) VirtualClusterEksInfoOutput

type VirtualClusterEksInfoInput

type VirtualClusterEksInfoInput interface {
	pulumi.Input

	ToVirtualClusterEksInfoOutput() VirtualClusterEksInfoOutput
	ToVirtualClusterEksInfoOutputWithContext(context.Context) VirtualClusterEksInfoOutput
}

VirtualClusterEksInfoInput is an input type that accepts VirtualClusterEksInfoArgs and VirtualClusterEksInfoOutput values. You can construct a concrete instance of `VirtualClusterEksInfoInput` via:

VirtualClusterEksInfoArgs{...}

type VirtualClusterEksInfoOutput

type VirtualClusterEksInfoOutput struct{ *pulumi.OutputState }

func (VirtualClusterEksInfoOutput) ElementType

func (VirtualClusterEksInfoOutput) Namespace

func (VirtualClusterEksInfoOutput) ToVirtualClusterEksInfoOutput

func (o VirtualClusterEksInfoOutput) ToVirtualClusterEksInfoOutput() VirtualClusterEksInfoOutput

func (VirtualClusterEksInfoOutput) ToVirtualClusterEksInfoOutputWithContext

func (o VirtualClusterEksInfoOutput) ToVirtualClusterEksInfoOutputWithContext(ctx context.Context) VirtualClusterEksInfoOutput

type VirtualClusterInput

type VirtualClusterInput interface {
	pulumi.Input

	ToVirtualClusterOutput() VirtualClusterOutput
	ToVirtualClusterOutputWithContext(ctx context.Context) VirtualClusterOutput
}

type VirtualClusterOutput

type VirtualClusterOutput struct{ *pulumi.OutputState }

func (VirtualClusterOutput) Arn added in v0.17.0

func (VirtualClusterOutput) AwsId added in v0.99.0

Id of the virtual cluster.

func (VirtualClusterOutput) ContainerProvider added in v0.17.0

Container provider of the virtual cluster.

func (VirtualClusterOutput) ElementType

func (VirtualClusterOutput) ElementType() reflect.Type

func (VirtualClusterOutput) Name added in v0.17.0

Name of the virtual cluster.

func (VirtualClusterOutput) Tags added in v0.17.0

An array of key-value pairs to apply to this virtual cluster.

func (VirtualClusterOutput) ToVirtualClusterOutput

func (o VirtualClusterOutput) ToVirtualClusterOutput() VirtualClusterOutput

func (VirtualClusterOutput) ToVirtualClusterOutputWithContext

func (o VirtualClusterOutput) ToVirtualClusterOutputWithContext(ctx context.Context) VirtualClusterOutput

type VirtualClusterState

type VirtualClusterState struct {
}

func (VirtualClusterState) ElementType

func (VirtualClusterState) ElementType() reflect.Type

type VirtualClusterTag

type VirtualClusterTag struct {
	// The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Key string `pulumi:"key"`
	// The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Value string `pulumi:"value"`
}

An arbitrary set of tags (key-value pairs) for this virtual cluster.

Jump to

Keyboard shortcuts

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