CfnModelPackageGroupProps
- class aws_cdk.aws_sagemaker.CfnModelPackageGroupProps(*, model_package_group_name, model_package_group_description=None, model_package_group_policy=None, tags=None)
Bases:
objectProperties for defining a
CfnModelPackageGroup.- Parameters:
model_package_group_name (
str) – The name of the model group.model_package_group_description (
Optional[str]) – The description for the model group.model_package_group_policy (
Any) – A resouce policy to control access to a model group. For information about resoure policies, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide. .tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .
- 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 import aws_sagemaker as sagemaker # model_package_group_policy: Any cfn_model_package_group_props = sagemaker.CfnModelPackageGroupProps( model_package_group_name="modelPackageGroupName", # the properties below are optional model_package_group_description="modelPackageGroupDescription", model_package_group_policy=model_package_group_policy, tags=[CfnTag( key="key", value="value" )] )
Attributes
- model_package_group_description
The description for the model group.
- model_package_group_name
The name of the model group.
- model_package_group_policy
A resouce policy to control access to a model group.
For information about resoure policies, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide. .