-
Notifications
You must be signed in to change notification settings - Fork 17
/
awscdk_CfnParameterProps.go
73 lines (70 loc) · 3.22 KB
/
awscdk_CfnParameterProps.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
// An experiment to bundle the entire CDK into a single module
package awscdk
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import monocdk "github.com/aws/aws-cdk-go/awscdk"
//
// var default_ interface{}
//
// cfnParameterProps := &cfnParameterProps{
// allowedPattern: jsii.String("allowedPattern"),
// allowedValues: []*string{
// jsii.String("allowedValues"),
// },
// constraintDescription: jsii.String("constraintDescription"),
// default: default_,
// description: jsii.String("description"),
// maxLength: jsii.Number(123),
// maxValue: jsii.Number(123),
// minLength: jsii.Number(123),
// minValue: jsii.Number(123),
// noEcho: jsii.Boolean(false),
// type: jsii.String("type"),
// }
//
// Experimental.
type CfnParameterProps struct {
// A regular expression that represents the patterns to allow for String types.
// Experimental.
AllowedPattern *string `field:"optional" json:"allowedPattern" yaml:"allowedPattern"`
// An array containing the list of values allowed for the parameter.
// Experimental.
AllowedValues *[]*string `field:"optional" json:"allowedValues" yaml:"allowedValues"`
// A string that explains a constraint when the constraint is violated.
//
// For example, without a constraint description, a parameter that has an allowed
// pattern of [A-Za-z0-9]+ displays the following error message when the user specifies
// an invalid value:.
// Experimental.
ConstraintDescription *string `field:"optional" json:"constraintDescription" yaml:"constraintDescription"`
// A value of the appropriate type for the template to use if no value is specified when a stack is created.
//
// If you define constraints for the parameter, you must specify
// a value that adheres to those constraints.
// Experimental.
Default interface{} `field:"optional" json:"default" yaml:"default"`
// A string of up to 4000 characters that describes the parameter.
// Experimental.
Description *string `field:"optional" json:"description" yaml:"description"`
// An integer value that determines the largest number of characters you want to allow for String types.
// Experimental.
MaxLength *float64 `field:"optional" json:"maxLength" yaml:"maxLength"`
// A numeric value that determines the largest numeric value you want to allow for Number types.
// Experimental.
MaxValue *float64 `field:"optional" json:"maxValue" yaml:"maxValue"`
// An integer value that determines the smallest number of characters you want to allow for String types.
// Experimental.
MinLength *float64 `field:"optional" json:"minLength" yaml:"minLength"`
// A numeric value that determines the smallest numeric value you want to allow for Number types.
// Experimental.
MinValue *float64 `field:"optional" json:"minValue" yaml:"minValue"`
// Whether to mask the parameter value when anyone makes a call that describes the stack.
//
// If you set the value to ``true``, the parameter value is masked with asterisks (``*****``).
// Experimental.
NoEcho *bool `field:"optional" json:"noEcho" yaml:"noEcho"`
// The data type for the parameter (DataType).
// Experimental.
Type *string `field:"optional" json:"type" yaml:"type"`
}