Class: AWSCDK::ObservabilityAdmin::CfnS3TableIntegrationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ObservabilityAdmin::CfnS3TableIntegrationProps
- Defined in:
- observability_admin/cfn_s3_table_integration_props.rb
Overview
Properties for defining a CfnS3TableIntegration.
Instance Attribute Summary collapse
-
#encryption ⇒ AWSCDK::IResolvable, AWSCDK::ObservabilityAdmin::CfnS3TableIntegration::EncryptionConfigProperty
readonly
Defines the encryption configuration for S3 Table integrations, including the encryption algorithm and KMS key settings.
-
#log_sources ⇒ AWSCDK::IResolvable, ...
readonly
A data source with an S3 Table integration for query access in the
logsnamespace. -
#role_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the IAM role that grants permissions for the S3 Table integration to access necessary resources.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The key-value pairs to associate with the S3 Table integration resource for categorization and management purposes.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption:, role_arn:, log_sources: nil, tags: nil) ⇒ CfnS3TableIntegrationProps
constructor
A new instance of CfnS3TableIntegrationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption:, role_arn:, log_sources: nil, tags: nil) ⇒ CfnS3TableIntegrationProps
Returns a new instance of CfnS3TableIntegrationProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'observability_admin/cfn_s3_table_integration_props.rb', line 13 def initialize(encryption:, role_arn:, log_sources: nil, tags: nil) @encryption = encryption.is_a?(Hash) ? ::AWSCDK::ObservabilityAdmin::CfnS3TableIntegration::EncryptionConfigProperty.new(**encryption.transform_keys(&:to_sym)) : encryption Jsii::Type.check_type(@encryption, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19vYnNlcnZhYmlsaXR5YWRtaW4uQ2ZuUzNUYWJsZUludGVncmF0aW9uLkVuY3J5cHRpb25Db25maWdQcm9wZXJ0eSJ9XX19")), "encryption") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") @log_sources = log_sources Jsii::Type.check_type(@log_sources, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfb2JzZXJ2YWJpbGl0eWFkbWluLkNmblMzVGFibGVJbnRlZ3JhdGlvbi5Mb2dTb3VyY2VQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "logSources") unless @log_sources.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#encryption ⇒ AWSCDK::IResolvable, AWSCDK::ObservabilityAdmin::CfnS3TableIntegration::EncryptionConfigProperty (readonly)
Defines the encryption configuration for S3 Table integrations, including the encryption algorithm and KMS key settings.
28 29 30 |
# File 'observability_admin/cfn_s3_table_integration_props.rb', line 28 def encryption @encryption end |
#log_sources ⇒ AWSCDK::IResolvable, ... (readonly)
A data source with an S3 Table integration for query access in the logs namespace.
38 39 40 |
# File 'observability_admin/cfn_s3_table_integration_props.rb', line 38 def log_sources @log_sources end |
#role_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the IAM role that grants permissions for the S3 Table integration to access necessary resources.
33 34 35 |
# File 'observability_admin/cfn_s3_table_integration_props.rb', line 33 def role_arn @role_arn end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The key-value pairs to associate with the S3 Table integration resource for categorization and management purposes.
43 44 45 |
# File 'observability_admin/cfn_s3_table_integration_props.rb', line 43 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'observability_admin/cfn_s3_table_integration_props.rb', line 45 def self.jsii_properties { :encryption => "encryption", :role_arn => "roleArn", :log_sources => "logSources", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
54 55 56 57 58 59 60 61 62 63 |
# File 'observability_admin/cfn_s3_table_integration_props.rb', line 54 def to_jsii result = {} result.merge!({ "encryption" => @encryption, "roleArn" => @role_arn, "logSources" => @log_sources, "tags" => @tags, }) result.compact end |