Class: Aws::Budgets::Types::Definition

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb

Overview

Note:

When making an API call, you may pass Definition data as a hash:

{
  iam_action_definition: {
    policy_arn: "PolicyArn", # required
    roles: ["Role"],
    groups: ["Group"],
    users: ["User"],
  },
  scp_action_definition: {
    policy_id: "PolicyId", # required
    target_ids: ["TargetId"], # required
  },
  ssm_action_definition: {
    action_sub_type: "STOP_EC2_INSTANCES", # required, accepts STOP_EC2_INSTANCES, STOP_RDS_INSTANCES
    region: "Region", # required
    instance_ids: ["InstanceId"], # required
  },
}

Specifies all of the type-specific parameters.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam_action_definitionTypes::IamActionDefinition

The AWS Identity and Access Management (IAM) action definition details.



937
938
939
940
941
942
943
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 937

class Definition < Struct.new(
  :iam_action_definition,
  :scp_action_definition,
  :ssm_action_definition)
  SENSITIVE = []
  include Aws::Structure
end

#scp_action_definitionTypes::ScpActionDefinition

The service control policies (SCPs) action definition details.



937
938
939
940
941
942
943
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 937

class Definition < Struct.new(
  :iam_action_definition,
  :scp_action_definition,
  :ssm_action_definition)
  SENSITIVE = []
  include Aws::Structure
end

#ssm_action_definitionTypes::SsmActionDefinition

The AWS Systems Manager (SSM) action definition details.



937
938
939
940
941
942
943
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 937

class Definition < Struct.new(
  :iam_action_definition,
  :scp_action_definition,
  :ssm_action_definition)
  SENSITIVE = []
  include Aws::Structure
end