Interface IContainerImageConfig
The configuration for creating a container image.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IContainerImageConfig
Syntax (vb)
Public Interface IContainerImageConfig
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var containerImageConfig = new ContainerImageConfig {
ImageName = "imageName",
// the properties below are optional
RepositoryCredentials = new RepositoryCredentialsProperty {
CredentialsParameter = "credentialsParameter"
}
};
Synopsis
Properties
ImageName | Specifies the name of the container image. |
RepositoryCredentials | Specifies the credentials used to access the image repository. |
Properties
ImageName
Specifies the name of the container image.
string ImageName { get; }
Property Value
System.String
RepositoryCredentials
Specifies the credentials used to access the image repository.
virtual CfnTaskDefinition.IRepositoryCredentialsProperty RepositoryCredentials { get; }
Property Value
CfnTaskDefinition.IRepositoryCredentialsProperty