CfnConfiguredModelAlgorithmPropsMixin

class aws_cdk.cfn_property_mixins.aws_cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin(props, *, strategy=None)

Bases: Mixin

Definition of AWS::CleanRoomsML::ConfiguredModelAlgorithm Resource Type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanroomsml-configuredmodelalgorithm.html

CloudformationResource:

AWS::CleanRoomsML::ConfiguredModelAlgorithm

Mixin:

true

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.cfn_property_mixins import aws_cleanroomsml as cleanroomsml
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_configured_model_algorithm_props_mixin = cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin(cleanroomsml.CfnConfiguredModelAlgorithmMixinProps(
    description="description",
    inference_container_config=cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.InferenceContainerConfigProperty(
        image_uri="imageUri"
    ),
    kms_key_arn="kmsKeyArn",
    name="name",
    role_arn="roleArn",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )],
    training_container_config=cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.ContainerConfigProperty(
        arguments=["arguments"],
        entrypoint=["entrypoint"],
        image_uri="imageUri",
        metric_definitions=[cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty(
            name="name",
            regex="regex"
        )]
    )
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::CleanRoomsML::ConfiguredModelAlgorithm.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'inferenceContainerConfig', 'kmsKeyArn', 'name', 'roleArn', 'tags', 'trainingContainerConfig']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ContainerConfigProperty

class CfnConfiguredModelAlgorithmPropsMixin.ContainerConfigProperty(*, arguments=None, entrypoint=None, image_uri=None, metric_definitions=None)

Bases: object

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-containerconfig.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.cfn_property_mixins import aws_cleanroomsml as cleanroomsml

container_config_property = cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.ContainerConfigProperty(
    arguments=["arguments"],
    entrypoint=["entrypoint"],
    image_uri="imageUri",
    metric_definitions=[cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty(
        name="name",
        regex="regex"
    )]
)

Attributes

arguments

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-containerconfig.html#cfn-cleanroomsml-configuredmodelalgorithm-containerconfig-arguments

Type:

see

entrypoint

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-containerconfig.html#cfn-cleanroomsml-configuredmodelalgorithm-containerconfig-entrypoint

Type:

see

image_uri

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-containerconfig.html#cfn-cleanroomsml-configuredmodelalgorithm-containerconfig-imageuri

Type:

see

metric_definitions

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-containerconfig.html#cfn-cleanroomsml-configuredmodelalgorithm-containerconfig-metricdefinitions

Type:

see

InferenceContainerConfigProperty

class CfnConfiguredModelAlgorithmPropsMixin.InferenceContainerConfigProperty(*, image_uri=None)

Bases: object

Parameters:

image_uri (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-inferencecontainerconfig.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.cfn_property_mixins import aws_cleanroomsml as cleanroomsml

inference_container_config_property = cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.InferenceContainerConfigProperty(
    image_uri="imageUri"
)

Attributes

image_uri

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-inferencecontainerconfig.html#cfn-cleanroomsml-configuredmodelalgorithm-inferencecontainerconfig-imageuri

Type:

see

MetricDefinitionProperty

class CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty(*, name=None, regex=None)

Bases: object

Parameters:
  • name (Optional[str])

  • regex (Optional[str])

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-metricdefinition.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.cfn_property_mixins import aws_cleanroomsml as cleanroomsml

metric_definition_property = cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty(
    name="name",
    regex="regex"
)

Attributes

name

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-metricdefinition.html#cfn-cleanroomsml-configuredmodelalgorithm-metricdefinition-name

Type:

see

regex

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanroomsml-configuredmodelalgorithm-metricdefinition.html#cfn-cleanroomsml-configuredmodelalgorithm-metricdefinition-regex

Type:

see