Skip to content
v2.273.0

DockerImageDestination Struct ​

Where to publish docker images.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';

declare const assumeRoleAdditionalOptions: any;
const dockerImageDestination: cloud_assembly_schema.DockerImageDestination = {
  imageTag: 'imageTag',
  repositoryName: 'repositoryName',

  // the properties below are optional
  assumeRoleAdditionalOptions: {
    assumeRoleAdditionalOptionsKey: assumeRoleAdditionalOptions,
  },
  assumeRoleArn: 'assumeRoleArn',
  assumeRoleExternalId: 'assumeRoleExternalId',
  region: 'region',
};

Properties ​

assumeRoleAdditionalOptions{ [key: string]: any }assume_role_additional_optionstyping.Mapping[str, Any]assumeRoleAdditionalOptionsMap<String, Object>AssumeRoleAdditionalOptionsIDictionary<string, object>AssumeRoleAdditionalOptions*map[string]interface{}= No additional options.#
Additional options to pass to STS when assuming the role.
  • RoleArn should not be used. Use the dedicated assumeRoleArn property instead.
  • ExternalId should not be used. Use the dedicated assumeRoleExternalId instead.
assumeRoleArnstringassume_role_arnstrassumeRoleArnStringAssumeRoleArnstringAssumeRoleArn*string= No role will be assumed#
The role that needs to be assumed while publishing this asset.
assumeRoleExternalIdstringassume_role_external_idstrassumeRoleExternalIdStringAssumeRoleExternalIdstringAssumeRoleExternalId*string= No ExternalId will be supplied#
The ExternalId that needs to be supplied while assuming this role.
imageTagstringimage_tagstrimageTagStringImageTagstringImageTag*stringrequired#
Tag of the image to publish.
regionstringregionstrregionStringRegionstringRegion*string= Current region#
The region where this asset will need to be published.
repositoryNamestringrepository_namestrrepositoryNameStringRepositoryNamestringRepositoryName*stringrequired#
Name of the ECR repository to publish to.