-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnResponsePlan_SsmAutomationProperty.go
66 lines (63 loc) · 3.38 KB
/
CfnResponsePlan_SsmAutomationProperty.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
package awsssmincidents
// The `SsmAutomation` property type specifies details about the Systems Manager Automation runbook that will be used as the runbook during an incident.
//
// 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"
//
// ssmAutomationProperty := &SsmAutomationProperty{
// DocumentName: jsii.String("documentName"),
// RoleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// DocumentVersion: jsii.String("documentVersion"),
// DynamicParameters: []interface{}{
// &DynamicSsmParameterProperty{
// Key: jsii.String("key"),
// Value: &DynamicSsmParameterValueProperty{
// Variable: jsii.String("variable"),
// },
// },
// },
// Parameters: []interface{}{
// &SsmParameterProperty{
// Key: jsii.String("key"),
// Values: []*string{
// jsii.String("values"),
// },
// },
// },
// TargetAccount: jsii.String("targetAccount"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html
//
type CfnResponsePlan_SsmAutomationProperty struct {
// The automation document's name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-documentname
//
DocumentName *string `field:"required" json:"documentName" yaml:"documentName"`
// The Amazon Resource Name (ARN) of the role that the automation document will assume when running commands.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The version of the runbook to use when running.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-documentversion
//
DocumentVersion *string `field:"optional" json:"documentVersion" yaml:"documentVersion"`
// The key-value pairs to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-dynamicparameters
//
DynamicParameters interface{} `field:"optional" json:"dynamicParameters" yaml:"dynamicParameters"`
// The key-value pair parameters to use when running the runbook.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-parameters
//
Parameters interface{} `field:"optional" json:"parameters" yaml:"parameters"`
// The account that the automation document will be run in.
//
// This can be in either the management account or an application account.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssmincidents-responseplan-ssmautomation.html#cfn-ssmincidents-responseplan-ssmautomation-targetaccount
//
TargetAccount *string `field:"optional" json:"targetAccount" yaml:"targetAccount"`
}