Class: AWSCDK::BedrockAgentCore::CfnBrowserCustom::BrowserEnterprisePolicyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_browser_custom.rb

Overview

Browser enterprise policy configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(location:, type:) ⇒ BrowserEnterprisePolicyProperty

Returns a new instance of BrowserEnterprisePolicyProperty.

Parameters:



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

#typeString (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_propertiesObject



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_jsiiObject



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