
com.pulumi.aws.securitylake.outputs.DataLakeConfigurationReplicationConfiguration Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.securitylake.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataLakeConfigurationReplicationConfiguration {
/**
* @return Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon 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 AWS Regions or within the same Region as the source bucket.
*
*/
private @Nullable List regions;
/**
* @return 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.
*
*/
private @Nullable String roleArn;
private DataLakeConfigurationReplicationConfiguration() {}
/**
* @return Replication enables automatic, asynchronous copying of objects across Amazon S3 buckets. Amazon 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 AWS Regions or within the same Region as the source bucket.
*
*/
public List regions() {
return this.regions == null ? List.of() : this.regions;
}
/**
* @return 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.
*
*/
public Optional roleArn() {
return Optional.ofNullable(this.roleArn);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataLakeConfigurationReplicationConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List regions;
private @Nullable String roleArn;
public Builder() {}
public Builder(DataLakeConfigurationReplicationConfiguration defaults) {
Objects.requireNonNull(defaults);
this.regions = defaults.regions;
this.roleArn = defaults.roleArn;
}
@CustomType.Setter
public Builder regions(@Nullable List regions) {
this.regions = regions;
return this;
}
public Builder regions(String... regions) {
return regions(List.of(regions));
}
@CustomType.Setter
public Builder roleArn(@Nullable String roleArn) {
this.roleArn = roleArn;
return this;
}
public DataLakeConfigurationReplicationConfiguration build() {
final var _resultValue = new DataLakeConfigurationReplicationConfiguration();
_resultValue.regions = regions;
_resultValue.roleArn = roleArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy