RepositoryReference Struct
A reference to a Repository resource.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codecommit as interfaces_codecommit } from 'aws-cdk-lib/interfaces';
const repositoryReference: interfaces_codecommit.RepositoryReference = {
repositoryArn: 'repositoryArn',
repositoryId: 'repositoryId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_codecommit as interfaces_codecommit
repository_reference = interfaces_codecommit.RepositoryReference(
repository_arn="repositoryArn",
repository_id="repositoryId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.codecommit.*;
RepositoryReference repositoryReference = RepositoryReference.builder()
.repositoryArn("repositoryArn")
.repositoryId("repositoryId")
.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.Interfaces.CodeCommit;
var repositoryReference = new RepositoryReference {
RepositoryArn = "repositoryArn",
RepositoryId = "repositoryId"
};
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"
repositoryReference := &RepositoryReference{
RepositoryArn: jsii.String("repositoryArn"),
RepositoryId: jsii.String("repositoryId"),
}