interface CfnBudgetsActionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Budgets.Mixins.CfnBudgetsActionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbudgets/mixins#CfnBudgetsActionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.budgets.mixins.CfnBudgetsActionMixinProps |
Python | aws_cdk.mixins_preview.aws_budgets.mixins.CfnBudgetsActionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_budgets » mixins » CfnBudgetsActionMixinProps |
Properties for CfnBudgetsActionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as budgets_mixins } from '@aws-cdk/mixins-preview/aws-budgets';
const cfnBudgetsActionMixinProps: budgets_mixins.CfnBudgetsActionMixinProps = {
actionThreshold: {
type: 'type',
value: 123,
},
actionType: 'actionType',
approvalModel: 'approvalModel',
budgetName: 'budgetName',
definition: {
iamActionDefinition: {
groups: ['groups'],
policyArn: 'policyArn',
roles: ['roles'],
users: ['users'],
},
scpActionDefinition: {
policyId: 'policyId',
targetIds: ['targetIds'],
},
ssmActionDefinition: {
instanceIds: ['instanceIds'],
region: 'region',
subtype: 'subtype',
},
},
executionRoleArn: 'executionRoleArn',
notificationType: 'notificationType',
resourceTags: [{
key: 'key',
value: 'value',
}],
subscribers: [{
address: 'address',
type: 'type',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| action | IResolvable | Action | The trigger threshold of the action. |
| action | string | The type of action. |
| approval | string | This specifies if the action needs manual or automatic approval. |
| budget | string | A string that represents the budget name. |
| definition? | IResolvable | Definition | Specifies all of the type-specific parameters. |
| execution | string | The role passed for action execution and reversion. |
| notification | string | The type of a notification. |
| resource | Resource[] | An optional list of tags to associate with the specified budget action. |
| subscribers? | IResolvable | (IResolvable | Subscriber)[] | A list of subscribers. |
actionThreshold?
Type:
IResolvable | Action
(optional)
The trigger threshold of the action.
actionType?
Type:
string
(optional)
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.
approvalModel?
Type:
string
(optional)
This specifies if the action needs manual or automatic approval.
budgetName?
Type:
string
(optional)
A string that represents the budget name.
":" and "" characters aren't allowed.
definition?
Type:
IResolvable | Definition
(optional)
Specifies all of the type-specific parameters.
executionRoleArn?
Type:
string
(optional)
The role passed for action execution and reversion.
Roles and actions must be in the same account.
notificationType?
Type:
string
(optional)
The type of a notification.
resourceTags?
Type:
Resource[]
(optional)
An optional list of tags to associate with the specified budget action.
Each tag consists of a key and a value, and each key must be unique for the resource.
subscribers?
Type:
IResolvable | (IResolvable | Subscriber)[]
(optional)
A list of subscribers.

.NET
Go
Java
Python
TypeScript