AssetProps
- class aws_cdk.aws_apprunner.AssetProps(*, asset, image_configuration=None)
- Bases: - object- (experimental) Properties of the image repository for - Source.fromAsset().- Parameters:
- asset ( - DockerImageAsset) – (experimental) Represents the docker image asset.
- image_configuration ( - Union[- ImageConfiguration,- Dict[- str,- Any],- None]) – (experimental) The image configuration for the image built from the asset. Default: - no image configuration will be passed. The default- portwill be 8080.
 
- Stability:
- experimental 
- ExampleMetadata:
- infused 
 - Example: - import aws_cdk.aws_ecr_assets as assets image_asset = assets.DockerImageAsset(self, "ImageAssets", directory=path.join(__dirname, "./docker.assets") ) apprunner.Service(self, "Service", source=apprunner.Source.from_asset( image_configuration=apprunner.ImageConfiguration(port=8000), asset=image_asset ) ) - Attributes - asset
- (experimental) Represents the docker image asset. - Stability:
- experimental 
 
 - image_configuration
- (experimental) The image configuration for the image built from the asset. - Default:
- no image configuration will be passed. The default - portwill be 8080.
 
- See:
- Stability:
- experimental