CfnModelPackageGroupPropsMixin
- class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnModelPackageGroupPropsMixin(props, *, strategy=None)
Bases:
MixinA group of versioned models in the Model Registry.
- See:
- CloudformationResource:
AWS::SageMaker::ModelPackageGroup
- 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_sagemaker as sagemaker import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy # model_package_group_policy: Any cfn_model_package_group_props_mixin = sagemaker.CfnModelPackageGroupPropsMixin(sagemaker.CfnModelPackageGroupMixinProps( model_package_group_description="modelPackageGroupDescription", model_package_group_name="modelPackageGroupName", model_package_group_policy=model_package_group_policy, tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SageMaker::ModelPackageGroup.- Parameters:
props (
Union[CfnModelPackageGroupMixinProps,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 = ['modelPackageGroupDescription', 'modelPackageGroupName', 'modelPackageGroupPolicy', 'tags']
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.