Interface CfnArtifactProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnArtifactProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:18.386Z") @Stability(Stable) public interface CfnArtifactProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnArtifact.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sagemaker.*;
 CfnArtifactProps cfnArtifactProps = CfnArtifactProps.builder()
         .artifactType("artifactType")
         .source(ArtifactSourceProperty.builder()
                 .sourceUri("sourceUri")
                 // the properties below are optional
                 .sourceTypes(List.of(ArtifactSourceTypeProperty.builder()
                         .sourceIdType("sourceIdType")
                         .value("value")
                         .build()))
                 .build())
         // the properties below are optional
         .artifactName("artifactName")
         .metadataProperties(MetadataPropertiesProperty.builder()
                 .commitId("commitId")
                 .generatedBy("generatedBy")
                 .projectId("projectId")
                 .repository("repository")
                 .build())
         .properties(Map.of(
                 "propertiesKey", "properties"))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: