CfnConfiguredModelAlgorithmPropsMixin
- class aws_cdk.cfn_property_mixins.aws_cleanroomsml.CfnConfiguredModelAlgorithmPropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::CleanRoomsML::ConfiguredModelAlgorithm Resource Type.
- See:
- 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:
props (
Union[CfnConfiguredModelAlgorithmMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ContainerConfigProperty
- class CfnConfiguredModelAlgorithmPropsMixin.ContainerConfigProperty(*, arguments=None, entrypoint=None, image_uri=None, metric_definitions=None)
Bases:
object- Parameters:
arguments (
Optional[Sequence[str]])entrypoint (
Optional[Sequence[str]])image_uri (
Optional[str])metric_definitions (
Union[IResolvable,Sequence[Union[IResolvable,MetricDefinitionProperty,Dict[str,Any]]],None])
- See:
- 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
-
- Type:
see
- entrypoint
-
- Type:
see
- image_uri
-
- Type:
see
InferenceContainerConfigProperty
- class CfnConfiguredModelAlgorithmPropsMixin.InferenceContainerConfigProperty(*, image_uri=None)
Bases:
object- Parameters:
image_uri (
Optional[str])- See:
- 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
MetricDefinitionProperty
- class CfnConfiguredModelAlgorithmPropsMixin.MetricDefinitionProperty(*, name=None, regex=None)
Bases:
object- Parameters:
name (
Optional[str])regex (
Optional[str])
- See:
- 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
-
- Type:
see