CfnVirtualClusterProps

class aws_cdk.aws_emrcontainers.CfnVirtualClusterProps(*, container_provider, name, tags=None)

Bases: object

Properties for defining a CfnVirtualCluster.

Parameters:
  • container_provider (Union[IResolvable, ContainerProviderProperty, Dict[str, Any]]) – The container provider of the virtual cluster.

  • name (str) – The name of the virtual cluster.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_emrcontainers as emrcontainers

cfn_virtual_cluster_props = emrcontainers.CfnVirtualClusterProps(
    container_provider=emrcontainers.CfnVirtualCluster.ContainerProviderProperty(
        id="id",
        info=emrcontainers.CfnVirtualCluster.ContainerInfoProperty(
            eks_info=emrcontainers.CfnVirtualCluster.EksInfoProperty(
                namespace="namespace"
            )
        ),
        type="type"
    ),
    name="name",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

container_provider

The container provider of the virtual cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html#cfn-emrcontainers-virtualcluster-containerprovider

name

The name of the virtual cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html#cfn-emrcontainers-virtualcluster-name

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-virtualcluster.html#cfn-emrcontainers-virtualcluster-tags