Class DockerImageAssetInvalidationOptions
Options to control invalidation of DockerImageAsset
asset hashes.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Ecr.Assets
Assembly: Amazon.CDK.ECR.Assets.dll
Syntax (csharp)
public class DockerImageAssetInvalidationOptions : Object, IDockerImageAssetInvalidationOptions
Syntax (vb)
Public Class DockerImageAssetInvalidationOptions
Inherits Object
Implements IDockerImageAssetInvalidationOptions
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Ecr.Assets;
var asset = new DockerImageAsset(this, "MyBuildImage", new DockerImageAssetProps {
Directory = Join(__dirname, "my-image"),
BuildArgs = new Dictionary<string, string> {
{ "HTTP_PROXY", "http://10.20.30.2:1234" }
},
Invalidation = new DockerImageAssetInvalidationOptions {
BuildArgs = false
}
});
Synopsis
Constructors
DockerImageAssetInvalidationOptions() |
Properties
BuildArgs | Use |
ExtraHash | Use |
File | Use |
NetworkMode | Use |
Platform | Use |
RepositoryName | Use |
Target | Use |
Constructors
DockerImageAssetInvalidationOptions()
public DockerImageAssetInvalidationOptions()
Properties
BuildArgs
Use buildArgs
while calculating the asset hash.
public Nullable<bool> BuildArgs { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
ExtraHash
Use extraHash
while calculating the asset hash.
public Nullable<bool> ExtraHash { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
File
Use file
while calculating the asset hash.
public Nullable<bool> File { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
NetworkMode
Use networkMode
while calculating the asset hash.
public Nullable<bool> NetworkMode { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Platform
Use platform
while calculating the asset hash.
public Nullable<bool> Platform { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
RepositoryName
Use repositoryName
while calculating the asset hash.
public Nullable<bool> RepositoryName { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Target
Use target
while calculating the asset hash.
public Nullable<bool> Target { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true