
com.pulumi.azurenative.awsconnector.outputs.AwsConfigServiceDeliveryChannelPropertiesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.ConfigSnapshotDeliveryPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AwsConfigServiceDeliveryChannelPropertiesResponse {
/**
* @return <p>The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.</p>
*
*/
private @Nullable ConfigSnapshotDeliveryPropertiesResponse configSnapshotDeliveryProperties;
/**
* @return <p>The name of the delivery channel. By default, Config assigns the name 'default' when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.</p>
*
*/
private @Nullable String name;
/**
* @return <p>The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.</p> <p>If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see <a href='https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-policy.html'>Permissions for the Amazon S3 Bucket</a> in the <i>Config Developer Guide</i>.</p>
*
*/
private @Nullable String s3BucketName;
/**
* @return <p>The prefix for the specified Amazon S3 bucket.</p>
*
*/
private @Nullable String s3KeyPrefix;
/**
* @return <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.</p>
*
*/
private @Nullable String s3KmsKeyArn;
/**
* @return <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.</p> <p>If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see <a href='https://docs.aws.amazon.com/config/latest/developerguide/sns-topic-policy.html'>Permissions for the Amazon SNS Topic</a> in the <i>Config Developer Guide</i>.</p>
*
*/
private @Nullable String snsTopicARN;
private AwsConfigServiceDeliveryChannelPropertiesResponse() {}
/**
* @return <p>The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.</p>
*
*/
public Optional configSnapshotDeliveryProperties() {
return Optional.ofNullable(this.configSnapshotDeliveryProperties);
}
/**
* @return <p>The name of the delivery channel. By default, Config assigns the name 'default' when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.</p>
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return <p>The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.</p> <p>If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see <a href='https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-policy.html'>Permissions for the Amazon S3 Bucket</a> in the <i>Config Developer Guide</i>.</p>
*
*/
public Optional s3BucketName() {
return Optional.ofNullable(this.s3BucketName);
}
/**
* @return <p>The prefix for the specified Amazon S3 bucket.</p>
*
*/
public Optional s3KeyPrefix() {
return Optional.ofNullable(this.s3KeyPrefix);
}
/**
* @return <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.</p>
*
*/
public Optional s3KmsKeyArn() {
return Optional.ofNullable(this.s3KmsKeyArn);
}
/**
* @return <p>The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.</p> <p>If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see <a href='https://docs.aws.amazon.com/config/latest/developerguide/sns-topic-policy.html'>Permissions for the Amazon SNS Topic</a> in the <i>Config Developer Guide</i>.</p>
*
*/
public Optional snsTopicARN() {
return Optional.ofNullable(this.snsTopicARN);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AwsConfigServiceDeliveryChannelPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ConfigSnapshotDeliveryPropertiesResponse configSnapshotDeliveryProperties;
private @Nullable String name;
private @Nullable String s3BucketName;
private @Nullable String s3KeyPrefix;
private @Nullable String s3KmsKeyArn;
private @Nullable String snsTopicARN;
public Builder() {}
public Builder(AwsConfigServiceDeliveryChannelPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.configSnapshotDeliveryProperties = defaults.configSnapshotDeliveryProperties;
this.name = defaults.name;
this.s3BucketName = defaults.s3BucketName;
this.s3KeyPrefix = defaults.s3KeyPrefix;
this.s3KmsKeyArn = defaults.s3KmsKeyArn;
this.snsTopicARN = defaults.snsTopicARN;
}
@CustomType.Setter
public Builder configSnapshotDeliveryProperties(@Nullable ConfigSnapshotDeliveryPropertiesResponse configSnapshotDeliveryProperties) {
this.configSnapshotDeliveryProperties = configSnapshotDeliveryProperties;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder s3BucketName(@Nullable String s3BucketName) {
this.s3BucketName = s3BucketName;
return this;
}
@CustomType.Setter
public Builder s3KeyPrefix(@Nullable String s3KeyPrefix) {
this.s3KeyPrefix = s3KeyPrefix;
return this;
}
@CustomType.Setter
public Builder s3KmsKeyArn(@Nullable String s3KmsKeyArn) {
this.s3KmsKeyArn = s3KmsKeyArn;
return this;
}
@CustomType.Setter
public Builder snsTopicARN(@Nullable String snsTopicARN) {
this.snsTopicARN = snsTopicARN;
return this;
}
public AwsConfigServiceDeliveryChannelPropertiesResponse build() {
final var _resultValue = new AwsConfigServiceDeliveryChannelPropertiesResponse();
_resultValue.configSnapshotDeliveryProperties = configSnapshotDeliveryProperties;
_resultValue.name = name;
_resultValue.s3BucketName = s3BucketName;
_resultValue.s3KeyPrefix = s3KeyPrefix;
_resultValue.s3KmsKeyArn = s3KmsKeyArn;
_resultValue.snsTopicARN = snsTopicARN;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy