Interface ICfnBudgetsActionProps
Properties for defining a CfnBudgetsAction
.
Namespace: Amazon.CDK.AWS.Budgets
Assembly: Amazon.CDK.AWS.Budgets.dll
Syntax (csharp)
public interface ICfnBudgetsActionProps
Syntax (vb)
Public Interface ICfnBudgetsActionProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Budgets;
var cfnBudgetsActionProps = new CfnBudgetsActionProps {
ActionThreshold = new ActionThresholdProperty {
Type = "type",
Value = 123
},
ActionType = "actionType",
BudgetName = "budgetName",
Definition = new DefinitionProperty {
IamActionDefinition = new IamActionDefinitionProperty {
PolicyArn = "policyArn",
// the properties below are optional
Groups = new [] { "groups" },
Roles = new [] { "roles" },
Users = new [] { "users" }
},
ScpActionDefinition = new ScpActionDefinitionProperty {
PolicyId = "policyId",
TargetIds = new [] { "targetIds" }
},
SsmActionDefinition = new SsmActionDefinitionProperty {
InstanceIds = new [] { "instanceIds" },
Region = "region",
Subtype = "subtype"
}
},
ExecutionRoleArn = "executionRoleArn",
NotificationType = "notificationType",
Subscribers = new [] { new SubscriberProperty {
Address = "address",
Type = "type"
} },
// the properties below are optional
ApprovalModel = "approvalModel"
};
Synopsis
Properties
ActionThreshold | The trigger threshold of the action. |
ActionType | The type of action. |
ApprovalModel | This specifies if the action needs manual or automatic approval. |
BudgetName | A string that represents the budget name. |
Definition | Specifies all of the type-specific parameters. |
ExecutionRoleArn | The role passed for action execution and reversion. |
NotificationType | The type of a notification. |
Subscribers | A list of subscribers. |
Properties
ActionThreshold
The trigger threshold of the action.
object ActionThreshold { get; }
Property Value
System.Object
Remarks
ActionType
The type of action.
string ActionType { get; }
Property Value
System.String
Remarks
This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
ApprovalModel
This specifies if the action needs manual or automatic approval.
virtual string ApprovalModel { get; }
Property Value
System.String
Remarks
BudgetName
A string that represents the budget name.
string BudgetName { get; }
Property Value
System.String
Remarks
":" and "" characters aren't allowed.
Definition
Specifies all of the type-specific parameters.
object Definition { get; }
Property Value
System.Object
Remarks
ExecutionRoleArn
The role passed for action execution and reversion.
string ExecutionRoleArn { get; }
Property Value
System.String
Remarks
Roles and actions must be in the same account.
NotificationType
The type of a notification.
string NotificationType { get; }
Property Value
System.String
Remarks
Subscribers
A list of subscribers.
object Subscribers { get; }
Property Value
System.Object