Class: AWSCDK::BedrockAgentCore::CfnBrowserCustomProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnBrowserCustomProps
- Defined in:
- bedrock_agent_core/cfn_browser_custom_props.rb
Overview
Properties for defining a CfnBrowserCustom.
Instance Attribute Summary collapse
-
#browser_signing ⇒ AWSCDK::IResolvable, ...
readonly
Browser signing configuration.
-
#certificates ⇒ AWSCDK::IResolvable, ...
readonly
List of root CA certificates.
-
#description ⇒ String?
readonly
The custom browser.
-
#enterprise_policies ⇒ AWSCDK::IResolvable, ...
readonly
List of browser enterprise policies.
-
#execution_role_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the execution role.
-
#name ⇒ String
readonly
The name of the custom browser.
-
#network_configuration ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnBrowserCustom::BrowserNetworkConfigurationProperty
readonly
The network configuration for a code interpreter.
-
#recording_config ⇒ AWSCDK::IResolvable, ...
readonly
THe custom browser configuration.
-
#tags ⇒ Hash{String => String}?
readonly
The tags for the custom browser.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, network_configuration:, browser_signing: nil, certificates: nil, description: nil, enterprise_policies: nil, execution_role_arn: nil, recording_config: nil, tags: nil) ⇒ CfnBrowserCustomProps
constructor
A new instance of CfnBrowserCustomProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, network_configuration:, browser_signing: nil, certificates: nil, description: nil, enterprise_policies: nil, execution_role_arn: nil, recording_config: nil, tags: nil) ⇒ CfnBrowserCustomProps
Returns a new instance of CfnBrowserCustomProps.
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 18 def initialize(name:, network_configuration:, browser_signing: nil, certificates: nil, description: nil, enterprise_policies: nil, execution_role_arn: nil, recording_config: nil, tags: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @network_configuration = network_configuration.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnBrowserCustom::BrowserNetworkConfigurationProperty.new(**network_configuration.transform_keys(&:to_sym)) : network_configuration Jsii::Type.check_type(@network_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkJyb3dzZXJDdXN0b20uQnJvd3Nlck5ldHdvcmtDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "networkConfiguration") @browser_signing = browser_signing.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnBrowserCustom::BrowserSigningProperty.new(**browser_signing.transform_keys(&:to_sym)) : browser_signing Jsii::Type.check_type(@browser_signing, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkJyb3dzZXJDdXN0b20uQnJvd3NlclNpZ25pbmdQcm9wZXJ0eSJ9XX19")), "browserSigning") unless @browser_signing.nil? @certificates = certificates Jsii::Type.check_type(@certificates, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5Ccm93c2VyQ3VzdG9tLkNlcnRpZmljYXRlUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "certificates") unless @certificates.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @enterprise_policies = enterprise_policies Jsii::Type.check_type(@enterprise_policies, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5Ccm93c2VyQ3VzdG9tLkJyb3dzZXJFbnRlcnByaXNlUG9saWN5UHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "enterprisePolicies") unless @enterprise_policies.nil? @execution_role_arn = execution_role_arn Jsii::Type.check_type(@execution_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "executionRoleArn") unless @execution_role_arn.nil? @recording_config = recording_config.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnBrowserCustom::RecordingConfigProperty.new(**recording_config.transform_keys(&:to_sym)) : recording_config Jsii::Type.check_type(@recording_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkJyb3dzZXJDdXN0b20uUmVjb3JkaW5nQ29uZmlnUHJvcGVydHkifV19fQ==")), "recordingConfig") unless @recording_config.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#browser_signing ⇒ AWSCDK::IResolvable, ... (readonly)
Browser signing configuration.
55 56 57 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 55 def browser_signing @browser_signing end |
#certificates ⇒ AWSCDK::IResolvable, ... (readonly)
List of root CA certificates.
60 61 62 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 60 def certificates @certificates end |
#description ⇒ String? (readonly)
The custom browser.
65 66 67 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 65 def description @description end |
#enterprise_policies ⇒ AWSCDK::IResolvable, ... (readonly)
List of browser enterprise policies.
70 71 72 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 70 def enterprise_policies @enterprise_policies end |
#execution_role_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the execution role.
75 76 77 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 75 def execution_role_arn @execution_role_arn end |
#name ⇒ String (readonly)
The name of the custom browser.
43 44 45 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 43 def name @name end |
#network_configuration ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnBrowserCustom::BrowserNetworkConfigurationProperty (readonly)
The network configuration for a code interpreter.
This structure defines how the code interpreter connects to the network.
50 51 52 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 50 def network_configuration @network_configuration end |
#recording_config ⇒ AWSCDK::IResolvable, ... (readonly)
THe custom browser configuration.
80 81 82 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 80 def recording_config @recording_config end |
#tags ⇒ Hash{String => String}? (readonly)
The tags for the custom browser.
85 86 87 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 85 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 87 def self.jsii_properties { :name => "name", :network_configuration => "networkConfiguration", :browser_signing => "browserSigning", :certificates => "certificates", :description => "description", :enterprise_policies => "enterprisePolicies", :execution_role_arn => "executionRoleArn", :recording_config => "recordingConfig", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'bedrock_agent_core/cfn_browser_custom_props.rb', line 101 def to_jsii result = {} result.merge!({ "name" => @name, "networkConfiguration" => @network_configuration, "browserSigning" => @browser_signing, "certificates" => @certificates, "description" => @description, "enterprisePolicies" => @enterprise_policies, "executionRoleArn" => @execution_role_arn, "recordingConfig" => @recording_config, "tags" => @tags, }) result.compact end |