Interface IDockerImageAssetInvalidationOptions
Options to control invalidation of DockerImageAsset
asset hashes.
Namespace: Amazon.CDK.AWS.Ecr.Assets
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IDockerImageAssetInvalidationOptions
Syntax (vb)
Public Interface 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
Properties
BuildArgs | Use |
BuildSecrets | Use |
BuildSsh | Use |
ExtraHash | Use |
File | Use |
NetworkMode | Use |
Outputs | Use |
Platform | Use |
RepositoryName | Use |
Target | Use |
Properties
BuildArgs
Use buildArgs
while calculating the asset hash.
virtual Nullable<bool> BuildArgs { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
BuildSecrets
Use buildSecrets
while calculating the asset hash.
virtual Nullable<bool> BuildSecrets { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
BuildSsh
Use buildSsh
while calculating the asset hash.
virtual Nullable<bool> BuildSsh { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
ExtraHash
Use extraHash
while calculating the asset hash.
virtual Nullable<bool> ExtraHash { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
File
Use file
while calculating the asset hash.
virtual Nullable<bool> File { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
NetworkMode
Use networkMode
while calculating the asset hash.
virtual Nullable<bool> NetworkMode { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Outputs
Use outputs
while calculating the asset hash.
virtual Nullable<bool> Outputs { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Platform
Use platform
while calculating the asset hash.
virtual Nullable<bool> Platform { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
RepositoryName
Use repositoryName
while calculating the asset hash.
virtual Nullable<bool> RepositoryName { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
Target
Use target
while calculating the asset hash.
virtual Nullable<bool> Target { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true