Interface CfnArtifactMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnArtifactMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:33.841Z")
@Stability(Stable)
public interface CfnArtifactMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnArtifactPropsMixin.
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.*;
CfnArtifactMixinProps cfnArtifactMixinProps = CfnArtifactMixinProps.builder()
.artifactName("artifactName")
.artifactType("artifactType")
.metadataProperties(MetadataPropertiesProperty.builder()
.commitId("commitId")
.generatedBy("generatedBy")
.projectId("projectId")
.repository("repository")
.build())
.properties(Map.of(
"propertiesKey", "properties"))
.source(ArtifactSourceProperty.builder()
.sourceTypes(List.of(ArtifactSourceTypeProperty.builder()
.sourceIdType("sourceIdType")
.value("value")
.build()))
.sourceUri("sourceUri")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnArtifactMixinPropsstatic final classAn implementation forCfnArtifactMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the artifact.default StringThe artifact type.default ObjectReturns union: eitherIResolvableorCfnArtifactPropsMixin.MetadataPropertiesPropertydefault ObjectA list of properties to add to the artifact.default ObjectReturns union: eitherIResolvableorCfnArtifactPropsMixin.ArtifactSourcePropertygetTags()A list of tags to apply to the artifact.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArtifactName
The name of the artifact.Must be unique to your account in an AWS Region.
- See Also:
-
getArtifactType
The artifact type.- See Also:
-
getMetadataProperties
Returns union: eitherIResolvableorCfnArtifactPropsMixin.MetadataPropertiesProperty- See Also:
-
getProperties
A list of properties to add to the artifact.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getSource
Returns union: eitherIResolvableorCfnArtifactPropsMixin.ArtifactSourceProperty- See Also:
-
getTags
A list of tags to apply to the artifact.- See Also:
-
builder
- Returns:
- a
CfnArtifactMixinProps.BuilderofCfnArtifactMixinProps
-