Class LogDeliverySourceArgs.Builder

  • Enclosing class:
    LogDeliverySourceArgs

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

      • logType

        public LogDeliverySourceArgs.Builder logType​(com.pulumi.core.Output<java.lang.String> logType)
        Parameters:
        logType - The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CloudFront, the valid value is `ACCESS_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
        Returns:
        builder
      • logType

        public LogDeliverySourceArgs.Builder logType​(java.lang.String logType)
        Parameters:
        logType - The type of log that the source is sending. For Amazon Bedrock, the valid value is `APPLICATION_LOGS`. For Amazon Bedrock AgentCore, the valid values are `APPLICATION_LOGS`, `TRACES`, and `USAGE_LOGS`. For Amazon CloudFront, the valid value is `ACCESS_LOGS`. For Amazon CodeWhisperer, the valid value is `EVENT_LOGS`. For IAM Identity Center, the valid value is `ERROR_LOGS`. For Amazon WorkMail, the valid values are `ACCESS_CONTROL_LOGS`, `AUTHENTICATION_LOGS`, `WORKMAIL_AVAILABILITY_PROVIDER_LOGS`, and `WORKMAIL_MAILBOX_ACCESS_LOGS`. See [Enable logging from AWS services](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AWS-logs-and-resource-policy.html) for the log types supported by each service.
        Returns:
        builder
      • name

        public LogDeliverySourceArgs.Builder name​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name for this delivery source.
        Returns:
        builder
      • name

        public LogDeliverySourceArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name for this delivery source.
        Returns:
        builder
      • region

        public LogDeliverySourceArgs.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 LogDeliverySourceArgs.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
      • resourceArn

        public LogDeliverySourceArgs.Builder resourceArn​(com.pulumi.core.Output<java.lang.String> resourceArn)
        Parameters:
        resourceArn - The ARN of the AWS resource that is generating and sending logs.
        Returns:
        builder
      • resourceArn

        public LogDeliverySourceArgs.Builder resourceArn​(java.lang.String resourceArn)
        Parameters:
        resourceArn - The ARN of the AWS resource that is generating and sending logs.
        Returns:
        builder
      • tags

        public LogDeliverySourceArgs.Builder tags​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public LogDeliverySourceArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder