Class CfnModelPackageGroup

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.409Z") @Stability(Stable) public class CfnModelPackageGroup extends CfnResource implements IInspectable
A CloudFormation AWS::SageMaker::ModelPackageGroup.

A group of versioned models in the model registry.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sagemaker.*;
 Object modelPackageGroupPolicy;
 CfnModelPackageGroup cfnModelPackageGroup = CfnModelPackageGroup.Builder.create(this, "MyCfnModelPackageGroup")
         .modelPackageGroupName("modelPackageGroupName")
         // the properties below are optional
         .modelPackageGroupDescription("modelPackageGroupDescription")
         .modelPackageGroupPolicy(modelPackageGroupPolicy)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnModelPackageGroup

      protected CfnModelPackageGroup(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnModelPackageGroup

      protected CfnModelPackageGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnModelPackageGroup

      @Stability(Stable) public CfnModelPackageGroup(@NotNull Construct scope, @NotNull String id, @NotNull CfnModelPackageGroupProps props)
      Create a new AWS::SageMaker::ModelPackageGroup.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      The time when the model group was created.
    • getAttrModelPackageGroupArn

      @Stability(Stable) @NotNull public String getAttrModelPackageGroupArn()
      The Amazon Resource Name (ARN) of the model group.
    • getAttrModelPackageGroupStatus

      @Stability(Stable) @NotNull public String getAttrModelPackageGroupStatus()
      The status of the model group.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • getModelPackageGroupName

      @Stability(Stable) @NotNull public String getModelPackageGroupName()
      The name of the model group.
    • setModelPackageGroupName

      @Stability(Stable) public void setModelPackageGroupName(@NotNull String value)
      The name of the model group.
    • getModelPackageGroupPolicy

      @Stability(Stable) @NotNull public Object getModelPackageGroupPolicy()
      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. .

    • setModelPackageGroupPolicy

      @Stability(Stable) public void setModelPackageGroupPolicy(@NotNull Object value)
      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. .

    • getModelPackageGroupDescription

      @Stability(Stable) @Nullable public String getModelPackageGroupDescription()
      The description for the model group.
    • setModelPackageGroupDescription

      @Stability(Stable) public void setModelPackageGroupDescription(@Nullable String value)
      The description for the model group.