Interface CfnContextMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnContextMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:25.808Z")
@Stability(Stable)
public interface CfnContextMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnContextPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
CfnContextMixinProps cfnContextMixinProps = CfnContextMixinProps.builder()
.contextName("contextName")
.contextType("contextType")
.description("description")
.properties(Map.of(
"propertiesKey", "properties"))
.source(SourceProperty.builder()
.sourceId("sourceId")
.sourceType("sourceType")
.sourceUri("sourceUri")
.build())
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnContextMixinPropsstatic final classAn implementation forCfnContextMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnContextMixinProps.Builderbuilder()default StringThe name of the context.default StringThe context type.default StringThe description of the context.default ObjectA list of properties to add to the context.default ObjectThe source type, ID, and URI.getTags()A list of tags to apply to the context.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContextName
The name of the context.Must be unique to your account in an AWS Region.
- See Also:
-
getContextType
The context type.- See Also:
-
getDescription
The description of the context.- See Also:
-
getProperties
A list of properties to add to the context.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getSource
The source type, ID, and URI.Returns union: either
IResolvableorCfnContextPropsMixin.SourceProperty- See Also:
-
getTags
A list of tags to apply to the context.- See Also:
-
builder
- Returns:
- a
CfnContextMixinProps.BuilderofCfnContextMixinProps
-