-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAppBlockProps.go
99 lines (96 loc) · 4.1 KB
/
CfnAppBlockProps.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package awsappstream
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnAppBlock`.
//
// 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"
//
// cfnAppBlockProps := &CfnAppBlockProps{
// Name: jsii.String("name"),
// SourceS3Location: &S3LocationProperty{
// S3Bucket: jsii.String("s3Bucket"),
//
// // the properties below are optional
// S3Key: jsii.String("s3Key"),
// },
//
// // the properties below are optional
// Description: jsii.String("description"),
// DisplayName: jsii.String("displayName"),
// PackagingType: jsii.String("packagingType"),
// PostSetupScriptDetails: &ScriptDetailsProperty{
// ExecutablePath: jsii.String("executablePath"),
// ScriptS3Location: &S3LocationProperty{
// S3Bucket: jsii.String("s3Bucket"),
//
// // the properties below are optional
// S3Key: jsii.String("s3Key"),
// },
// TimeoutInSeconds: jsii.Number(123),
//
// // the properties below are optional
// ExecutableParameters: jsii.String("executableParameters"),
// },
// SetupScriptDetails: &ScriptDetailsProperty{
// ExecutablePath: jsii.String("executablePath"),
// ScriptS3Location: &S3LocationProperty{
// S3Bucket: jsii.String("s3Bucket"),
//
// // the properties below are optional
// S3Key: jsii.String("s3Key"),
// },
// TimeoutInSeconds: jsii.Number(123),
//
// // the properties below are optional
// ExecutableParameters: jsii.String("executableParameters"),
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html
//
type CfnAppBlockProps struct {
// The name of the app block.
//
// *Pattern* : `^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The source S3 location of the app block.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-sources3location
//
SourceS3Location interface{} `field:"required" json:"sourceS3Location" yaml:"sourceS3Location"`
// The description of the app block.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The display name of the app block.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-displayname
//
DisplayName *string `field:"optional" json:"displayName" yaml:"displayName"`
// The packaging type of the app block.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-packagingtype
//
PackagingType *string `field:"optional" json:"packagingType" yaml:"packagingType"`
// The post setup script details of the app block.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-postsetupscriptdetails
//
PostSetupScriptDetails interface{} `field:"optional" json:"postSetupScriptDetails" yaml:"postSetupScriptDetails"`
// The setup script details of the app block.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-setupscriptdetails
//
SetupScriptDetails interface{} `field:"optional" json:"setupScriptDetails" yaml:"setupScriptDetails"`
// The tags of the app block.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html#cfn-appstream-appblock-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}