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.EmrContainers.Inputs.VirtualClusterTagArgs
{
Key = "Key1",
Value = "Value1",
},
},
});
return new Dictionary<string, object?>
{
["primaryId"] = null,
};
});
package main
import (
"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: []emrcontainers.VirtualClusterTagArgs{
{
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.emrcontainers.VirtualClusterTagArgs(
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.EmrContainers.Inputs.VirtualClusterTagArgs
{
Key = "Key1",
Value = "Value1",
},
},
});
return new Dictionary<string, object?>
{
["primaryId"] = testVirtualCluster.Id,
};
});
package main
import (
"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: []emrcontainers.VirtualClusterTagArgs{
{
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.emrcontainers.VirtualClusterTagArgs(
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
new VirtualCluster(name: string, args: VirtualClusterArgs, opts?: CustomResourceOptions);
@overload
def VirtualCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_provider: Optional[VirtualClusterContainerProviderArgs] = None,
name: Optional[str] = None,
tags: Optional[Sequence[VirtualClusterTagArgs]] = None)
@overload
def VirtualCluster(resource_name: str,
args: VirtualClusterArgs,
opts: Optional[ResourceOptions] = 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.
- 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. Emr Containers. Inputs. 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 string
Name of the virtual cluster.
- []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<Virtual
Cluster 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.
- 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[Virtual
Cluster 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
VirtualClusterContainerInfo, VirtualClusterContainerInfoArgs
VirtualClusterContainerProvider, VirtualClusterContainerProviderArgs
- Id string
The ID of the container cluster
- Info
Pulumi.
Aws Native. Emr Containers. Inputs. Virtual Cluster Container Info - Type string
The type of the container provider
- Id string
The ID of the container cluster
- Info
Virtual
Cluster Container Info - Type string
The type of the container provider
- id String
The ID of the container cluster
- info
Virtual
Cluster Container Info - type String
The type of the container provider
- id string
The ID of the container cluster
- info
Virtual
Cluster Container Info - type string
The type of the container provider
- id str
The ID of the container cluster
- info
Virtual
Cluster Container Info - type str
The type of the container provider
- id String
The ID of the container cluster
- info Property Map
- type String
The type of the container provider
VirtualClusterEksInfo, VirtualClusterEksInfoArgs
- Namespace string
- Namespace string
- namespace String
- namespace string
- namespace str
- namespace String
VirtualClusterTag, VirtualClusterTagArgs
- Key string
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 -.
- Value string
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 -.
- Key string
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 -.
- Value string
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 -.
- key String
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 -.
- value String
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 -.
- key string
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 -.
- value string
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 -.
- key str
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 -.
- value str
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 -.
- key String
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 -.
- value String
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 -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.