Interface DeliveryChannel.Builder

    • Method Detail

      • name

        DeliveryChannel.Builder name​(String name)

        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.

        Parameters:
        name - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3BucketName

        DeliveryChannel.Builder s3BucketName​(String s3BucketName)

        The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.

        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 Permissions for the Amazon S3 Bucket in the Config Developer Guide.

        Parameters:
        s3BucketName - The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.

        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 Permissions for the Amazon S3 Bucket in the Config Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3KeyPrefix

        DeliveryChannel.Builder s3KeyPrefix​(String s3KeyPrefix)

        The prefix for the specified Amazon S3 bucket.

        Parameters:
        s3KeyPrefix - The prefix for the specified Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • s3KmsKeyArn

        DeliveryChannel.Builder s3KmsKeyArn​(String s3KmsKeyArn)

        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.

        Parameters:
        s3KmsKeyArn - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsTopicARN

        DeliveryChannel.Builder snsTopicARN​(String snsTopicARN)

        The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.

        If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.

        Parameters:
        snsTopicARN - The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.

        If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configSnapshotDeliveryProperties

        DeliveryChannel.Builder configSnapshotDeliveryProperties​(ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties)

        The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.

        Parameters:
        configSnapshotDeliveryProperties - The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.