Skip to content
v2.277.0

ContainerConfigProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanroomsml as cleanroomsml } from 'aws-cdk-lib';
const containerConfigProperty: cleanroomsml.CfnConfiguredModelAlgorithm.ContainerConfigProperty = {
  imageUri: 'imageUri',

  // the properties below are optional
  arguments: ['arguments'],
  entrypoint: ['entrypoint'],
  metricDefinitions: [{
    name: 'name',
    regex: 'regex',
  }],
};
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_cleanroomsml as cleanroomsml

container_config_property = cleanroomsml.CfnConfiguredModelAlgorithm.ContainerConfigProperty(
    image_uri="imageUri",

    # the properties below are optional
    arguments=["arguments"],
    entrypoint=["entrypoint"],
    metric_definitions=[cleanroomsml.CfnConfiguredModelAlgorithm.MetricDefinitionProperty(
        name="name",
        regex="regex"
    )]
)
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.cleanroomsml.*;

ContainerConfigProperty containerConfigProperty = ContainerConfigProperty.builder()
        .imageUri("imageUri")

        // the properties below are optional
        .arguments(List.of("arguments"))
        .entrypoint(List.of("entrypoint"))
        .metricDefinitions(List.of(MetricDefinitionProperty.builder()
                .name("name")
                .regex("regex")
                .build()))
        .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.CleanRoomsML;

var containerConfigProperty = new ContainerConfigProperty {
    ImageUri = "imageUri",

    // the properties below are optional
    Arguments = new [] { "arguments" },
    Entrypoint = new [] { "entrypoint" },
    MetricDefinitions = new [] { new MetricDefinitionProperty {
        Name = "name",
        Regex = "regex"
    } }
};
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"

containerConfigProperty := &ContainerConfigProperty{
	ImageUri: jsii.String("imageUri"),

	// the properties below are optional
	Arguments: []*string{
		jsii.String("arguments"),
	},
	Entrypoint: []*string{
		jsii.String("entrypoint"),
	},
	MetricDefinitions: []interface{}{
		&MetricDefinitionProperty{
			Name: jsii.String("name"),
			Regex: jsii.String("regex"),
		},
	},
}

Properties ​

argumentsoptionalstring[]argumentsoptionaltyping.List[str]argumentsoptionalList<String>Argumentsoptionalstring[]Argumentsoptional*[]*string #
entrypointoptionalstring[]entrypointoptionaltyping.List[str]entrypointoptionalList<String>Entrypointoptionalstring[]Entrypointoptional*[]*string #
imageUristringimage_uristrimageUriStringImageUristringImageUri*string required #
metricDefinitionsoptionalIResolvable | IResolvable | CfnConfiguredModelAlgorithm.MetricDefinitionProperty[]metric_definitionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, MetricDefinitionProperty]]]metricDefinitionsoptionalIResolvableMetricDefinitionsoptionalIResolvableMetricDefinitionsoptionalinterface{} #