-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsssm_ListParameterAttributes.go
52 lines (49 loc) · 2.09 KB
/
awsssm_ListParameterAttributes.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
package awsssm
// Attributes for parameters of string list type.
//
// 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"
//
// listParameterAttributes := &listParameterAttributes{
// parameterName: jsii.String("parameterName"),
//
// // the properties below are optional
// elementType: awscdk.Aws_ssm.parameterValueType_STRING,
// simpleName: jsii.Boolean(false),
// version: jsii.Number(123),
// }
//
// See: ParameterType.
//
type ListParameterAttributes struct {
// The name of the parameter store value.
//
// This value can be a token or a concrete string. If it is a concrete string
// and includes "/" it must also be prefixed with a "/" (fully-qualified).
ParameterName *string `field:"required" json:"parameterName" yaml:"parameterName"`
// Indicates of the parameter name is a simple name (i.e. does not include "/" separators).
//
// This is only required only if `parameterName` is a token, which means we
// are unable to detect if the name is simple or "path-like" for the purpose
// of rendering SSM parameter ARNs.
//
// If `parameterName` is not specified, `simpleName` must be `true` (or
// undefined) since the name generated by AWS CloudFormation is always a
// simple name.
SimpleName *bool `field:"optional" json:"simpleName" yaml:"simpleName"`
// The type of the string list parameter value.
//
// Using specific types can be helpful in catching invalid values
// at the start of creating or updating a stack. CloudFormation validates
// the values against existing values in the account.
//
// Note - if you want to allow values from different AWS accounts, use
// ParameterValueType.STRING
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html#aws-ssm-parameter-types
//
ElementType ParameterValueType `field:"optional" json:"elementType" yaml:"elementType"`
// The version number of the value you wish to retrieve.
Version *float64 `field:"optional" json:"version" yaml:"version"`
}