Interface RepositoryImageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RepositoryImageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:39.268Z")
@Stability(Stable)
public interface RepositoryImageProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ecs.*;
import software.amazon.awscdk.services.secretsmanager.*;
Secret secret;
RepositoryImageProps repositoryImageProps = RepositoryImageProps.builder()
.credentials(secret)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forRepositoryImagePropsstatic final classAn implementation forRepositoryImageProps -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryImageProps.Builderbuilder()default ISecretThe secret to expose to the container that contains the credentials for the image repository.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentials
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.
-
builder
- Returns:
- a
RepositoryImageProps.BuilderofRepositoryImageProps
-