Class WorkspaceServiceAccountTokenArgs


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

      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name for the token to create. The name must be unique within the workspace.
      • 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.
      • secondsToLive

        public com.pulumi.core.Output<java.lang.Integer> secondsToLive()
        Returns:
        Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.
      • serviceAccountId

        public com.pulumi.core.Output<java.lang.String> serviceAccountId()
        Returns:
        ID of the service account for which to create a token.
      • workspaceId

        public com.pulumi.core.Output<java.lang.String> workspaceId()
        Returns:
        Grafana workspace with which the service account token is associated.