-
Notifications
You must be signed in to change notification settings - Fork 17
/
ApplicationConfiguration.go
50 lines (47 loc) · 1.9 KB
/
ApplicationConfiguration.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
package awsstepfunctionstasks
// A configuration specification to be used when provisioning virtual clusters, which can include configurations for applications and software bundled with Amazon EMR on EKS.
//
// A configuration consists of a classification, properties, and optional nested configurations.
// A classification refers to an application-specific configuration file.
// Properties are the settings you want to change in that file.
//
// 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"
//
// var applicationConfiguration_ applicationConfiguration
// var classification classification
//
// applicationConfiguration := &applicationConfiguration{
// Classification: classification,
//
// // the properties below are optional
// NestedConfig: []*applicationConfiguration{
// applicationConfiguration_,
// },
// Properties: map[string]*string{
// "propertiesKey": jsii.String("properties"),
// },
// }
//
// See: https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-configure-apps.html
//
type ApplicationConfiguration struct {
// The classification within a configuration.
//
// Length Constraints: Minimum length of 1. Maximum length of 1024.
Classification Classification `field:"required" json:"classification" yaml:"classification"`
// A list of additional configurations to apply within a configuration object.
//
// Array Members: Maximum number of 100 items.
// Default: - No other configurations.
//
NestedConfig *[]*ApplicationConfiguration `field:"optional" json:"nestedConfig" yaml:"nestedConfig"`
// A set of properties specified within a configuration classification.
//
// Map Entries: Maximum number of 100 items.
// Default: - No properties.
//
Properties *map[string]*string `field:"optional" json:"properties" yaml:"properties"`
}