/
AssetManifestFileDestination.go
36 lines (33 loc) · 1.13 KB
/
AssetManifestFileDestination.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
package awscdk
// The destination for a file asset, when it is given to the AssetManifestBuilder.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import cdk "github.com/aws/aws-cdk-go/awscdk"
//
// assetManifestFileDestination := &AssetManifestFileDestination{
// BucketName: jsii.String("bucketName"),
//
// // the properties below are optional
// BucketPrefix: jsii.String("bucketPrefix"),
// Role: &RoleOptions{
// AssumeRoleArn: jsii.String("assumeRoleArn"),
//
// // the properties below are optional
// AssumeRoleExternalId: jsii.String("assumeRoleExternalId"),
// },
// }
//
type AssetManifestFileDestination struct {
// Bucket name where the file asset should be written.
BucketName *string `field:"required" json:"bucketName" yaml:"bucketName"`
// Prefix to prepend to the asset hash.
// Default: ''.
//
BucketPrefix *string `field:"optional" json:"bucketPrefix" yaml:"bucketPrefix"`
// Role to use for uploading.
// Default: - current role.
//
Role *RoleOptions `field:"optional" json:"role" yaml:"role"`
}