CfnHubPropsMixin
- class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnHubPropsMixin(props, *, strategy=None)
Bases:
MixinResource type definition for AWS::SageMaker::Hub.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-hub.html
- CloudformationResource:
AWS::SageMaker::Hub
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_sagemaker as sagemaker import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_hub_props_mixin = sagemaker.CfnHubPropsMixin(sagemaker.CfnHubMixinProps( hub_description="hubDescription", hub_display_name="hubDisplayName", hub_name="hubName", hub_search_keywords=["hubSearchKeywords"], s3_storage_config=sagemaker.CfnHubPropsMixin.S3StorageConfigProperty( s3_output_path="s3OutputPath" ), tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SageMaker::Hub.- Parameters:
props (
Union[CfnHubMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['hubDescription', 'hubDisplayName', 'hubName', 'hubSearchKeywords', 's3StorageConfig', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
S3StorageConfigProperty
- class CfnHubPropsMixin.S3StorageConfigProperty(*, s3_output_path=None)
Bases:
objectThe Amazon S3 storage configuration for the hub.
- Parameters:
s3_output_path (
Optional[str]) – The Amazon S3 bucket prefix for hosting hub content.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_sagemaker as sagemaker s3_storage_config_property = sagemaker.CfnHubPropsMixin.S3StorageConfigProperty( s3_output_path="s3OutputPath" )
Attributes
- s3_output_path
The Amazon S3 bucket prefix for hosting hub content.