CfnModelPackageGroupProps

class aws_cdk.aws_sagemaker.CfnModelPackageGroupProps(*, model_package_group_name, model_package_group_description=None, model_package_group_policy=None, tags=None)

Bases: object

Properties 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 (Optional[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 .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-modelpackagegroupdescription

model_package_group_name

The name of the model group.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-modelpackagegroupname

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. .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-modelpackagegrouppolicy

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-tags