interface DockerImageAsset
Language | Type name |
---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.DockerImageAsset |
Java | software.amazon.awscdk.cloudassembly.schema.DockerImageAsset |
Python | aws_cdk.cloud_assembly_schema.DockerImageAsset |
TypeScript (source) | @aws-cdk/cloud-assembly-schema » DockerImageAsset |
A file asset.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const dockerImageAsset: cloud_assembly_schema.DockerImageAsset = {
destinations: {
destinationsKey: {
imageTag: 'imageTag',
repositoryName: 'repositoryName',
// the properties below are optional
assumeRoleArn: 'assumeRoleArn',
assumeRoleExternalId: 'assumeRoleExternalId',
region: 'region',
},
},
source: {
cacheDisabled: false,
cacheFrom: [{
type: 'type',
// the properties below are optional
params: {
paramsKey: 'params',
},
}],
cacheTo: {
type: 'type',
// the properties below are optional
params: {
paramsKey: 'params',
},
},
directory: 'directory',
dockerBuildArgs: {
dockerBuildArgsKey: 'dockerBuildArgs',
},
dockerBuildSecrets: {
dockerBuildSecretsKey: 'dockerBuildSecrets',
},
dockerBuildSsh: 'dockerBuildSsh',
dockerBuildTarget: 'dockerBuildTarget',
dockerFile: 'dockerFile',
dockerOutputs: ['dockerOutputs'],
executable: ['executable'],
networkMode: 'networkMode',
platform: 'platform',
},
};
Properties
Name | Type | Description |
---|---|---|
destinations | { [string]: Docker } | Destinations for this file asset. |
source | Docker | Source description for file assets. |
destinations
Type:
{ [string]:
Docker
}
Destinations for this file asset.
source
Type:
Docker
Source description for file assets.