Class DockerImageDestination
Where to publish docker images.
Inheritance
System.Object
DockerImageDestination
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class DockerImageDestination : Object, IDockerImageDestination, IAwsDestination
Syntax (vb)
Public Class DockerImageDestination
Inherits Object
Implements IDockerImageDestination, IAwsDestination
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.CloudAssembly.Schema;
var dockerImageDestination = new DockerImageDestination {
ImageTag = "imageTag",
RepositoryName = "repositoryName",
// the properties below are optional
AssumeRoleArn = "assumeRoleArn",
AssumeRoleExternalId = "assumeRoleExternalId",
Region = "region"
};
Synopsis
Constructors
DockerImageDestination() |
Properties
AssumeRoleArn | The role that needs to be assumed while publishing this asset. |
AssumeRoleExternalId | The ExternalId that needs to be supplied while assuming this role. |
ImageTag | Tag of the image to publish. |
Region | The region where this asset will need to be published. |
RepositoryName | Name of the ECR repository to publish to. |
Constructors
DockerImageDestination()
public DockerImageDestination()
Properties
AssumeRoleArn
The role that needs to be assumed while publishing this asset.
public string AssumeRoleArn { get; set; }
Property Value
System.String
Remarks
Default: - No role will be assumed
AssumeRoleExternalId
The ExternalId that needs to be supplied while assuming this role.
public string AssumeRoleExternalId { get; set; }
Property Value
System.String
Remarks
Default: - No ExternalId will be supplied
ImageTag
Tag of the image to publish.
public string ImageTag { get; set; }
Property Value
System.String
Region
The region where this asset will need to be published.
public string Region { get; set; }
Property Value
System.String
Remarks
Default: - Current region
RepositoryName
Name of the ECR repository to publish to.
public string RepositoryName { get; set; }
Property Value
System.String