PublicRepositoryReference Struct
A reference to a PublicRepository resource.
| 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_ecr as interfaces_ecr } from 'aws-cdk-lib/interfaces';
const publicRepositoryReference: interfaces_ecr.PublicRepositoryReference = {
publicRepositoryArn: 'publicRepositoryArn',
repositoryName: 'repositoryName',
};
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_ecr as interfaces_ecr
public_repository_reference = interfaces_ecr.PublicRepositoryReference(
public_repository_arn="publicRepositoryArn",
repository_name="repositoryName"
)
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.ecr.*;
PublicRepositoryReference publicRepositoryReference = PublicRepositoryReference.builder()
.publicRepositoryArn("publicRepositoryArn")
.repositoryName("repositoryName")
.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.ECR;
var publicRepositoryReference = new PublicRepositoryReference {
PublicRepositoryArn = "publicRepositoryArn",
RepositoryName = "repositoryName"
};
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"
publicRepositoryReference := &PublicRepositoryReference{
PublicRepositoryArn: jsii.String("publicRepositoryArn"),
RepositoryName: jsii.String("repositoryName"),
}
Properties
publicRepositoryArnstringpublic_repository_arnstrpublicRepositoryArnStringPublicRepositoryArnstringPublicRepositoryArn*string required #The ARN of the PublicRepository resource.
repositoryNamestringrepository_namestrrepositoryNameStringRepositoryNamestringRepositoryName*string required #The RepositoryName of the PublicRepository resource.