WorkspaceServiceAccountTokenArgs constructor

const WorkspaceServiceAccountTokenArgs({
  1. Input<String?>? name,
  2. Input<String?>? region,
  3. required Input<int> secondsToLive,
  4. required Input<String> serviceAccountId,
  5. required Input<String> workspaceId,
})

Creates a new WorkspaceServiceAccountTokenArgs. name A name for the token to create. The name must be unique within the workspace. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secondsToLive Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future. serviceAccountId The ID of the service account for which to create a token. workspaceId The Grafana workspace with which the service account token is associated.

Implementation

const WorkspaceServiceAccountTokenArgs({
  this.name,
  this.region,
  required this.secondsToLive,
  required this.serviceAccountId,
  required this.workspaceId,
});