interface DockerImageDestination
Language | Type name |
---|---|
![]() | Amazon.CDK.CloudAssembly.Schema.DockerImageDestination |
![]() | software.amazon.awscdk.cloudassembly.schema.DockerImageDestination |
![]() | aws_cdk.cloud_assembly_schema.DockerImageDestination |
![]() | @aws-cdk/cloud-assembly-schema » DockerImageDestination |
Where to publish docker images.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const dockerImageDestination: cloud_assembly_schema.DockerImageDestination = {
imageTag: 'imageTag',
repositoryName: 'repositoryName',
// the properties below are optional
assumeRoleArn: 'assumeRoleArn',
assumeRoleExternalId: 'assumeRoleExternalId',
region: 'region',
};
Properties
Name | Type | Description |
---|---|---|
image | string | Tag of the image to publish. |
repository | string | Name of the ECR repository to publish to. |
assume | string | The role that needs to be assumed while publishing this asset. |
assume | string | The ExternalId that needs to be supplied while assuming this role. |
region? | string | The region where this asset will need to be published. |
imageTag
Type:
string
Tag of the image to publish.
repositoryName
Type:
string
Name of the ECR repository to publish to.
assumeRoleArn?
Type:
string
(optional, default: No role will be assumed)
The role that needs to be assumed while publishing this asset.
assumeRoleExternalId?
Type:
string
(optional, default: No ExternalId will be supplied)
The ExternalId that needs to be supplied while assuming this role.
region?
Type:
string
(optional, default: Current region)
The region where this asset will need to be published.