Class CfnHub
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnHub
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IHubRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-22T17:37:34.168Z")
@Stability(Stable)
public class CfnHub
extends CfnResource
implements IInspectable, IHubRef, ITaggableV2
Resource type definition for AWS::SageMaker::Hub.
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.*;
CfnHub cfnHub = CfnHub.Builder.create(this, "MyCfnHub")
.hubDescription("hubDescription")
.hubName("hubName")
// the properties below are optional
.hubDisplayName("hubDisplayName")
.hubSearchKeywords(List.of("hubSearchKeywords"))
.s3StorageConfig(S3StorageConfigProperty.builder()
.s3OutputPath("s3OutputPath")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnHub.static interfaceThe Amazon S3 storage configuration for the hub.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.sagemaker.IHubRef
IHubRef.Jsii$Default, IHubRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnHub(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnHub(software.amazon.jsii.JsiiObjectRef objRef) CfnHub(software.constructs.Construct scope, String id, CfnHubProps props) Create a newAWS::SageMaker::Hub. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe date and time that the hub was created.The Amazon Resource Name (ARN) of the hub.The status of the hub.The date and time that the hub was last modified.Tag Manager which manages the tags for this resource.A description of the hub.The display name of the hub.The name of the hub.A reference to a Hub resource.The searchable keywords for the hub.The Amazon S3 storage configuration for the hub.getTags()Tags to associate with the hub.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnHub.renderProperties(Map<String, Object> props) voidsetHubDescription(String value) A description of the hub.voidsetHubDisplayName(String value) The display name of the hub.voidsetHubName(String value) The name of the hub.voidsetHubSearchKeywords(List<String> value) The searchable keywords for the hub.voidsetS3StorageConfig(IResolvable value) The Amazon S3 storage configuration for the hub.voidThe Amazon S3 storage configuration for the hub.voidTags to associate with the hub.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnHub
protected CfnHub(software.amazon.jsii.JsiiObjectRef objRef) -
CfnHub
protected CfnHub(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnHub
@Stability(Stable) public CfnHub(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnHubProps props) Create a newAWS::SageMaker::Hub.- 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
-
arnForHub
- Parameters:
resource- This parameter is required.
-
isCfnHub
Checks whether the given object is a CfnHub.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrCreationTime
The date and time that the hub was created. -
getAttrHubArn
The Amazon Resource Name (ARN) of the hub. -
getAttrHubStatus
The status of the hub. -
getAttrLastModifiedTime
The date and time that the hub was last modified. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getHubRef
A reference to a Hub resource. -
getHubDescription
A description of the hub. -
setHubDescription
A description of the hub. -
getHubName
The name of the hub. -
setHubName
The name of the hub. -
getHubDisplayName
The display name of the hub. -
setHubDisplayName
The display name of the hub. -
getHubSearchKeywords
The searchable keywords for the hub. -
setHubSearchKeywords
The searchable keywords for the hub. -
getS3StorageConfig
The Amazon S3 storage configuration for the hub.Returns union: either
IResolvableorCfnHub.S3StorageConfigProperty -
setS3StorageConfig
The Amazon S3 storage configuration for the hub. -
setS3StorageConfig
The Amazon S3 storage configuration for the hub. -
getTags
Tags to associate with the hub. -
setTags
Tags to associate with the hub.
-