Interface ContainerImageConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ContainerImageConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:39.154Z")
@Stability(Stable)
public interface ContainerImageConfig
extends software.amazon.jsii.JsiiSerializable
The configuration for creating a container image.
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.*;
ContainerImageConfig containerImageConfig = ContainerImageConfig.builder()
.imageName("imageName")
// the properties below are optional
.repositoryCredentials(RepositoryCredentialsProperty.builder()
.credentialsParameter("credentialsParameter")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forContainerImageConfigstatic final classAn implementation forContainerImageConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic ContainerImageConfig.Builderbuilder()Specifies the name of the container image.Specifies the credentials used to access the image repository.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getImageName
Specifies the name of the container image. -
getRepositoryCredentials
@Stability(Stable) @Nullable default CfnTaskDefinition.RepositoryCredentialsProperty getRepositoryCredentials()Specifies the credentials used to access the image repository. -
builder
- Returns:
- a
ContainerImageConfig.BuilderofContainerImageConfig
-