@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:39.891Z") public class CfnModelPackageGroup extends CfnResource implements IInspectable
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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnModelPackageGroup.Builder
A fluent builder for
CfnModelPackageGroup . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnModelPackageGroup(Construct scope,
java.lang.String id,
CfnModelPackageGroupProps props)
Create a new `AWS::SageMaker::ModelPackageGroup`.
|
protected |
CfnModelPackageGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnModelPackageGroup(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrCreationTime()
The time when the model group was created.
|
java.lang.String |
getAttrModelPackageGroupArn()
The Amazon Resource Name (ARN) of the model group.
|
java.lang.String |
getAttrModelPackageGroupStatus()
The status of the model group.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getModelPackageGroupDescription()
The description for the model group.
|
java.lang.String |
getModelPackageGroupName()
The name of the model group.
|
java.lang.Object |
getModelPackageGroupPolicy()
A resouce policy to control access to a model group.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setModelPackageGroupDescription(java.lang.String value)
The description for the model group.
|
void |
setModelPackageGroupName(java.lang.String value)
The name of the model group.
|
void |
setModelPackageGroupPolicy(java.lang.Object value)
A resouce policy to control access to a model group.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnModelPackageGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnModelPackageGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnModelPackageGroup(Construct scope, java.lang.String id, CfnModelPackageGroupProps props)
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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrCreationTime()
public java.lang.String getAttrModelPackageGroupArn()
public java.lang.String getAttrModelPackageGroupStatus()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
For more information, see Tag .
public java.lang.String getModelPackageGroupName()
public void setModelPackageGroupName(java.lang.String value)
public java.lang.Object getModelPackageGroupPolicy()
For information about resoure policies, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide. .
public void setModelPackageGroupPolicy(java.lang.Object value)
For information about resoure policies, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide. .
public java.lang.String getModelPackageGroupDescription()
public void setModelPackageGroupDescription(java.lang.String value)