Class LogSubscriptionArgs


  • public final class LogSubscriptionArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • directoryId

        public com.pulumi.core.Output<java.lang.String> directoryId()
        Returns:
        ID of directory.
      • logGroupName

        public com.pulumi.core.Output<java.lang.String> logGroupName()
        Returns:
        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.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        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.