interface RepositoryImageProps
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.RepositoryImageProps |
![]() | software.amazon.awscdk.services.ecs.RepositoryImageProps |
![]() | aws_cdk.aws_ecs.RepositoryImageProps |
![]() | @aws-cdk/aws-ecs » RepositoryImageProps |
The properties for an image hosted in a public or private repository.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ecs from '@aws-cdk/aws-ecs';
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
declare const secret: secretsmanager.Secret;
const repositoryImageProps: ecs.RepositoryImageProps = {
credentials: secret,
};
Properties
Name | Type | Description |
---|---|---|
credentials? | ISecret | The secret to expose to the container that contains the credentials for the image repository. |
credentials?
Type:
ISecret
(optional)
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.