Class PublishingDestinationArgs.Builder

  • Enclosing class:
    PublishingDestinationArgs

    public static final class PublishingDestinationArgs.Builder
    extends java.lang.Object
    • Method Detail

      • destinationArn

        public PublishingDestinationArgs.Builder destinationArn​(com.pulumi.core.Output<java.lang.String> destinationArn)
        Parameters:
        destinationArn - Bucket ARN and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided
        Returns:
        builder
      • destinationArn

        public PublishingDestinationArgs.Builder destinationArn​(java.lang.String destinationArn)
        Parameters:
        destinationArn - Bucket ARN and prefix under which the findings get exported. Bucket-ARN is required, the prefix is optional and will be `AWSLogs/[Account-ID]/GuardDuty/[Region]/` if not provided
        Returns:
        builder
      • destinationType

        public PublishingDestinationArgs.Builder destinationType​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> destinationType)
        Parameters:
        destinationType - Currently there is only "S3" available as destination type which is also the default value
        Returns:
        builder
      • destinationType

        public PublishingDestinationArgs.Builder destinationType​(java.lang.String destinationType)
        Parameters:
        destinationType - Currently there is only "S3" available as destination type which is also the default value
        Returns:
        builder
      • detectorId

        public PublishingDestinationArgs.Builder detectorId​(com.pulumi.core.Output<java.lang.String> detectorId)
        Parameters:
        detectorId - Detector ID of the GuardDuty.
        Returns:
        builder
      • detectorId

        public PublishingDestinationArgs.Builder detectorId​(java.lang.String detectorId)
        Parameters:
        detectorId - Detector ID of the GuardDuty.
        Returns:
        builder
      • kmsKeyArn

        public PublishingDestinationArgs.Builder kmsKeyArn​(com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
        Returns:
        builder
      • kmsKeyArn

        public PublishingDestinationArgs.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt GuardDuty findings. GuardDuty enforces this to be encrypted.
        Returns:
        builder
      • region

        public PublishingDestinationArgs.Builder region​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public PublishingDestinationArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public PublishingDestinationArgs.Builder tags​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).
        Returns:
        builder
      • tags

        public PublishingDestinationArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. > **Note:** In case of missing permissions (S3 Bucket Policy _or_ KMS Key permissions) the resource will fail to create. If the permissions are changed after resource creation, this can be asked from the AWS API via the "DescribePublishingDestination" call (https://docs.aws.amazon.com/cli/latest/reference/guardduty/describe-publishing-destination.html).
        Returns:
        builder