Class: AWSCDK::BedrockAgentCore::CfnBrowserCustom::RecordingConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnBrowserCustom::RecordingConfigProperty
- Defined in:
- bedrock_agent_core/cfn_browser_custom.rb
Overview
The recording configuration.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
The recording configuration for a browser.
-
#s3_location ⇒ AWSCDK::IResolvable, ...
readonly
The S3 location.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil, s3_location: nil) ⇒ RecordingConfigProperty
constructor
A new instance of RecordingConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil, s3_location: nil) ⇒ RecordingConfigProperty
Returns a new instance of RecordingConfigProperty.
878 879 880 881 882 883 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 878 def initialize(enabled: nil, s3_location: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? @s3_location = s3_location.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnBrowserCustom::S3LocationProperty.new(**s3_location.transform_keys(&:to_sym)) : s3_location Jsii::Type.check_type(@s3_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkJyb3dzZXJDdXN0b20uUzNMb2NhdGlvblByb3BlcnR5In1dfX0=")), "s3Location") unless @s3_location.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
Note:
Default: - false
The recording configuration for a browser.
This structure defines how browser sessions are recorded.
892 893 894 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 892 def enabled @enabled end |
#s3_location ⇒ AWSCDK::IResolvable, ... (readonly)
The S3 location.
897 898 899 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 897 def s3_location @s3_location end |
Class Method Details
.jsii_properties ⇒ Object
899 900 901 902 903 904 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 899 def self.jsii_properties { :enabled => "enabled", :s3_location => "s3Location", } end |
Instance Method Details
#to_jsii ⇒ Object
906 907 908 909 910 911 912 913 |
# File 'bedrock_agent_core/cfn_browser_custom.rb', line 906 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "s3Location" => @s3_location, }) result.compact end |