Class ContainerImageConfig
The configuration for creating a container image.
Inheritance
System.Object
ContainerImageConfig
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class ContainerImageConfig : Object, IContainerImageConfig
Syntax (vb)
Public Class ContainerImageConfig
Inherits Object
Implements 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
Constructors
ContainerImageConfig() |
Properties
ImageName | Specifies the name of the container image. |
RepositoryCredentials | Specifies the credentials used to access the image repository. |
Constructors
ContainerImageConfig()
public ContainerImageConfig()
Properties
ImageName
Specifies the name of the container image.
public string ImageName { get; set; }
Property Value
System.String
RepositoryCredentials
Specifies the credentials used to access the image repository.
public CfnTaskDefinition.IRepositoryCredentialsProperty RepositoryCredentials { get; set; }
Property Value
CfnTaskDefinition.IRepositoryCredentialsProperty