Interface CfnAutomationRuleMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutomationRuleMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.470Z")
@Stability(Stable)
public interface CfnAutomationRuleMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnAutomationRulePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.computeoptimizer.*;
CfnAutomationRuleMixinProps cfnAutomationRuleMixinProps = CfnAutomationRuleMixinProps.builder()
.criteria(CriteriaProperty.builder()
.ebsVolumeSizeInGib(List.of(IntegerCriteriaConditionProperty.builder()
.comparison("comparison")
.values(List.of(123))
.build()))
.ebsVolumeType(List.of(StringCriteriaConditionProperty.builder()
.comparison("comparison")
.values(List.of("values"))
.build()))
.estimatedMonthlySavings(List.of(DoubleCriteriaConditionProperty.builder()
.comparison("comparison")
.values(List.of(123))
.build()))
.lookBackPeriodInDays(List.of(IntegerCriteriaConditionProperty.builder()
.comparison("comparison")
.values(List.of(123))
.build()))
.region(List.of(StringCriteriaConditionProperty.builder()
.comparison("comparison")
.values(List.of("values"))
.build()))
.resourceArn(List.of(StringCriteriaConditionProperty.builder()
.comparison("comparison")
.values(List.of("values"))
.build()))
.resourceTag(List.of(ResourceTagsCriteriaConditionProperty.builder()
.comparison("comparison")
.key("key")
.values(List.of("values"))
.build()))
.restartNeeded(List.of(StringCriteriaConditionProperty.builder()
.comparison("comparison")
.values(List.of("values"))
.build()))
.build())
.description("description")
.name("name")
.organizationConfiguration(OrganizationConfigurationProperty.builder()
.accountIds(List.of("accountIds"))
.ruleApplyOrder("ruleApplyOrder")
.build())
.priority("priority")
.recommendedActionTypes(List.of("recommendedActionTypes"))
.ruleType("ruleType")
.schedule(ScheduleProperty.builder()
.executionWindowInMinutes(123)
.scheduleExpression("scheduleExpression")
.scheduleExpressionTimezone("scheduleExpressionTimezone")
.build())
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAutomationRuleMixinPropsstatic final classAn implementation forCfnAutomationRuleMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnAutomationRulePropsMixin.CriteriaPropertydefault StringThe description of the automation rule.default StringgetName()The name of the automation rule.default ObjectReturns union: eitherIResolvableorCfnAutomationRulePropsMixin.OrganizationConfigurationPropertydefault StringRule priority within its group.The types of recommended actions this rule will implement.default StringThe type of automation rule.default ObjectReturns union: eitherIResolvableorCfnAutomationRulePropsMixin.SchedulePropertydefault StringThe status of the automation rule.getTags()Tags associated with the automation rule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCriteria
Returns union: eitherIResolvableorCfnAutomationRulePropsMixin.CriteriaProperty- See Also:
-
getDescription
The description of the automation rule.- See Also:
-
getName
The name of the automation rule.- See Also:
-
getOrganizationConfiguration
Returns union: eitherIResolvableorCfnAutomationRulePropsMixin.OrganizationConfigurationProperty- See Also:
-
getPriority
Rule priority within its group.- See Also:
-
getRecommendedActionTypes
The types of recommended actions this rule will implement.- See Also:
-
getRuleType
The type of automation rule.- See Also:
-
getSchedule
Returns union: eitherIResolvableorCfnAutomationRulePropsMixin.ScheduleProperty- See Also:
-
getStatus
The status of the automation rule.- See Also:
-
getTags
Tags associated with the automation rule.- See Also:
-
builder
-