AWS Native is in preview. AWS Classic is fully supported.
aws-native.emrcontainers.VirtualCluster
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Schema of AWS::EMRContainers::VirtualCluster Type
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var testVirtualCluster = new AwsNative.EmrContainers.VirtualCluster("testVirtualCluster", new()
{
Name = "VirtualClusterName",
ContainerProvider = new AwsNative.EmrContainers.Inputs.VirtualClusterContainerProviderArgs
{
Type = "EKS",
Id = "EKSClusterName",
Info = new AwsNative.EmrContainers.Inputs.VirtualClusterContainerInfoArgs
{
EksInfo = new AwsNative.EmrContainers.Inputs.VirtualClusterEksInfoArgs
{
Namespace = "EKSNamespace",
},
},
},
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "Key1",
Value = "Value1",
},
},
});
return new Dictionary<string, object?>
{
["primaryId"] = null,
};
});
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
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
test_virtual_cluster = aws_native.emrcontainers.VirtualCluster("testVirtualCluster",
name="VirtualClusterName",
container_provider=aws_native.emrcontainers.VirtualClusterContainerProviderArgs(
type="EKS",
id="EKSClusterName",
info=aws_native.emrcontainers.VirtualClusterContainerInfoArgs(
eks_info=aws_native.emrcontainers.VirtualClusterEksInfoArgs(
namespace="EKSNamespace",
),
),
),
tags=[aws_native.TagArgs(
key="Key1",
value="Value1",
)])
pulumi.export("primaryId", None)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const testVirtualCluster = new aws_native.emrcontainers.VirtualCluster("testVirtualCluster", {
name: "VirtualClusterName",
containerProvider: {
type: "EKS",
id: "EKSClusterName",
info: {
eksInfo: {
namespace: "EKSNamespace",
},
},
},
tags: [{
key: "Key1",
value: "Value1",
}],
});
export const primaryId = undefined;
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var testVirtualCluster = new AwsNative.EmrContainers.VirtualCluster("testVirtualCluster", new()
{
Name = "VirtualClusterName",
ContainerProvider = new AwsNative.EmrContainers.Inputs.VirtualClusterContainerProviderArgs
{
Type = "EKS",
Id = "EKSClusterName",
Info = new AwsNative.EmrContainers.Inputs.VirtualClusterContainerInfoArgs
{
EksInfo = new AwsNative.EmrContainers.Inputs.VirtualClusterEksInfoArgs
{
Namespace = "EKSNamespace",
},
},
},
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "Key1",
Value = "Value1",
},
},
});
return new Dictionary<string, object?>
{
["primaryId"] = testVirtualCluster.Id,
};
});
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
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
test_virtual_cluster = aws_native.emrcontainers.VirtualCluster("testVirtualCluster",
name="VirtualClusterName",
container_provider=aws_native.emrcontainers.VirtualClusterContainerProviderArgs(
type="EKS",
id="EKSClusterName",
info=aws_native.emrcontainers.VirtualClusterContainerInfoArgs(
eks_info=aws_native.emrcontainers.VirtualClusterEksInfoArgs(
namespace="EKSNamespace",
),
),
),
tags=[aws_native.TagArgs(
key="Key1",
value="Value1",
)])
pulumi.export("primaryId", test_virtual_cluster.id)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const testVirtualCluster = new aws_native.emrcontainers.VirtualCluster("testVirtualCluster", {
name: "VirtualClusterName",
containerProvider: {
type: "EKS",
id: "EKSClusterName",
info: {
eksInfo: {
namespace: "EKSNamespace",
},
},
},
tags: [{
key: "Key1",
value: "Value1",
}],
});
export const primaryId = testVirtualCluster.id;
Coming soon!
Create VirtualCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualCluster(name: string, args: VirtualClusterArgs, opts?: CustomResourceOptions);
@overload
def VirtualCluster(resource_name: str,
args: VirtualClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_provider: Optional[VirtualClusterContainerProviderArgs] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewVirtualCluster(ctx *Context, name string, args VirtualClusterArgs, opts ...ResourceOption) (*VirtualCluster, error)
public VirtualCluster(string name, VirtualClusterArgs args, CustomResourceOptions? opts = null)
public VirtualCluster(String name, VirtualClusterArgs args)
public VirtualCluster(String name, VirtualClusterArgs args, CustomResourceOptions options)
type: aws-native:emrcontainers:VirtualCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VirtualClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VirtualClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VirtualClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VirtualCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VirtualCluster resource accepts the following input properties:
- Container
Provider Pulumi.Aws Native. Emr Containers. Inputs. Virtual Cluster Container Provider - Container provider of the virtual cluster.
- Name string
- Name of the virtual cluster.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this virtual cluster.
- Container
Provider VirtualCluster Container Provider Args - Container provider of the virtual cluster.
- Name string
- Name of the virtual cluster.
- Tag
Args - An array of key-value pairs to apply to this virtual cluster.
- container
Provider VirtualCluster Container Provider - Container provider of the virtual cluster.
- name String
- Name of the virtual cluster.
- List<Tag>
- An array of key-value pairs to apply to this virtual cluster.
- container
Provider VirtualCluster Container Provider - Container provider of the virtual cluster.
- name string
- Name of the virtual cluster.
- Tag[]
- An array of key-value pairs to apply to this virtual cluster.
- container_
provider VirtualCluster Container Provider Args - Container provider of the virtual cluster.
- name str
- Name of the virtual cluster.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this virtual cluster.
- container
Provider Property Map - Container provider of the virtual cluster.
- name String
- Name of the virtual cluster.
- List<Property Map>
- An array of key-value pairs to apply to this virtual cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualCluster resource produces the following output properties:
Supporting Types
Tag, TagArgs
VirtualClusterContainerInfo, VirtualClusterContainerInfoArgs
- Eks
Info Pulumi.Aws Native. Emr Containers. Inputs. Virtual Cluster Eks Info - The information about the Amazon EKS cluster.
- Eks
Info VirtualCluster Eks Info - The information about the Amazon EKS cluster.
- eks
Info VirtualCluster Eks Info - The information about the Amazon EKS cluster.
- eks
Info VirtualCluster Eks Info - The information about the Amazon EKS cluster.
- eks_
info VirtualCluster Eks Info - The information about the Amazon EKS cluster.
- eks
Info Property Map - The information about the Amazon EKS cluster.
VirtualClusterContainerProvider, VirtualClusterContainerProviderArgs
- Id string
- The ID of the container cluster
- Info
Pulumi.
Aws Native. Emr Containers. Inputs. Virtual Cluster Container Info - The information about the container cluster.
- Type string
- The type of the container provider
- Id string
- The ID of the container cluster
- Info
Virtual
Cluster Container Info - The information about the container cluster.
- Type string
- The type of the container provider
- id String
- The ID of the container cluster
- info
Virtual
Cluster Container Info - The information about the container cluster.
- type String
- The type of the container provider
- id string
- The ID of the container cluster
- info
Virtual
Cluster Container Info - The information about the container cluster.
- type string
- The type of the container provider
- id str
- The ID of the container cluster
- info
Virtual
Cluster Container Info - The information about the container cluster.
- type str
- The type of the container provider
- id String
- The ID of the container cluster
- info Property Map
- The information about the container cluster.
- type String
- The type of the container provider
VirtualClusterEksInfo, VirtualClusterEksInfoArgs
- Namespace string
The namespaces of the EKS cluster.
Minimum : 1
Maximum : 63
Pattern :
[a-z0-9]([-a-z0-9]*[a-z0-9])?
- Namespace string
The namespaces of the EKS cluster.
Minimum : 1
Maximum : 63
Pattern :
[a-z0-9]([-a-z0-9]*[a-z0-9])?
- namespace String
The namespaces of the EKS cluster.
Minimum : 1
Maximum : 63
Pattern :
[a-z0-9]([-a-z0-9]*[a-z0-9])?
- namespace string
The namespaces of the EKS cluster.
Minimum : 1
Maximum : 63
Pattern :
[a-z0-9]([-a-z0-9]*[a-z0-9])?
- namespace str
The namespaces of the EKS cluster.
Minimum : 1
Maximum : 63
Pattern :
[a-z0-9]([-a-z0-9]*[a-z0-9])?
- namespace String
The namespaces of the EKS cluster.
Minimum : 1
Maximum : 63
Pattern :
[a-z0-9]([-a-z0-9]*[a-z0-9])?
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.