Class: AWSCDK::Interfaces::AWSBedrockagentcore::PolicyEngineReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBedrockagentcore::PolicyEngineReference
- Defined in:
- interfaces/aws_bedrockagentcore/policy_engine_reference.rb
Overview
A reference to a PolicyEngine resource.
Instance Attribute Summary collapse
-
#policy_engine_arn ⇒ String
readonly
The PolicyEngineArn of the PolicyEngine resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(policy_engine_arn:) ⇒ PolicyEngineReference
constructor
A new instance of PolicyEngineReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(policy_engine_arn:) ⇒ PolicyEngineReference
Returns a new instance of PolicyEngineReference.
8 9 10 11 |
# File 'interfaces/aws_bedrockagentcore/policy_engine_reference.rb', line 8 def initialize(policy_engine_arn:) @policy_engine_arn = policy_engine_arn Jsii::Type.check_type(@policy_engine_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "policyEngineArn") end |
Instance Attribute Details
#policy_engine_arn ⇒ String (readonly)
The PolicyEngineArn of the PolicyEngine resource.
16 17 18 |
# File 'interfaces/aws_bedrockagentcore/policy_engine_reference.rb', line 16 def policy_engine_arn @policy_engine_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_bedrockagentcore/policy_engine_reference.rb', line 18 def self.jsii_properties { :policy_engine_arn => "policyEngineArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_bedrockagentcore/policy_engine_reference.rb', line 24 def to_jsii result = {} result.merge!({ "policyEngineArn" => @policy_engine_arn, }) result.compact end |