Class CfnImageVersionPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnImageVersionPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:04.977Z")
@Stability(Stable)
public class CfnImageVersionPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a version of the SageMaker image specified by
ImageName .
The version represents the Amazon Container Registry (ECR) container image specified by BaseImage .
You can use the
DependsOnattribute to specify that the creation of a specific resource follows another. You can use it for the following use cases. For more information, seeDependsOnattribute .
DependsOncan be used to establish a parent/child relationship betweenImageVersionandImagewhere theImageVersionDependsOntheImage.DependsOncan be used to establish order amongImageVersions within the sameImagenamespace. For example, if ImageVersionBDependsOnImageVersionA and both share the same parentImage, then ImageVersionA is version N and ImageVersionB is N+1.
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.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnImageVersionPropsMixin cfnImageVersionPropsMixin = CfnImageVersionPropsMixin.Builder.create(CfnImageVersionMixinProps.builder()
.alias("alias")
.aliases(List.of("aliases"))
.baseImage("baseImage")
.horovod(false)
.imageName("imageName")
.jobType("jobType")
.mlFramework("mlFramework")
.processor("processor")
.programmingLang("programmingLang")
.releaseNotes("releaseNotes")
.vendorGuidance("vendorGuidance")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnImageVersionPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SageMaker::ImageVersion.Create a mixin to apply properties toAWS::SageMaker::ImageVersion.protectedCfnImageVersionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnImageVersionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnImageVersionMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods 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, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnImageVersionPropsMixin
protected CfnImageVersionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnImageVersionPropsMixin
protected CfnImageVersionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnImageVersionPropsMixin
@Stability(Stable) public CfnImageVersionPropsMixin(@NotNull CfnImageVersionMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SageMaker::ImageVersion.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnImageVersionPropsMixin
Create a mixin to apply properties toAWS::SageMaker::ImageVersion.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-