-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDeploymentProps.go
71 lines (68 loc) · 3.69 KB
/
CfnDeploymentProps.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
package awsappconfig
// Properties for defining a `CfnDeployment`.
//
// 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"
//
// cfnDeploymentProps := &CfnDeploymentProps{
// ApplicationId: jsii.String("applicationId"),
// ConfigurationProfileId: jsii.String("configurationProfileId"),
// ConfigurationVersion: jsii.String("configurationVersion"),
// DeploymentStrategyId: jsii.String("deploymentStrategyId"),
// EnvironmentId: jsii.String("environmentId"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// KmsKeyIdentifier: jsii.String("kmsKeyIdentifier"),
// Tags: []tagsProperty{
// &tagsProperty{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html
//
type CfnDeploymentProps struct {
// The application ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-applicationid
//
ApplicationId *string `field:"required" json:"applicationId" yaml:"applicationId"`
// The configuration profile ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-configurationprofileid
//
ConfigurationProfileId *string `field:"required" json:"configurationProfileId" yaml:"configurationProfileId"`
// The configuration version to deploy.
//
// If deploying an AWS AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-configurationversion
//
ConfigurationVersion *string `field:"required" json:"configurationVersion" yaml:"configurationVersion"`
// The deployment strategy ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-deploymentstrategyid
//
DeploymentStrategyId *string `field:"required" json:"deploymentStrategyId" yaml:"deploymentStrategyId"`
// The environment ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-environmentid
//
EnvironmentId *string `field:"required" json:"environmentId" yaml:"environmentId"`
// A description of the deployment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The AWS KMS key identifier (key ID, key alias, or key ARN).
//
// AWS AppConfig uses this ID to encrypt the configuration data using a customer managed key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appconfig-deployment.html#cfn-appconfig-deployment-kmskeyidentifier
//
KmsKeyIdentifier *string `field:"optional" json:"kmsKeyIdentifier" yaml:"kmsKeyIdentifier"`
// Metadata to assign to the deployment.
//
// Tags help organize and categorize your AWS AppConfig resources. 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-deployment.html#cfn-appconfig-deployment-tags
//
Tags *[]*CfnDeployment_TagsProperty `field:"optional" json:"tags" yaml:"tags"`
}