Class LogDeliverySourceState.Builder

  • Enclosing class:
    LogDeliverySourceState

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

      • arn

        public LogDeliverySourceState.Builder arn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the delivery source.
        Returns:
        builder
      • logType

        public LogDeliverySourceState.Builder logType​(@Nullable
                                                      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 LogDeliverySourceState.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 LogDeliverySourceState.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name for this delivery source.
        Returns:
        builder
      • region

        public LogDeliverySourceState.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 LogDeliverySourceState.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 LogDeliverySourceState.Builder resourceArn​(@Nullable
                                                          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 LogDeliverySourceState.Builder resourceArn​(java.lang.String resourceArn)
        Parameters:
        resourceArn - The ARN of the AWS resource that is generating and sending logs.
        Returns:
        builder
      • service

        public LogDeliverySourceState.Builder service​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> service)
        Parameters:
        service - The AWS service that is sending logs.
        Returns:
        builder
      • service

        public LogDeliverySourceState.Builder service​(java.lang.String service)
        Parameters:
        service - The AWS service that is sending logs.
        Returns:
        builder
      • tags

        public LogDeliverySourceState.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 LogDeliverySourceState.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
      • tagsAll

        public LogDeliverySourceState.Builder tagsAll​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public LogDeliverySourceState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder