Skip to content
v2.278.0

ContainerProviderProperty Struct ​

The information about the container provider.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrcontainers as emrcontainers } from 'aws-cdk-lib';
const containerProviderProperty: emrcontainers.CfnVirtualCluster.ContainerProviderProperty = {
  id: 'id',
  info: {
    eksInfo: {
      namespace: 'namespace',
    },
  },
  type: 'type',
};
python
# 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

container_provider_property = emrcontainers.CfnVirtualCluster.ContainerProviderProperty(
    id="id",
    info=emrcontainers.CfnVirtualCluster.ContainerInfoProperty(
        eks_info=emrcontainers.CfnVirtualCluster.EksInfoProperty(
            namespace="namespace"
        )
    ),
    type="type"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.emrcontainers.*;

ContainerProviderProperty containerProviderProperty = ContainerProviderProperty.builder()
        .id("id")
        .info(ContainerInfoProperty.builder()
                .eksInfo(EksInfoProperty.builder()
                        .namespace("namespace")
                        .build())
                .build())
        .type("type")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMRContainers;

var containerProviderProperty = new ContainerProviderProperty {
    Id = "id",
    Info = new ContainerInfoProperty {
        EksInfo = new EksInfoProperty {
            Namespace = "namespace"
        }
    },
    Type = "type"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

containerProviderProperty := &ContainerProviderProperty{
	Id: jsii.String("id"),
	Info: &ContainerInfoProperty{
		EksInfo: &EksInfoProperty{
			Namespace: jsii.String("namespace"),
		},
	},
	Type: jsii.String("type"),
}

Properties ​

idstringidstridStringIdstringId*string required #
The ID of the container cluster.

Minimum : 1

Maximum : 100

Pattern : ^[0-9A-Za-z][A-Za-z0-9\-_]*

The information about the container cluster.
typestringtypestrtypeStringTypestringType*string required #
The type of the container provider.

Amazon EKS is the only supported type as of now.