RegistryMappingProperty Struct
If you are using the ECR pull through cache feature, the registry mapping maps between the ECR repository and the upstream registry where container images are pulled and synchronized.
| 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_omics as omics } from 'aws-cdk-lib';
const registryMappingProperty: omics.CfnWorkflowVersion.RegistryMappingProperty = {
ecrAccountId: 'ecrAccountId',
ecrRepositoryPrefix: 'ecrRepositoryPrefix',
upstreamRegistryUrl: 'upstreamRegistryUrl',
upstreamRepositoryPrefix: 'upstreamRepositoryPrefix',
};
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_omics as omics
registry_mapping_property = omics.CfnWorkflowVersion.RegistryMappingProperty(
ecr_account_id="ecrAccountId",
ecr_repository_prefix="ecrRepositoryPrefix",
upstream_registry_url="upstreamRegistryUrl",
upstream_repository_prefix="upstreamRepositoryPrefix"
)
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.omics.*;
RegistryMappingProperty registryMappingProperty = RegistryMappingProperty.builder()
.ecrAccountId("ecrAccountId")
.ecrRepositoryPrefix("ecrRepositoryPrefix")
.upstreamRegistryUrl("upstreamRegistryUrl")
.upstreamRepositoryPrefix("upstreamRepositoryPrefix")
.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.Omics;
var registryMappingProperty = new RegistryMappingProperty {
EcrAccountId = "ecrAccountId",
EcrRepositoryPrefix = "ecrRepositoryPrefix",
UpstreamRegistryUrl = "upstreamRegistryUrl",
UpstreamRepositoryPrefix = "upstreamRepositoryPrefix"
};
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"
registryMappingProperty := &RegistryMappingProperty{
EcrAccountId: jsii.String("ecrAccountId"),
EcrRepositoryPrefix: jsii.String("ecrRepositoryPrefix"),
UpstreamRegistryUrl: jsii.String("upstreamRegistryUrl"),
UpstreamRepositoryPrefix: jsii.String("upstreamRepositoryPrefix"),
}
Properties
ecrAccountIdoptionalstringecr_account_idoptionalstrecrAccountIdoptionalStringEcrAccountIdoptionalstringEcrAccountIdoptional*string #Account ID of the account that owns the upstream container image.
ecrRepositoryPrefixoptionalstringecr_repository_prefixoptionalstrecrRepositoryPrefixoptionalStringEcrRepositoryPrefixoptionalstringEcrRepositoryPrefixoptional*string #The repository prefix to use in the ECR private repository.
upstreamRegistryUrloptionalstringupstream_registry_urloptionalstrupstreamRegistryUrloptionalStringUpstreamRegistryUrloptionalstringUpstreamRegistryUrloptional*string #The URI of the upstream registry.
upstreamRepositoryPrefixoptionalstringupstream_repository_prefixoptionalstrupstreamRepositoryPrefixoptionalStringUpstreamRepositoryPrefixoptionalstringUpstreamRepositoryPrefixoptional*string #The repository prefix of the corresponding repository in the upstream registry.