Class: AWSCDK::SecurityLake::CfnDataLake::ReplicationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
security_lake/cfn_data_lake.rb

Overview

Provides replication configuration details for objects stored in the Amazon Security Lake data lake.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(regions: nil, role_arn: nil) ⇒ ReplicationConfigurationProperty

Returns a new instance of ReplicationConfigurationProperty.

Parameters:

  • regions (Array<String>, nil) (defaults to: nil)

    Specifies one or more centralized rollup Regions.

  • role_arn (String, nil) (defaults to: nil)

    Replication settings for the Amazon S3 buckets.



708
709
710
711
712
713
# File 'security_lake/cfn_data_lake.rb', line 708

def initialize(regions: nil, role_arn: nil)
  @regions = regions
  Jsii::Type.check_type(@regions, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "regions") unless @regions.nil?
  @role_arn = role_arn
  Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") unless @role_arn.nil?
end

Instance Attribute Details

#regionsArray<String>? (readonly)

Specifies one or more centralized rollup Regions.

The AWS Region specified in the region parameter of the CreateDataLake or UpdateDataLake operations contributes data to the rollup Region or Regions specified in this parameter.

Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. S3 buckets that are configured for object replication can be owned by the same AWS account or by different accounts. You can replicate objects to a single destination bucket or to multiple destination buckets. The destination buckets can be in different Regions or within the same Region as the source bucket.



723
724
725
# File 'security_lake/cfn_data_lake.rb', line 723

def regions
  @regions
end

#role_arnString? (readonly)

Replication settings for the Amazon S3 buckets.

This parameter uses the AWS Identity and Access Management (IAM) role you created that is managed by Security Lake , to ensure the replication setting is correct.



730
731
732
# File 'security_lake/cfn_data_lake.rb', line 730

def role_arn
  @role_arn
end

Class Method Details

.jsii_propertiesObject



732
733
734
735
736
737
# File 'security_lake/cfn_data_lake.rb', line 732

def self.jsii_properties
  {
    :regions => "regions",
    :role_arn => "roleArn",
  }
end

Instance Method Details

#to_jsiiObject



739
740
741
742
743
744
745
746
# File 'security_lake/cfn_data_lake.rb', line 739

def to_jsii
  result = {}
  result.merge!({
    "regions" => @regions,
    "roleArn" => @role_arn,
  })
  result.compact
end