EcrPublicProps
- class aws_cdk.aws_apprunner.EcrPublicProps(*, image_identifier, image_configuration=None)
Bases:
object
(experimental) Properties of the image repository for
Source.fromEcrPublic()
.- Parameters:
image_identifier (
str
) – (experimental) The ECR Public image URI.image_configuration (
Union
[ImageConfiguration
,Dict
[str
,Any
],None
]) – (experimental) The image configuration for the image from ECR Public. Default: - no image configuration will be passed. The defaultport
will be 8080.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
apprunner.Service(self, "Service", source=apprunner.Source.from_ecr_public( image_configuration=apprunner.ImageConfiguration(port=8000), image_identifier="public.ecr.aws/aws-containers/hello-app-runner:latest" ) )
Attributes
- image_configuration
(experimental) The image configuration for the image from ECR Public.
- Default:
no image configuration will be passed. The default
port
will be 8080.
- See:
- Stability:
experimental
- image_identifier
(experimental) The ECR Public image URI.
- Stability:
experimental