Class: AWSCDK::Interfaces::AWSEntityresolution::PolicyStatementReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEntityresolution::PolicyStatementReference
- Defined in:
- interfaces/aws_entityresolution/policy_statement_reference.rb
Overview
A reference to a PolicyStatement resource.
Instance Attribute Summary collapse
-
#policy_statement_arn ⇒ String
readonly
The Arn of the PolicyStatement resource.
-
#statement_id ⇒ String
readonly
The StatementId of the PolicyStatement resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(policy_statement_arn:, statement_id:) ⇒ PolicyStatementReference
constructor
A new instance of PolicyStatementReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(policy_statement_arn:, statement_id:) ⇒ PolicyStatementReference
Returns a new instance of PolicyStatementReference.
9 10 11 12 13 14 |
# File 'interfaces/aws_entityresolution/policy_statement_reference.rb', line 9 def initialize(policy_statement_arn:, statement_id:) @policy_statement_arn = policy_statement_arn Jsii::Type.check_type(@policy_statement_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "policyStatementArn") @statement_id = statement_id Jsii::Type.check_type(@statement_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "statementId") end |
Instance Attribute Details
#policy_statement_arn ⇒ String (readonly)
The Arn of the PolicyStatement resource.
19 20 21 |
# File 'interfaces/aws_entityresolution/policy_statement_reference.rb', line 19 def policy_statement_arn @policy_statement_arn end |
#statement_id ⇒ String (readonly)
The StatementId of the PolicyStatement resource.
23 24 25 |
# File 'interfaces/aws_entityresolution/policy_statement_reference.rb', line 23 def statement_id @statement_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/aws_entityresolution/policy_statement_reference.rb', line 25 def self.jsii_properties { :policy_statement_arn => "policyStatementArn", :statement_id => "statementId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/aws_entityresolution/policy_statement_reference.rb', line 32 def to_jsii result = {} result.merge!({ "policyStatementArn" => @policy_statement_arn, "statementId" => @statement_id, }) result.compact end |