Class: AWSCDK::BillingConductor::CfnBillingGroup::ComputationPreferenceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BillingConductor::CfnBillingGroup::ComputationPreferenceProperty
- Defined in:
- billing_conductor/cfn_billing_group.rb
Overview
The preferences and settings that will be used to compute the AWS charges for a billing group.
Instance Attribute Summary collapse
-
#pricing_plan_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the pricing plan used to compute the AWS charges for a billing group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pricing_plan_arn:) ⇒ ComputationPreferenceProperty
constructor
A new instance of ComputationPreferenceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pricing_plan_arn:) ⇒ ComputationPreferenceProperty
Returns a new instance of ComputationPreferenceProperty.
685 686 687 688 |
# File 'billing_conductor/cfn_billing_group.rb', line 685 def initialize(pricing_plan_arn:) @pricing_plan_arn = pricing_plan_arn Jsii::Type.check_type(@pricing_plan_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pricingPlanArn") end |
Instance Attribute Details
#pricing_plan_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the pricing plan used to compute the AWS charges for a billing group.
694 695 696 |
# File 'billing_conductor/cfn_billing_group.rb', line 694 def pricing_plan_arn @pricing_plan_arn end |
Class Method Details
.jsii_properties ⇒ Object
696 697 698 699 700 |
# File 'billing_conductor/cfn_billing_group.rb', line 696 def self.jsii_properties { :pricing_plan_arn => "pricingPlanArn", } end |
Instance Method Details
#to_jsii ⇒ Object
702 703 704 705 706 707 708 |
# File 'billing_conductor/cfn_billing_group.rb', line 702 def to_jsii result = {} result.merge!({ "pricingPlanArn" => @pricing_plan_arn, }) result.compact end |