Skip to content

Resource: awsSagemakerModelPackageGroup

Provides a SageMaker Model Package Group resource.

Example Usage

Basic usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.sagemakerModelPackageGroup.SagemakerModelPackageGroup(this, "example", {
  modelPackageGroupName: "example",
});

Argument Reference

The following arguments are supported:

  • modelPackageGroupName - (Required) The name of the model group.
  • modelPackageGroupDescription - (Optional) A description for the model group.
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - The name of the Model Package Group.
  • arn - The Amazon Resource Name (ARN) assigned by AWS to this Model Package Group.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Import

SageMaker Model Package Groups can be imported using the name, e.g.,

$ terraform import aws_sagemaker_model_package_group.test_model_package_group my-code-repo