-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnMitigationAction_ActionParamsProperty.go
74 lines (71 loc) · 3.96 KB
/
CfnMitigationAction_ActionParamsProperty.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
package awsiot
// Defines the type of action and the parameters for that action.
//
// 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"
//
// actionParamsProperty := &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"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html
//
type CfnMitigationAction_ActionParamsProperty struct {
// Specifies the group to which you want to add the devices.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-addthingstothinggroupparams
//
AddThingsToThingGroupParams interface{} `field:"optional" json:"addThingsToThingGroupParams" yaml:"addThingsToThingGroupParams"`
// Specifies the logging level and the role with permissions for logging.
//
// You cannot specify a logging level of `DISABLED` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-enableiotloggingparams
//
EnableIoTLoggingParams interface{} `field:"optional" json:"enableIoTLoggingParams" yaml:"enableIoTLoggingParams"`
// Specifies the topic to which the finding should be published.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-publishfindingtosnsparams
//
PublishFindingToSnsParams interface{} `field:"optional" json:"publishFindingToSnsParams" yaml:"publishFindingToSnsParams"`
// Replaces the policy version with a default or blank policy.
//
// You specify the template name. Only a value of `BLANK_POLICY` is currently supported.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-replacedefaultpolicyversionparams
//
ReplaceDefaultPolicyVersionParams interface{} `field:"optional" json:"replaceDefaultPolicyVersionParams" yaml:"replaceDefaultPolicyVersionParams"`
// Specifies the new state for the CA certificate.
//
// Only a value of `DEACTIVATE` is currently supported.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-updatecacertificateparams
//
UpdateCaCertificateParams interface{} `field:"optional" json:"updateCaCertificateParams" yaml:"updateCaCertificateParams"`
// Specifies the new state for a device certificate.
//
// Only a value of `DEACTIVATE` is currently supported.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-mitigationaction-actionparams.html#cfn-iot-mitigationaction-actionparams-updatedevicecertificateparams
//
UpdateDeviceCertificateParams interface{} `field:"optional" json:"updateDeviceCertificateParams" yaml:"updateDeviceCertificateParams"`
}