Interface CfnBudgetsActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBudgetsActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.868Z")
@Stability(Stable)
public interface CfnBudgetsActionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnBudgetsAction
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.budgets.*; CfnBudgetsActionProps cfnBudgetsActionProps = CfnBudgetsActionProps.builder() .actionThreshold(ActionThresholdProperty.builder() .type("type") .value(123) .build()) .actionType("actionType") .budgetName("budgetName") .definition(DefinitionProperty.builder() .iamActionDefinition(IamActionDefinitionProperty.builder() .policyArn("policyArn") // the properties below are optional .groups(List.of("groups")) .roles(List.of("roles")) .users(List.of("users")) .build()) .scpActionDefinition(ScpActionDefinitionProperty.builder() .policyId("policyId") .targetIds(List.of("targetIds")) .build()) .ssmActionDefinition(SsmActionDefinitionProperty.builder() .instanceIds(List.of("instanceIds")) .region("region") .subtype("subtype") .build()) .build()) .executionRoleArn("executionRoleArn") .notificationType("notificationType") .subscribers(List.of(SubscriberProperty.builder() .address("address") .type("type") .build())) // the properties below are optional .approvalModel("approvalModel") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBudgetsActionProps
static final class
An implementation forCfnBudgetsActionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The trigger threshold of the action.The type of action.default String
This specifies if the action needs manual or automatic approval.A string that represents the budget name.Specifies all of the type-specific parameters.The role passed for action execution and reversion.The type of a notification.A list of subscribers.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionThreshold
The trigger threshold of the action. -
getActionType
The type of action.This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
-
getBudgetName
A string that represents the budget name.":" and "" characters aren't allowed.
-
getDefinition
Specifies all of the type-specific parameters. -
getExecutionRoleArn
The role passed for action execution and reversion.Roles and actions must be in the same account.
-
getNotificationType
The type of a notification. -
getSubscribers
A list of subscribers. -
getApprovalModel
This specifies if the action needs manual or automatic approval. -
builder
- Returns:
- a
CfnBudgetsActionProps.Builder
ofCfnBudgetsActionProps
-