DockerImageDestination

class aws_cdk.cloud_assembly_schema.DockerImageDestination(*, assume_role_additional_options=None, assume_role_arn=None, assume_role_external_id=None, region=None, image_tag, repository_name)

Bases: AwsDestination

Where to publish docker images.

Parameters:
  • assume_role_additional_options (Optional[Mapping[str, Any]]) – 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. Default: - No additional options.

  • assume_role_arn (Optional[str]) – The role that needs to be assumed while publishing this asset. Default: - No role will be assumed

  • assume_role_external_id (Optional[str]) – The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied

  • region (Optional[str]) – The region where this asset will need to be published. Default: - Current region

  • image_tag (str) – Tag of the image to publish.

  • repository_name (str) – Name of the ECR repository to publish to.

Attributes

assume_role_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.

Default:
  • No additional options.

See:

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property

assume_role_arn

The role that needs to be assumed while publishing this asset.

Default:
  • No role will be assumed

assume_role_external_id

The ExternalId that needs to be supplied while assuming this role.

Default:
  • No ExternalId will be supplied

image_tag

Tag of the image to publish.

region

The region where this asset will need to be published.

Default:
  • Current region

repository_name

Name of the ECR repository to publish to.