@Stability(value=Stable) public static final class CfnBudgetsAction.Builder extends Object implements software.amazon.jsii.Builder<CfnBudgetsAction>
CfnBudgetsAction.| Modifier and Type | Method and Description |
|---|---|
CfnBudgetsAction.Builder |
actionThreshold(CfnBudgetsAction.ActionThresholdProperty actionThreshold)
The trigger threshold of the action.
|
CfnBudgetsAction.Builder |
actionThreshold(IResolvable actionThreshold)
The trigger threshold of the action.
|
CfnBudgetsAction.Builder |
actionType(String actionType)
The type of action.
|
CfnBudgetsAction.Builder |
approvalModel(String approvalModel)
This specifies if the action needs manual or automatic approval.
|
CfnBudgetsAction.Builder |
budgetName(String budgetName)
A string that represents the budget name.
|
CfnBudgetsAction |
build() |
static CfnBudgetsAction.Builder |
create(software.constructs.Construct scope,
String id) |
CfnBudgetsAction.Builder |
definition(CfnBudgetsAction.DefinitionProperty definition)
Specifies all of the type-specific parameters.
|
CfnBudgetsAction.Builder |
definition(IResolvable definition)
Specifies all of the type-specific parameters.
|
CfnBudgetsAction.Builder |
executionRoleArn(String executionRoleArn)
The role passed for action execution and reversion.
|
CfnBudgetsAction.Builder |
notificationType(String notificationType)
The type of a notification.
|
CfnBudgetsAction.Builder |
subscribers(IResolvable subscribers)
A list of subscribers.
|
CfnBudgetsAction.Builder |
subscribers(List<? extends Object> subscribers)
A list of subscribers.
|
@Stability(value=Stable) public static CfnBudgetsAction.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnBudgetsAction.ActionThresholdProperty.Builder.@Stability(value=Stable) public CfnBudgetsAction.Builder actionThreshold(CfnBudgetsAction.ActionThresholdProperty actionThreshold)
actionThreshold - The trigger threshold of the action. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder actionThreshold(IResolvable actionThreshold)
actionThreshold - The trigger threshold of the action. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder actionType(String actionType)
This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
actionType - The type of action. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder budgetName(String budgetName)
":" and "" characters aren't allowed.
budgetName - A string that represents the budget name. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder definition(CfnBudgetsAction.DefinitionProperty definition)
definition - Specifies all of the type-specific parameters. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder definition(IResolvable definition)
definition - Specifies all of the type-specific parameters. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder executionRoleArn(String executionRoleArn)
Roles and actions must be in the same account.
executionRoleArn - The role passed for action execution and reversion. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder notificationType(String notificationType)
notificationType - The type of a notification. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder subscribers(IResolvable subscribers)
subscribers - A list of subscribers. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder subscribers(List<? extends Object> subscribers)
subscribers - A list of subscribers. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction.Builder approvalModel(String approvalModel)
approvalModel - This specifies if the action needs manual or automatic approval. This parameter is required.this@Stability(value=Stable) public CfnBudgetsAction build()
build in interface software.amazon.jsii.Builder<CfnBudgetsAction>Copyright © 2022. All rights reserved.