-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnExtensionProps.go
75 lines (72 loc) · 3.33 KB
/
CfnExtensionProps.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
package awsappconfig
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnExtension`.
//
// 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 actions interface{}
//
// cfnExtensionProps := &CfnExtensionProps{
// Actions: actions,
// Name: jsii.String("name"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// LatestVersionNumber: jsii.Number(123),
// Parameters: map[string]interface{}{
// "parametersKey": &ParameterProperty{
// "required": jsii.Boolean(false),
//
// // the properties below are optional
// "description": jsii.String("description"),
// },
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html
//
type CfnExtensionProps struct {
// The actions defined in the extension.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-actions
//
Actions interface{} `field:"required" json:"actions" yaml:"actions"`
// A name for the extension.
//
// Each extension name in your account must be unique. Extension versions use the same name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Information about the extension.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// You can omit this field when you create an extension.
//
// When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-latestversionnumber
//
LatestVersionNumber *float64 `field:"optional" json:"latestVersionNumber" yaml:"latestVersionNumber"`
// The parameters accepted by the extension.
//
// You specify parameter values when you associate the extension to an AWS AppConfig resource by using the `CreateExtensionAssociation` API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-parameters
//
Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"`
// Adds one or more tags for the specified extension.
//
// Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-extension.html#cfn-appconfig-extension-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}