Platform
- class aws_cdk.aws_ecr_assets.Platform(*args: Any, **kwargs)
Bases:
object
platform supported by docker.
- ExampleMetadata:
infused
Example:
from aws_cdk.aws_ecr_assets import DockerImageAsset, Platform asset = DockerImageAsset(self, "MyBuildImage", directory=path.join(__dirname, "my-image"), platform=Platform.LINUX_ARM64 )
Attributes
- LINUX_AMD64 = <aws_cdk.aws_ecr_assets.Platform object>
- LINUX_ARM64 = <aws_cdk.aws_ecr_assets.Platform object>
- platform
The platform to use for docker build.
Static Methods