Class: AWSCDK::BedrockAgentCore::CfnBrowserCustom::RecordingConfigProperty

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

Overview

The recording configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil, s3_location: nil) ⇒ RecordingConfigProperty

Returns a new instance of RecordingConfigProperty.

Parameters:



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

#enabledBoolean, ... (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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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