GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Budgets::CreateBudgetAction(3) User Contributed Perl Documentation Paws::Budgets::CreateBudgetAction(3)

Paws::Budgets::CreateBudgetAction - Arguments for method CreateBudgetAction on Paws::Budgets

This class represents the parameters used for calling the method CreateBudgetAction on the AWS Budgets service. Use the attributes of this class as arguments to method CreateBudgetAction.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBudgetAction.

    my $budgets = Paws->service('Budgets');
    my $CreateBudgetActionResponse = $budgets->CreateBudgetAction(
      AccountId       => 'MyAccountId',
      ActionThreshold => {
        ActionThresholdType =>
          'PERCENTAGE',    # values: PERCENTAGE, ABSOLUTE_VALUE
        ActionThresholdValue => 1,    # max: 40000000000
      },
      ActionType    => 'APPLY_IAM_POLICY',
      ApprovalModel => 'AUTOMATIC',
      BudgetName    => 'MyBudgetName',
      Definition    => {
        IamActionDefinition => {
          PolicyArn => 'MyPolicyArn',    # min: 25, max: 684
          Groups    => [
            'MyGroup', ...               # min: 1, max: 640
          ],    # min: 1, max: 100; OPTIONAL
          Roles => [
            'MyRole', ...    # min: 1, max: 576
          ],    # min: 1, max: 100; OPTIONAL
          Users => [
            'MyUser', ...    # min: 1, max: 576
          ],    # min: 1, max: 100; OPTIONAL
        },    # OPTIONAL
        ScpActionDefinition => {
          PolicyId  => 'MyPolicyId',    # min: 10, max: 130
          TargetIds => [
            'MyTargetId', ...           # min: 12, max: 68
          ],    # min: 1, max: 100
        },    # OPTIONAL
        SsmActionDefinition => {
          ActionSubType => 'STOP_EC2_INSTANCES'
          ,    # values: STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
          InstanceIds => [
            'MyInstanceId', ...    # min: 1, max: 63
          ],    # min: 1, max: 100
          Region => 'MyRegion',    # min: 9, max: 20
        },    # OPTIONAL
      },
      ExecutionRoleArn => 'MyRoleArn',
      NotificationType => 'ACTUAL',
      Subscribers      => [
        {
          Address          => 'MySubscriberAddress',   # min: 1, max: 2147483647
          SubscriptionType => 'SNS',                   # values: SNS, EMAIL
        },
        ...
      ],
    );
    # Results:
    my $AccountId  = $CreateBudgetActionResponse->AccountId;
    my $ActionId   = $CreateBudgetActionResponse->ActionId;
    my $BudgetName = $CreateBudgetActionResponse->BudgetName;
    # Returns a L<Paws::Budgets::CreateBudgetActionResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/budgets/CreateBudgetAction>

REQUIRED AccountId => Str

REQUIRED ActionThreshold => Paws::Budgets::ActionThreshold

REQUIRED ActionType => Str

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.

Valid values are: "APPLY_IAM_POLICY", "APPLY_SCP_POLICY", "RUN_SSM_DOCUMENTS"

REQUIRED ApprovalModel => Str

This specifies if the action needs manual or automatic approval.

Valid values are: "AUTOMATIC", "MANUAL"

REQUIRED BudgetName => Str

REQUIRED Definition => Paws::Budgets::Definition

REQUIRED ExecutionRoleArn => Str

The role passed for action execution and reversion. Roles and actions must be in the same account.

REQUIRED NotificationType => Str

Valid values are: "ACTUAL", "FORECASTED"

REQUIRED Subscribers => ArrayRef[Paws::Budgets::Subscriber]

This class forms part of Paws, documenting arguments for method CreateBudgetAction in Paws::Budgets

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.