CfnVirtualClusterProps

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

Bases: object

Properties for defining a AWS::EMRContainers::VirtualCluster.

Parameters
  • container_provider (Union[ContainerProviderProperty, IResolvable]) – AWS::EMRContainers::VirtualCluster.ContainerProvider.

  • name (str) – AWS::EMRContainers::VirtualCluster.Name.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EMRContainers::VirtualCluster.Tags.

Link

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

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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

AWS::EMRContainers::VirtualCluster.ContainerProvider.

Link

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

Return type

Union[ContainerProviderProperty, IResolvable]

name

AWS::EMRContainers::VirtualCluster.Name.

Link

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

Return type

str

tags

AWS::EMRContainers::VirtualCluster.Tags.

Link

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

Return type

Optional[List[CfnTag]]