Class RepositoryImage.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.RepositoryImage.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<RepositoryImage>
- Enclosing class:
 - RepositoryImage
 
@Stability(Stable)
public static final class RepositoryImage.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryImage>
A fluent builder for 
RepositoryImage.- 
Method Summary
Modifier and TypeMethodDescriptionbuild()static RepositoryImage.Buildercredentials(ISecret credentials) The secret to expose to the container that contains the credentials for the image repository. 
- 
Method Details
- 
create
- Parameters:
 imageName- This parameter is required.- Returns:
 - a new instance of 
RepositoryImage.Builder. 
 - 
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.
- Parameters:
 credentials- The secret to expose to the container that contains the credentials for the image repository. This parameter is required.- Returns:
 this
 - 
build
- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<RepositoryImage>- Returns:
 - a newly built instance of 
RepositoryImage. 
 
 -