# ContainerProviderProperty

Struct · External

The information about the container provider.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `id`: string (required) — The ID of the container cluster.

  *Minimum* : 1

  *Maximum* : 100

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

- `info`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVirtualCluster.ContainerInfoProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_emrcontainers.CfnVirtualCluster.ContainerInfoProperty.html) (required) — The information about the container cluster.

- `type`: string (required) — The type of the container provider.

  Amazon EKS is the only supported type as of now.
