@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.946Z") @Stability(value=Stable) public interface CfnBudgetsActionProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBudgetsActionProps.Builder
A builder for
CfnBudgetsActionProps |
static class |
CfnBudgetsActionProps.Jsii$Proxy
An implementation for
CfnBudgetsActionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnBudgetsActionProps.Builder |
builder() |
Object |
getActionThreshold()
The trigger threshold of the action.
|
String |
getActionType()
The type of action.
|
default String |
getApprovalModel()
This specifies if the action needs manual or automatic approval.
|
String |
getBudgetName()
A string that represents the budget name.
|
Object |
getDefinition()
Specifies all of the type-specific parameters.
|
String |
getExecutionRoleArn()
The role passed for action execution and reversion.
|
String |
getNotificationType()
The type of a notification.
|
Object |
getSubscribers()
A list of subscribers.
|
@Stability(value=Stable) @NotNull Object getActionThreshold()
@Stability(value=Stable) @NotNull String getActionType()
This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
@Stability(value=Stable) @NotNull String getBudgetName()
":" and "" characters aren't allowed.
@Stability(value=Stable) @NotNull Object getDefinition()
@Stability(value=Stable) @NotNull String getExecutionRoleArn()
Roles and actions must be in the same account.
@Stability(value=Stable) @NotNull String getNotificationType()
@Stability(value=Stable) @NotNull Object getSubscribers()
@Stability(value=Stable) @Nullable default String getApprovalModel()
@Stability(value=Stable) static CfnBudgetsActionProps.Builder builder()
CfnBudgetsActionProps.Builder of CfnBudgetsActionPropsCopyright © 2022. All rights reserved.