@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.918Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnModelPackageGroup(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrCreationTime()
The time when the model group was created.
|
String |
getAttrModelPackageGroupArn()
The Amazon Resource Name (ARN) of the model group.
|
String |
getAttrModelPackageGroupStatus()
The status of the model group.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getModelPackageGroupDescription()
The description for the model group.
|
String |
getModelPackageGroupName()
The name of the model group.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setModelPackageGroupDescription(String value)
The description for the model group.
|
void |
setModelPackageGroupName(String value)
The name of the model group.
|
void |
setModelPackageGroupPolicy(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnModelPackageGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnModelPackageGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnModelPackageGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrModelPackageGroupArn()
@Stability(value=Stable) @NotNull public String getAttrModelPackageGroupStatus()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @NotNull public String getModelPackageGroupName()
@Stability(value=Stable)
public void setModelPackageGroupName(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getModelPackageGroupPolicy()
For information about resoure policies, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide. .
@Stability(value=Stable)
public void setModelPackageGroupPolicy(@NotNull
Object value)
For information about resoure policies, see Identity-based policies and resource-based policies in the AWS Identity and Access Management User Guide. .
@Stability(value=Stable) @Nullable public String getModelPackageGroupDescription()
@Stability(value=Stable)
public void setModelPackageGroupDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.