-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnMitigationActionProps.go
75 lines (72 loc) · 2.92 KB
/
CfnMitigationActionProps.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 awsiot
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnMitigationAction`.
//
// 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"
//
// cfnMitigationActionProps := &CfnMitigationActionProps{
// ActionParams: &ActionParamsProperty{
// AddThingsToThingGroupParams: &AddThingsToThingGroupParamsProperty{
// ThingGroupNames: []*string{
// jsii.String("thingGroupNames"),
// },
//
// // the properties below are optional
// OverrideDynamicGroups: jsii.Boolean(false),
// },
// EnableIoTLoggingParams: &EnableIoTLoggingParamsProperty{
// LogLevel: jsii.String("logLevel"),
// RoleArnForLogging: jsii.String("roleArnForLogging"),
// },
// PublishFindingToSnsParams: &PublishFindingToSnsParamsProperty{
// TopicArn: jsii.String("topicArn"),
// },
// ReplaceDefaultPolicyVersionParams: &ReplaceDefaultPolicyVersionParamsProperty{
// TemplateName: jsii.String("templateName"),
// },
// UpdateCaCertificateParams: &UpdateCACertificateParamsProperty{
// Action: jsii.String("action"),
// },
// UpdateDeviceCertificateParams: &UpdateDeviceCertificateParamsProperty{
// Action: jsii.String("action"),
// },
// },
// RoleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// ActionName: jsii.String("actionName"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
//
type CfnMitigationActionProps struct {
// The set of parameters for this mitigation action.
//
// The parameters vary, depending on the kind of action you apply.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-actionparams
//
ActionParams interface{} `field:"required" json:"actionParams" yaml:"actionParams"`
// The IAM role ARN used to apply this mitigation action.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The friendly name of the mitigation action.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-actionname
//
ActionName *string `field:"optional" json:"actionName" yaml:"actionName"`
// Metadata that can be used to manage the mitigation action.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html#cfn-iot-mitigationaction-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}