Class: AWSCDK::Detective::CfnOrganizationAdminProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Detective::CfnOrganizationAdminProps
- Defined in:
- detective/cfn_organization_admin_props.rb
Overview
Properties for defining a CfnOrganizationAdmin.
Instance Attribute Summary collapse
-
#account_id ⇒ String
readonly
The AWS account identifier of the account to designate as the Detective administrator account for the organization.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_id:) ⇒ CfnOrganizationAdminProps
constructor
A new instance of CfnOrganizationAdminProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(account_id:) ⇒ CfnOrganizationAdminProps
Returns a new instance of CfnOrganizationAdminProps.
10 11 12 13 |
# File 'detective/cfn_organization_admin_props.rb', line 10 def initialize(account_id:) @account_id = account_id Jsii::Type.check_type(@account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accountId") end |
Instance Attribute Details
#account_id ⇒ String (readonly)
The AWS account identifier of the account to designate as the Detective administrator account for the organization.
19 20 21 |
# File 'detective/cfn_organization_admin_props.rb', line 19 def account_id @account_id end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'detective/cfn_organization_admin_props.rb', line 21 def self.jsii_properties { :account_id => "accountId", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'detective/cfn_organization_admin_props.rb', line 27 def to_jsii result = {} result.merge!({ "accountId" => @account_id, }) result.compact end |