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