Interface ContainerImageConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ContainerImageConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.278Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forContainerImageConfig
static final class
An implementation forContainerImageConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContainerImageConfig.Builder
builder()
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.Builder
ofContainerImageConfig
-