Class LogSubscriptionArgs.Builder

  • Enclosing class:
    LogSubscriptionArgs

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

      • directoryId

        public LogSubscriptionArgs.Builder directoryId​(com.pulumi.core.Output<java.lang.String> directoryId)
        Parameters:
        directoryId - ID of directory.
        Returns:
        builder
      • directoryId

        public LogSubscriptionArgs.Builder directoryId​(java.lang.String directoryId)
        Parameters:
        directoryId - ID of directory.
        Returns:
        builder
      • logGroupName

        public LogSubscriptionArgs.Builder logGroupName​(com.pulumi.core.Output<java.lang.String> logGroupName)
        Parameters:
        logGroupName - Name of the CloudWatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time.
        Returns:
        builder
      • logGroupName

        public LogSubscriptionArgs.Builder logGroupName​(java.lang.String logGroupName)
        Parameters:
        logGroupName - Name of the CloudWatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time.
        Returns:
        builder
      • region

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