Class: AWSCDK::BedrockAgentCore::CfnBrowserCustom::BrowserEnterprisePolicyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnBrowserCustom::BrowserEnterprisePolicyProperty
- Defined in:
- bedrock_agent_core/cfn_browser_custom.rb
Overview
Browser enterprise policy configuration.
Instance Attribute Summary collapse
-
#location ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnBrowserCustom::S3LocationProperty
readonly
S3 Location Configuration.
-
#type ⇒ String
readonly
The type of browser enterprise policy.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(location:, type:) ⇒ BrowserEnterprisePolicyProperty
constructor
A new instance of BrowserEnterprisePolicyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(location:, type:) ⇒ BrowserEnterprisePolicyProperty
Returns a new instance of BrowserEnterprisePolicyProperty.
694 695 696 697 698 699 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 694 def initialize(location:, type:) @location = location.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnBrowserCustom::S3LocationProperty.new(**location.transform_keys(&:to_sym)) : location Jsii::Type.check_type(@location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkJyb3dzZXJDdXN0b20uUzNMb2NhdGlvblByb3BlcnR5In1dfX0=")), "location") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#location ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnBrowserCustom::S3LocationProperty (readonly)
S3 Location Configuration.
705 706 707 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 705 def location @location end |
#type ⇒ String (readonly)
The type of browser enterprise policy.
710 711 712 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 710 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
712 713 714 715 716 717 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 712 def self.jsii_properties { :location => "location", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
719 720 721 722 723 724 725 726 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 719 def to_jsii result = {} result.merge!({ "location" => @location, "type" => @type, }) result.compact end |