Class RepositoryImageProps
The properties for an image hosted in a public or private repository.
Inheritance
System.Object
RepositoryImageProps
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class RepositoryImageProps : Object, IRepositoryImageProps
Syntax (vb)
Public Class RepositoryImageProps
Inherits Object
Implements IRepositoryImageProps
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;
using Amazon.CDK.AWS.SecretsManager;
Secret secret;
var repositoryImageProps = new RepositoryImageProps {
Credentials = secret
};
Synopsis
Constructors
RepositoryImageProps() |
Properties
Credentials | The secret to expose to the container that contains the credentials for the image repository. |
Constructors
RepositoryImageProps()
public RepositoryImageProps()
Properties
Credentials
The secret to expose to the container that contains the credentials for the image repository.
public ISecret Credentials { get; set; }
Property Value
Remarks
The supported value is the full ARN of an AWS Secrets Manager secret.