-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnRemediationConfiguration_SsmControlsProperty.go
32 lines (29 loc) · 1.87 KB
/
CfnRemediationConfiguration_SsmControlsProperty.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
package awsconfig
// AWS Systems Manager (SSM) specific remediation controls.
//
// 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"
//
// ssmControlsProperty := &SsmControlsProperty{
// ConcurrentExecutionRatePercentage: jsii.Number(123),
// ErrorPercentage: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-ssmcontrols.html
//
type CfnRemediationConfiguration_SsmControlsProperty struct {
// The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule.
//
// You can specify a percentage, such as 10%. The default value is 10.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-ssmcontrols.html#cfn-config-remediationconfiguration-ssmcontrols-concurrentexecutionratepercentage
//
ConcurrentExecutionRatePercentage *float64 `field:"optional" json:"concurrentExecutionRatePercentage" yaml:"concurrentExecutionRatePercentage"`
// The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule.
//
// You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-remediationconfiguration-ssmcontrols.html#cfn-config-remediationconfiguration-ssmcontrols-errorpercentage
//
ErrorPercentage *float64 `field:"optional" json:"errorPercentage" yaml:"errorPercentage"`
}