/
DockerImageAsset.go
47 lines (44 loc) · 1.52 KB
/
DockerImageAsset.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package cloudassemblyschema
// A file asset.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// dockerImageAsset := &DockerImageAsset{
// Destinations: map[string]dockerImageDestination{
// "destinationsKey": &dockerImageDestination{
// "imageTag": jsii.String("imageTag"),
// "repositoryName": jsii.String("repositoryName"),
//
// // the properties below are optional
// "assumeRoleArn": jsii.String("assumeRoleArn"),
// "assumeRoleExternalId": jsii.String("assumeRoleExternalId"),
// "region": jsii.String("region"),
// },
// },
// Source: &DockerImageSource{
// Directory: jsii.String("directory"),
// DockerBuildArgs: map[string]*string{
// "dockerBuildArgsKey": jsii.String("dockerBuildArgs"),
// },
// DockerBuildTarget: jsii.String("dockerBuildTarget"),
// DockerFile: jsii.String("dockerFile"),
// Executable: []*string{
// jsii.String("executable"),
// },
// NetworkMode: jsii.String("networkMode"),
// Platform: jsii.String("platform"),
// },
// }
//
// Experimental.
type DockerImageAsset struct {
// Destinations for this file asset.
// Experimental.
Destinations *map[string]*DockerImageDestination `field:"required" json:"destinations" yaml:"destinations"`
// Source description for file assets.
// Experimental.
Source *DockerImageSource `field:"required" json:"source" yaml:"source"`
}