Class: AWSCDK::CleanRooms::CfnPrivacyBudgetTemplate::BudgetParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnPrivacyBudgetTemplate::BudgetParameterProperty
- Defined in:
- clean_rooms/cfn_privacy_budget_template.rb
Overview
Individual budget parameter configuration that defines specific budget allocation settings for access budgets.
Instance Attribute Summary collapse
-
#auto_refresh ⇒ String?
readonly
Whether this individual budget parameter automatically refreshes when the budget period resets.
-
#budget ⇒ Numeric
readonly
The budget allocation amount for this specific parameter.
-
#type ⇒ String
readonly
The type of budget parameter being configured.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(budget:, type:, auto_refresh: nil) ⇒ BudgetParameterProperty
constructor
A new instance of BudgetParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(budget:, type:, auto_refresh: nil) ⇒ BudgetParameterProperty
Returns a new instance of BudgetParameterProperty.
606 607 608 609 610 611 612 613 |
# File 'clean_rooms/cfn_privacy_budget_template.rb', line 606 def initialize(budget:, type:, auto_refresh: nil) @budget = budget Jsii::Type.check_type(@budget, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "budget") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @auto_refresh = auto_refresh Jsii::Type.check_type(@auto_refresh, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "autoRefresh") unless @auto_refresh.nil? end |
Instance Attribute Details
#auto_refresh ⇒ String? (readonly)
Whether this individual budget parameter automatically refreshes when the budget period resets.
629 630 631 |
# File 'clean_rooms/cfn_privacy_budget_template.rb', line 629 def auto_refresh @auto_refresh end |
#budget ⇒ Numeric (readonly)
The budget allocation amount for this specific parameter.
619 620 621 |
# File 'clean_rooms/cfn_privacy_budget_template.rb', line 619 def budget @budget end |
#type ⇒ String (readonly)
The type of budget parameter being configured.
624 625 626 |
# File 'clean_rooms/cfn_privacy_budget_template.rb', line 624 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
631 632 633 634 635 636 637 |
# File 'clean_rooms/cfn_privacy_budget_template.rb', line 631 def self.jsii_properties { :budget => "budget", :type => "type", :auto_refresh => "autoRefresh", } end |
Instance Method Details
#to_jsii ⇒ Object
639 640 641 642 643 644 645 646 647 |
# File 'clean_rooms/cfn_privacy_budget_template.rb', line 639 def to_jsii result = {} result.merge!({ "budget" => @budget, "type" => @type, "autoRefresh" => @auto_refresh, }) result.compact end |