Class CfnModelPackageGroup

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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:16.629Z") @Stability(Stable) public class CfnModelPackageGroup extends CfnResource implements IInspectable, ITaggable
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();
 

See Also:
  • 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnModelPackageGroupProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). 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()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • 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.
    • 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.
    • getModelPackageGroupPolicy

      @Stability(Stable) @Nullable public Object getModelPackageGroupPolicy()
      A resouce policy to control access to a model group.
    • setModelPackageGroupPolicy

      @Stability(Stable) public void setModelPackageGroupPolicy(@Nullable Object value)
      A resouce policy to control access to a model group.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      An array of key-value pairs to apply to this resource.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.