Show / Hide Table of Contents

Class CfnBudgetsActionMixinProps

Properties for CfnBudgetsActionPropsMixin.

Inheritance
object
CfnBudgetsActionMixinProps
Implements
ICfnBudgetsActionMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Budgets
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnBudgetsActionMixinProps : ICfnBudgetsActionMixinProps
Syntax (vb)
Public Class CfnBudgetsActionMixinProps Implements ICfnBudgetsActionMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html

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.CfnPropertyMixins.AWS.Budgets;

             var cfnBudgetsActionMixinProps = new CfnBudgetsActionMixinProps {
                 ActionThreshold = new ActionThresholdProperty {
                     Type = "type",
                     Value = 123
                 },
                 ActionType = "actionType",
                 ApprovalModel = "approvalModel",
                 BudgetName = "budgetName",
                 Definition = new DefinitionProperty {
                     IamActionDefinition = new IamActionDefinitionProperty {
                         Groups = new [] { "groups" },
                         PolicyArn = "policyArn",
                         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",
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } },
                 Subscribers = new [] { new SubscriberProperty {
                     Address = "address",
                     Type = "type"
                 } }
             };

Synopsis

Constructors

CfnBudgetsActionMixinProps()

Properties for CfnBudgetsActionPropsMixin.

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.

ResourceTags

An optional list of tags to associate with the specified budget action.

Subscribers

A list of subscribers.

Constructors

CfnBudgetsActionMixinProps()

Properties for CfnBudgetsActionPropsMixin.

public CfnBudgetsActionMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html

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.CfnPropertyMixins.AWS.Budgets;

             var cfnBudgetsActionMixinProps = new CfnBudgetsActionMixinProps {
                 ActionThreshold = new ActionThresholdProperty {
                     Type = "type",
                     Value = 123
                 },
                 ActionType = "actionType",
                 ApprovalModel = "approvalModel",
                 BudgetName = "budgetName",
                 Definition = new DefinitionProperty {
                     IamActionDefinition = new IamActionDefinitionProperty {
                         Groups = new [] { "groups" },
                         PolicyArn = "policyArn",
                         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",
                 ResourceTags = new [] { new ResourceTagProperty {
                     Key = "key",
                     Value = "value"
                 } },
                 Subscribers = new [] { new SubscriberProperty {
                     Address = "address",
                     Type = "type"
                 } }
             };

Properties

ActionThreshold

The trigger threshold of the action.

public object? ActionThreshold { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-actionthreshold

Type union: either IResolvable or CfnBudgetsActionPropsMixin.IActionThresholdProperty

ActionType

The type of action.

public string? ActionType { get; set; }
Property Value

string

Remarks

This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-actiontype

ApprovalModel

This specifies if the action needs manual or automatic approval.

public string? ApprovalModel { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-approvalmodel

BudgetName

A string that represents the budget name.

public string? BudgetName { get; set; }
Property Value

string

Remarks

":" and "" characters aren't allowed.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-budgetname

Definition

Specifies all of the type-specific parameters.

public object? Definition { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-definition

Type union: either IResolvable or CfnBudgetsActionPropsMixin.IDefinitionProperty

ExecutionRoleArn

The role passed for action execution and reversion.

public string? ExecutionRoleArn { get; set; }
Property Value

string

Remarks

Roles and actions must be in the same account.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-executionrolearn

NotificationType

The type of a notification.

public string? NotificationType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-notificationtype

ResourceTags

An optional list of tags to associate with the specified budget action.

public CfnBudgetsActionPropsMixin.IResourceTagProperty[]? ResourceTags { get; set; }
Property Value

IResourceTagProperty[]

Remarks

Each tag consists of a key and a value, and each key must be unique for the resource.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-resourcetags

Subscribers

A list of subscribers.

public object? Subscribers { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-budgets-budgetsaction.html#cfn-budgets-budgetsaction-subscribers

Type union: either IResolvable or (either IResolvable or CfnBudgetsActionPropsMixin.ISubscriberProperty)[]

Implements

ICfnBudgetsActionMixinProps
Back to top Generated by DocFX