Documentation
¶
Index ¶
- type LookupVirtualClusterArgs
- type LookupVirtualClusterOutputArgs
- type LookupVirtualClusterResult
- type LookupVirtualClusterResultOutput
- func (o LookupVirtualClusterResultOutput) Arn() pulumi.StringPtrOutput
- func (LookupVirtualClusterResultOutput) ElementType() reflect.Type
- func (o LookupVirtualClusterResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupVirtualClusterResultOutput) Tags() aws.TagArrayOutput
- func (o LookupVirtualClusterResultOutput) ToLookupVirtualClusterResultOutput() LookupVirtualClusterResultOutput
- func (o LookupVirtualClusterResultOutput) ToLookupVirtualClusterResultOutputWithContext(ctx context.Context) LookupVirtualClusterResultOutput
- type VirtualCluster
- type VirtualClusterArgs
- type VirtualClusterContainerInfo
- type VirtualClusterContainerInfoArgs
- func (VirtualClusterContainerInfoArgs) ElementType() reflect.Type
- func (i VirtualClusterContainerInfoArgs) ToVirtualClusterContainerInfoOutput() VirtualClusterContainerInfoOutput
- func (i VirtualClusterContainerInfoArgs) ToVirtualClusterContainerInfoOutputWithContext(ctx context.Context) VirtualClusterContainerInfoOutput
- type VirtualClusterContainerInfoInput
- type VirtualClusterContainerInfoOutput
- func (o VirtualClusterContainerInfoOutput) EksInfo() VirtualClusterEksInfoOutput
- func (VirtualClusterContainerInfoOutput) ElementType() reflect.Type
- func (o VirtualClusterContainerInfoOutput) ToVirtualClusterContainerInfoOutput() VirtualClusterContainerInfoOutput
- func (o VirtualClusterContainerInfoOutput) ToVirtualClusterContainerInfoOutputWithContext(ctx context.Context) VirtualClusterContainerInfoOutput
- type VirtualClusterContainerProvider
- type VirtualClusterContainerProviderArgs
- func (VirtualClusterContainerProviderArgs) ElementType() reflect.Type
- func (i VirtualClusterContainerProviderArgs) ToVirtualClusterContainerProviderOutput() VirtualClusterContainerProviderOutput
- func (i VirtualClusterContainerProviderArgs) ToVirtualClusterContainerProviderOutputWithContext(ctx context.Context) VirtualClusterContainerProviderOutput
- type VirtualClusterContainerProviderInput
- type VirtualClusterContainerProviderOutput
- func (VirtualClusterContainerProviderOutput) ElementType() reflect.Type
- func (o VirtualClusterContainerProviderOutput) Id() pulumi.StringOutput
- func (o VirtualClusterContainerProviderOutput) Info() VirtualClusterContainerInfoOutput
- func (o VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutput() VirtualClusterContainerProviderOutput
- func (o VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutputWithContext(ctx context.Context) VirtualClusterContainerProviderOutput
- func (o VirtualClusterContainerProviderOutput) Type() pulumi.StringOutput
- type VirtualClusterEksInfo
- type VirtualClusterEksInfoArgs
- type VirtualClusterEksInfoInput
- type VirtualClusterEksInfoOutput
- func (VirtualClusterEksInfoOutput) ElementType() reflect.Type
- func (o VirtualClusterEksInfoOutput) Namespace() pulumi.StringOutput
- func (o VirtualClusterEksInfoOutput) ToVirtualClusterEksInfoOutput() VirtualClusterEksInfoOutput
- func (o VirtualClusterEksInfoOutput) ToVirtualClusterEksInfoOutputWithContext(ctx context.Context) VirtualClusterEksInfoOutput
- type VirtualClusterInput
- type VirtualClusterOutput
- func (o VirtualClusterOutput) Arn() pulumi.StringOutput
- func (o VirtualClusterOutput) AwsId() pulumi.StringOutput
- func (o VirtualClusterOutput) ContainerProvider() VirtualClusterContainerProviderOutput
- func (VirtualClusterOutput) ElementType() reflect.Type
- func (o VirtualClusterOutput) Name() pulumi.StringOutput
- func (o VirtualClusterOutput) Tags() aws.TagArrayOutput
- func (o VirtualClusterOutput) ToVirtualClusterOutput() VirtualClusterOutput
- func (o VirtualClusterOutput) ToVirtualClusterOutputWithContext(ctx context.Context) VirtualClusterOutput
- type VirtualClusterState
- type VirtualClusterTag
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
func (LookupVirtualClusterOutputArgs) ElementType() reflect.Type
type LookupVirtualClusterResult ¶ added in v0.12.0
type LookupVirtualClusterResult struct { // The Amazon Resource Name (ARN) of the project, such as `arn:aws:emr-containers:us-east-1:123456789012:/virtualclusters/ab4rp1abcs8xz47n3x0example` . 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 LookupVirtualClusterOutput(ctx *pulumi.Context, args LookupVirtualClusterOutputArgs, opts ...pulumi.InvokeOption) LookupVirtualClusterResultOutput
func (LookupVirtualClusterResultOutput) Arn ¶ added in v0.12.0
func (o LookupVirtualClusterResultOutput) Arn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the project, such as `arn:aws:emr-containers:us-east-1:123456789012:/virtualclusters/ab4rp1abcs8xz47n3x0example` .
func (LookupVirtualClusterResultOutput) ElementType ¶ added in v0.12.0
func (LookupVirtualClusterResultOutput) ElementType() reflect.Type
func (LookupVirtualClusterResultOutput) Id ¶ added in v0.12.0
func (o LookupVirtualClusterResultOutput) Id() pulumi.StringPtrOutput
Id of the virtual cluster.
func (LookupVirtualClusterResultOutput) Tags ¶ added in v0.12.0
func (o LookupVirtualClusterResultOutput) Tags() aws.TagArrayOutput
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 // The Amazon Resource Name (ARN) of the project, such as `arn:aws:emr-containers:us-east-1:123456789012:/virtualclusters/ab4rp1abcs8xz47n3x0example` . 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 { // The information about the Amazon EKS cluster. EksInfo VirtualClusterEksInfo `pulumi:"eksInfo"` }
type VirtualClusterContainerInfoArgs ¶
type VirtualClusterContainerInfoArgs struct { // The information about the Amazon EKS cluster. EksInfo VirtualClusterEksInfoInput `pulumi:"eksInfo"` }
func (VirtualClusterContainerInfoArgs) ElementType ¶
func (VirtualClusterContainerInfoArgs) ElementType() reflect.Type
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 (o VirtualClusterContainerInfoOutput) EksInfo() VirtualClusterEksInfoOutput
The information about the Amazon EKS cluster.
func (VirtualClusterContainerInfoOutput) ElementType ¶
func (VirtualClusterContainerInfoOutput) ElementType() reflect.Type
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"` // The information about the container cluster. 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"` // The information about the container cluster. Info VirtualClusterContainerInfoInput `pulumi:"info"` // The type of the container provider Type pulumi.StringInput `pulumi:"type"` }
func (VirtualClusterContainerProviderArgs) ElementType ¶
func (VirtualClusterContainerProviderArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
func (VirtualClusterContainerProviderOutput) Id ¶
func (o VirtualClusterContainerProviderOutput) Id() pulumi.StringOutput
The ID of the container cluster
func (VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutput ¶
func (o VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutput() VirtualClusterContainerProviderOutput
func (VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutputWithContext ¶
func (o VirtualClusterContainerProviderOutput) ToVirtualClusterContainerProviderOutputWithContext(ctx context.Context) VirtualClusterContainerProviderOutput
func (VirtualClusterContainerProviderOutput) Type ¶
func (o VirtualClusterContainerProviderOutput) Type() pulumi.StringOutput
The type of the container provider
type VirtualClusterEksInfo ¶
type VirtualClusterEksInfo struct { // The namespaces of the EKS cluster. // // *Minimum* : 1 // // *Maximum* : 63 // // *Pattern* : `[a-z0-9]([-a-z0-9]*[a-z0-9])?` Namespace string `pulumi:"namespace"` }
type VirtualClusterEksInfoArgs ¶
type VirtualClusterEksInfoArgs struct { // The namespaces of the EKS cluster. // // *Minimum* : 1 // // *Maximum* : 63 // // *Pattern* : `[a-z0-9]([-a-z0-9]*[a-z0-9])?` 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) ElementType() reflect.Type
func (VirtualClusterEksInfoOutput) Namespace ¶
func (o VirtualClusterEksInfoOutput) Namespace() pulumi.StringOutput
The namespaces of the EKS cluster.
*Minimum* : 1
*Maximum* : 63
*Pattern* : `[a-z0-9]([-a-z0-9]*[a-z0-9])?`
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 (o VirtualClusterOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the project, such as `arn:aws:emr-containers:us-east-1:123456789012:/virtualclusters/ab4rp1abcs8xz47n3x0example` .
func (VirtualClusterOutput) AwsId ¶ added in v0.99.0
func (o VirtualClusterOutput) AwsId() pulumi.StringOutput
Id of the virtual cluster.
func (VirtualClusterOutput) ContainerProvider ¶ added in v0.17.0
func (o VirtualClusterOutput) ContainerProvider() VirtualClusterContainerProviderOutput
Container provider of the virtual cluster.
func (VirtualClusterOutput) ElementType ¶
func (VirtualClusterOutput) ElementType() reflect.Type
func (VirtualClusterOutput) Name ¶ added in v0.17.0
func (o VirtualClusterOutput) Name() pulumi.StringOutput
Name of the virtual cluster.
func (VirtualClusterOutput) Tags ¶ added in v0.17.0
func (o VirtualClusterOutput) Tags() aws.TagArrayOutput
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.