Class: AWSCDK::Organizations::CfnOrganizationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
organizations/cfn_organization_props.rb

Overview

Properties for defining a CfnOrganization.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(feature_set: nil) ⇒ CfnOrganizationProps

Returns a new instance of CfnOrganizationProps.

Parameters:

  • feature_set (String, nil) (defaults to: nil)

    Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.



10
11
12
13
# File 'organizations/cfn_organization_props.rb', line 10

def initialize(feature_set: nil)
  @feature_set = feature_set
  Jsii::Type.check_type(@feature_set, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "featureSet") unless @feature_set.nil?
end

Instance Attribute Details

#feature_setString? (readonly)

Note:

Default: - "ALL"

Specifies the feature set supported by the new organization. Each feature set supports different levels of functionality.

  • ALL In addition to all the features supported by the consolidated billing feature set, the management account gains access to advanced features that give you more control over accounts in your organization. For more information, see All features in the AWS Organizations User Guide .
  • CONSOLIDATED_BILLING All member accounts have their bills consolidated to and paid by the management account. For more information, see Consolidated billing in the AWS Organizations User Guide .

The consolidated billing feature feature set isn't available for organizations in the AWS GovCloud (US) Region.

If you don't specify this property, the default value is ALL .



27
28
29
# File 'organizations/cfn_organization_props.rb', line 27

def feature_set
  @feature_set
end

Class Method Details

.jsii_propertiesObject



29
30
31
32
33
# File 'organizations/cfn_organization_props.rb', line 29

def self.jsii_properties
  {
    :feature_set => "featureSet",
  }
end

Instance Method Details

#to_jsiiObject



35
36
37
38
39
40
41
# File 'organizations/cfn_organization_props.rb', line 35

def to_jsii
  result = {}
  result.merge!({
    "featureSet" => @feature_set,
  })
  result.compact
end