Class DeliveryChannel

    • Method Detail

      • name

        public final 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.

        Returns:
        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.
      • s3BucketName

        public final 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.

        Returns:
        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.

      • s3KeyPrefix

        public final String s3KeyPrefix()

        The prefix for the specified Amazon S3 bucket.

        Returns:
        The prefix for the specified Amazon S3 bucket.
      • s3KmsKeyArn

        public final 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.

        Returns:
        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.
      • snsTopicARN

        public final 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.

        Returns:
        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.

      • configSnapshotDeliveryProperties

        public final ConfigSnapshotDeliveryProperties configSnapshotDeliveryProperties()

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

        Returns:
        The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)