Class: AWSCDK::DataZone::CfnProjectProfile::AWSAccountProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnProjectProfile::AWSAccountProperty
- Defined in:
- data_zone/cfn_project_profile.rb
Overview
The AWS account of the environment.
Instance Attribute Summary collapse
-
#aws_account_id ⇒ String
readonly
The account ID of a project.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(aws_account_id:) ⇒ AWSAccountProperty
constructor
A new instance of AWSAccountProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(aws_account_id:) ⇒ AWSAccountProperty
Returns a new instance of AWSAccountProperty.
657 658 659 660 |
# File 'data_zone/cfn_project_profile.rb', line 657 def initialize(aws_account_id:) @aws_account_id = aws_account_id Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "awsAccountId") end |
Instance Attribute Details
#aws_account_id ⇒ String (readonly)
The account ID of a project.
666 667 668 |
# File 'data_zone/cfn_project_profile.rb', line 666 def aws_account_id @aws_account_id end |
Class Method Details
.jsii_properties ⇒ Object
668 669 670 671 672 |
# File 'data_zone/cfn_project_profile.rb', line 668 def self.jsii_properties { :aws_account_id => "awsAccountId", } end |
Instance Method Details
#to_jsii ⇒ Object
674 675 676 677 678 679 680 |
# File 'data_zone/cfn_project_profile.rb', line 674 def to_jsii result = {} result.merge!({ "awsAccountId" => @aws_account_id, }) result.compact end |