Class: AWSCDK::DataZone::CfnProjectProfile::AWSAccountProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_zone/cfn_project_profile.rb

Overview

The AWS account of the environment.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_account_id:) ⇒ AWSAccountProperty

Returns a new instance of AWSAccountProperty.

Parameters:

  • aws_account_id (String)

    The account ID of a project.



657
658
659
660
# File 'data_zone/cfn_project_profile.rb', line 657

def initialize(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_idString (readonly)

The account ID of a project.



666
667
668
# File 'data_zone/cfn_project_profile.rb', line 666

def 
  @aws_account_id
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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