CfnContextMixinProps
- class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnContextMixinProps(*, context_name=None, context_type=None, description=None, properties=None, source=None, tags=None)
Bases:
objectProperties for CfnContextPropsMixin.
- Parameters:
context_name (
Optional[str]) – The name of the context. Must be unique to your account in an AWS Region.context_type (
Optional[str]) – The context type.description (
Optional[str]) – The description of the context.properties (
Union[IResolvable,Mapping[str,str],None]) – A list of properties to add to the context.source (
Union[IResolvable,SourceProperty,Dict[str,Any],None]) – The source type, ID, and URI.tags (
Optional[Sequence[Union[TagsItemsProperty,Dict[str,Any]]]]) – A list of tags to apply to the context.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-context.html
- 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 cfn_context_mixin_props = sagemaker.CfnContextMixinProps( context_name="contextName", context_type="contextType", description="description", properties={ "properties_key": "properties" }, source=sagemaker.CfnContextPropsMixin.SourceProperty( source_id="sourceId", source_type="sourceType", source_uri="sourceUri" ), tags=[sagemaker.CfnContextPropsMixin.TagsItemsProperty( key="key", value="value" )] )
Attributes
- context_name
The name of the context.
Must be unique to your account in an AWS Region.
- context_type
The context type.
- description
The description of the context.
- properties
A list of properties to add to the context.
- source
The source type, ID, and URI.
- tags
A list of tags to apply to the context.