interface CfnAutomationRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ComputeOptimizer.CfnAutomationRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscomputeoptimizer#CfnAutomationRuleMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.computeoptimizer.CfnAutomationRuleMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_computeoptimizer.CfnAutomationRuleMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_computeoptimizer » CfnAutomationRuleMixinProps |
Properties for CfnAutomationRulePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_computeoptimizer as computeoptimizer } from '@aws-cdk/cfn-property-mixins';
const cfnAutomationRuleMixinProps: computeoptimizer.CfnAutomationRuleMixinProps = {
criteria: {
ebsVolumeSizeInGib: [{
comparison: 'comparison',
values: [123],
}],
ebsVolumeType: [{
comparison: 'comparison',
values: ['values'],
}],
estimatedMonthlySavings: [{
comparison: 'comparison',
values: [123],
}],
lookBackPeriodInDays: [{
comparison: 'comparison',
values: [123],
}],
region: [{
comparison: 'comparison',
values: ['values'],
}],
resourceArn: [{
comparison: 'comparison',
values: ['values'],
}],
resourceTag: [{
comparison: 'comparison',
key: 'key',
values: ['values'],
}],
restartNeeded: [{
comparison: 'comparison',
values: ['values'],
}],
},
description: 'description',
name: 'name',
organizationConfiguration: {
accountIds: ['accountIds'],
ruleApplyOrder: 'ruleApplyOrder',
},
priority: 'priority',
recommendedActionTypes: ['recommendedActionTypes'],
ruleType: 'ruleType',
schedule: {
executionWindowInMinutes: 123,
scheduleExpression: 'scheduleExpression',
scheduleExpressionTimezone: 'scheduleExpressionTimezone',
},
status: 'status',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| criteria? | IResolvable | Criteria | |
| description? | string | The description of the automation rule. |
| name? | string | The name of the automation rule. |
| organization | IResolvable | Organization | |
| priority? | string | Rule priority within its group. |
| recommended | string[] | The types of recommended actions this rule will implement. |
| rule | string | The type of automation rule. |
| schedule? | IResolvable | Schedule | |
| status? | string | The status of the automation rule. |
| tags? | Cfn[] | Tags associated with the automation rule. |
criteria?
Type:
IResolvable | Criteria
(optional)
description?
Type:
string
(optional)
The description of the automation rule.
name?
Type:
string
(optional)
The name of the automation rule.
organizationConfiguration?
Type:
IResolvable | Organization
(optional)
priority?
Type:
string
(optional)
Rule priority within its group.
recommendedActionTypes?
Type:
string[]
(optional)
The types of recommended actions this rule will implement.
ruleType?
Type:
string
(optional)
The type of automation rule.
schedule?
Type:
IResolvable | Schedule
(optional)
status?
Type:
string
(optional)
The status of the automation rule.
tags?
Type:
Cfn[]
(optional)
Tags associated with the automation rule.

.NET
Go
Java
Python
TypeScript