Skip to content
v2.277.0

MetadataPropertiesProperty Struct ​

Metadata properties of the tracking entity, trial, or trial component.

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 metadataPropertiesProperty: sagemaker.CfnModelPackage.MetadataPropertiesProperty = {
  commitId: 'commitId',
  generatedBy: 'generatedBy',
  projectId: 'projectId',
  repository: 'repository',
};
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

metadata_properties_property = sagemaker.CfnModelPackage.MetadataPropertiesProperty(
    commit_id="commitId",
    generated_by="generatedBy",
    project_id="projectId",
    repository="repository"
)
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.*;

MetadataPropertiesProperty metadataPropertiesProperty = MetadataPropertiesProperty.builder()
        .commitId("commitId")
        .generatedBy("generatedBy")
        .projectId("projectId")
        .repository("repository")
        .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 metadataPropertiesProperty = new MetadataPropertiesProperty {
    CommitId = "commitId",
    GeneratedBy = "generatedBy",
    ProjectId = "projectId",
    Repository = "repository"
};
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"

metadataPropertiesProperty := &MetadataPropertiesProperty{
	CommitId: jsii.String("commitId"),
	GeneratedBy: jsii.String("generatedBy"),
	ProjectId: jsii.String("projectId"),
	Repository: jsii.String("repository"),
}

Properties ​

commitIdoptionalstringcommit_idoptionalstrcommitIdoptionalStringCommitIdoptionalstringCommitIdoptional*string#
The commit ID.
generatedByoptionalstringgenerated_byoptionalstrgeneratedByoptionalStringGeneratedByoptionalstringGeneratedByoptional*string#
The entity this entity was generated by.
projectIdoptionalstringproject_idoptionalstrprojectIdoptionalStringProjectIdoptionalstringProjectIdoptional*string#
The project ID.
repositoryoptionalstringrepositoryoptionalstrrepositoryoptionalStringRepositoryoptionalstringRepositoryoptional*string#
The repository.