ArtifactSourceProperty
Struct External
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const artifactSourceProperty: sagemaker.CfnArtifact.ArtifactSourceProperty = {
sourceUri: 'sourceUri',
// the properties below are optional
sourceTypes: [{
sourceIdType: 'sourceIdType',
value: 'value',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
artifact_source_property = sagemaker.CfnArtifact.ArtifactSourceProperty(
source_uri="sourceUri",
# the properties below are optional
source_types=[sagemaker.CfnArtifact.ArtifactSourceTypeProperty(
source_id_type="sourceIdType",
value="value"
)]
)
java
// 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.*;
ArtifactSourceProperty artifactSourceProperty = ArtifactSourceProperty.builder()
.sourceUri("sourceUri")
// the properties below are optional
.sourceTypes(List.of(ArtifactSourceTypeProperty.builder()
.sourceIdType("sourceIdType")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var artifactSourceProperty = new ArtifactSourceProperty {
SourceUri = "sourceUri",
// the properties below are optional
SourceTypes = new [] { new ArtifactSourceTypeProperty {
SourceIdType = "sourceIdType",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
artifactSourceProperty := &ArtifactSourceProperty{
SourceUri: jsii.String("sourceUri"),
// the properties below are optional
SourceTypes: []interface{}{
&ArtifactSourceTypeProperty{
SourceIdType: jsii.String("sourceIdType"),
Value: jsii.String("value"),
},
},
}
Properties
sourceTypesoptionalIResolvable | IResolvable | CfnArtifact.source_typesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ArtifactSourceTypeProperty]]]sourceTypesoptionalIResolvableSourceTypesoptionalIResolvableSourceTypesoptionalinterface{} #A list of source types.
The URI of the source.