-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnOptionGroupProps.go
104 lines (101 loc) · 3.94 KB
/
CfnOptionGroupProps.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
99
100
101
102
103
package awsrds
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnOptionGroup`.
//
// 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"
//
// cfnOptionGroupProps := &CfnOptionGroupProps{
// EngineName: jsii.String("engineName"),
// MajorEngineVersion: jsii.String("majorEngineVersion"),
// OptionGroupDescription: jsii.String("optionGroupDescription"),
//
// // the properties below are optional
// OptionConfigurations: []interface{}{
// &OptionConfigurationProperty{
// OptionName: jsii.String("optionName"),
//
// // the properties below are optional
// DbSecurityGroupMemberships: []*string{
// jsii.String("dbSecurityGroupMemberships"),
// },
// OptionSettings: []interface{}{
// &OptionSettingProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// OptionVersion: jsii.String("optionVersion"),
// Port: jsii.Number(123),
// VpcSecurityGroupMemberships: []*string{
// jsii.String("vpcSecurityGroupMemberships"),
// },
// },
// },
// OptionGroupName: jsii.String("optionGroupName"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html
//
type CfnOptionGroupProps struct {
// Specifies the name of the engine that this option group should be associated with.
//
// Valid Values:
//
// - `mariadb`
// - `mysql`
// - `oracle-ee`
// - `oracle-ee-cdb`
// - `oracle-se2`
// - `oracle-se2-cdb`
// - `postgres`
// - `sqlserver-ee`
// - `sqlserver-se`
// - `sqlserver-ex`
// - `sqlserver-web`.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-enginename
//
EngineName *string `field:"required" json:"engineName" yaml:"engineName"`
// Specifies the major version of the engine that this option group should be associated with.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-majorengineversion
//
MajorEngineVersion *string `field:"required" json:"majorEngineVersion" yaml:"majorEngineVersion"`
// The description of the option group.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-optiongroupdescription
//
OptionGroupDescription *string `field:"required" json:"optionGroupDescription" yaml:"optionGroupDescription"`
// A list of options and the settings for each option.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-optionconfigurations
//
OptionConfigurations interface{} `field:"optional" json:"optionConfigurations" yaml:"optionConfigurations"`
// The name of the option group to be created.
//
// Constraints:
//
// - Must be 1 to 255 letters, numbers, or hyphens
// - First character must be a letter
// - Can't end with a hyphen or contain two consecutive hyphens
//
// Example: `myoptiongroup`
//
// If you don't specify a value for `OptionGroupName` property, a name is automatically created for the option group.
//
// > This value is stored as a lowercase string.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-optiongroupname
//
OptionGroupName *string `field:"optional" json:"optionGroupName" yaml:"optionGroupName"`
// An optional array of key-value pairs to apply to this option group.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html#cfn-rds-optiongroup-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}