AssetManifestDockerImageDestination
- class aws_cdk.AssetManifestDockerImageDestination(*, repository_name, docker_tag_prefix=None, role=None)
Bases:
object
The destination for a docker image asset, when it is given to the AssetManifestBuilder.
- Parameters:
repository_name (
str
) – Repository name where the docker image asset should be written.docker_tag_prefix (
Optional
[str
]) – Prefix to add to the asset hash to make the Docker image tag. Default: ‘’role (
Union
[RoleOptions
,Dict
[str
,Any
],None
]) – Role to use to perform the upload. Default: - No role
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk # assume_role_additional_options: Any asset_manifest_docker_image_destination = cdk.AssetManifestDockerImageDestination( repository_name="repositoryName", # the properties below are optional docker_tag_prefix="dockerTagPrefix", role=cdk.RoleOptions( assume_role_arn="assumeRoleArn", # the properties below are optional assume_role_additional_options={ "assume_role_additional_options_key": assume_role_additional_options }, assume_role_external_id="assumeRoleExternalId" ) )
Attributes
- docker_tag_prefix
Prefix to add to the asset hash to make the Docker image tag.
- Default:
‘’
- repository_name
Repository name where the docker image asset should be written.
- role
Role to use to perform the upload.
- Default:
No role