Class: AWSCDK::BillingConductor::CfnBillingGroup::AccountGroupingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BillingConductor::CfnBillingGroup::AccountGroupingProperty
- Defined in:
- billing_conductor/cfn_billing_group.rb
Overview
The set of accounts that will be under the billing group.
The set of accounts resemble the linked accounts in a consolidated billing family.
Instance Attribute Summary collapse
-
#auto_associate ⇒ Boolean, ...
readonly
Specifies if this billing group will automatically associate newly added AWS accounts that join your consolidated billing family.
-
#linked_account_ids ⇒ Array<String>?
readonly
The account IDs that make up the billing group.
-
#responsibility_transfer_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) that identifies the transfer relationship owned by the Bill Transfer account (caller account).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(auto_associate: nil, linked_account_ids: nil, responsibility_transfer_arn: nil) ⇒ AccountGroupingProperty
constructor
A new instance of AccountGroupingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(auto_associate: nil, linked_account_ids: nil, responsibility_transfer_arn: nil) ⇒ AccountGroupingProperty
Returns a new instance of AccountGroupingProperty.
630 631 632 633 634 635 636 637 |
# File 'billing_conductor/cfn_billing_group.rb', line 630 def initialize(auto_associate: nil, linked_account_ids: nil, responsibility_transfer_arn: nil) @auto_associate = auto_associate Jsii::Type.check_type(@auto_associate, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "autoAssociate") unless @auto_associate.nil? @linked_account_ids = linked_account_ids Jsii::Type.check_type(@linked_account_ids, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "linkedAccountIds") unless @linked_account_ids.nil? @responsibility_transfer_arn = responsibility_transfer_arn Jsii::Type.check_type(@responsibility_transfer_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "responsibilityTransferArn") unless @responsibility_transfer_arn.nil? end |
Instance Attribute Details
#auto_associate ⇒ Boolean, ... (readonly)
Specifies if this billing group will automatically associate newly added AWS accounts that join your consolidated billing family.
643 644 645 |
# File 'billing_conductor/cfn_billing_group.rb', line 643 def auto_associate @auto_associate end |
#linked_account_ids ⇒ Array<String>? (readonly)
The account IDs that make up the billing group.
Account IDs must be a part of the consolidated billing family, and not associated with another billing group.
650 651 652 |
# File 'billing_conductor/cfn_billing_group.rb', line 650 def linked_account_ids @linked_account_ids end |
#responsibility_transfer_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) that identifies the transfer relationship owned by the Bill Transfer account (caller account).
When specified, the PrimaryAccountId is no longer required.
657 658 659 |
# File 'billing_conductor/cfn_billing_group.rb', line 657 def responsibility_transfer_arn @responsibility_transfer_arn end |
Class Method Details
.jsii_properties ⇒ Object
659 660 661 662 663 664 665 |
# File 'billing_conductor/cfn_billing_group.rb', line 659 def self.jsii_properties { :auto_associate => "autoAssociate", :linked_account_ids => "linkedAccountIds", :responsibility_transfer_arn => "responsibilityTransferArn", } end |
Instance Method Details
#to_jsii ⇒ Object
667 668 669 670 671 672 673 674 675 |
# File 'billing_conductor/cfn_billing_group.rb', line 667 def to_jsii result = {} result.merge!({ "autoAssociate" => @auto_associate, "linkedAccountIds" => @linked_account_ids, "responsibilityTransferArn" => @responsibility_transfer_arn, }) result.compact end |