RepositoryImageProps
- class aws_cdk.aws_ecs.RepositoryImageProps(*, credentials=None)
Bases:
object
The properties for an image hosted in a public or private repository.
- Parameters:
credentials (
Optional
[ISecret
]) – The secret to expose to the container that contains the credentials for the image repository. The supported value is the full ARN of an AWS Secrets Manager secret.- 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.aws_ecs as ecs import aws_cdk.aws_secretsmanager as secretsmanager # secret: secretsmanager.Secret repository_image_props = ecs.RepositoryImageProps( credentials=secret )
Attributes
- credentials
The secret to expose to the container that contains the credentials for the image repository.
The supported value is the full ARN of an AWS Secrets Manager secret.