Class: AWSCDK::BillingConductor::CfnBillingGroup::ComputationPreferenceProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pricing_plan_arn:) ⇒ ComputationPreferenceProperty

Returns a new instance of ComputationPreferenceProperty.

Parameters:

  • pricing_plan_arn (String)

    The Amazon Resource Name (ARN) of the pricing plan used to compute the AWS charges for a billing group.



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_arnString (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_propertiesObject



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_jsiiObject



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