Class: Aws::ManagedGrafana::Types::CreateWorkspaceServiceAccountTokenRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-managedgrafana/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

A name for the token to create.

Returns:

  • (String)


528
529
530
531
532
533
534
535
# File 'lib/aws-sdk-managedgrafana/types.rb', line 528

class CreateWorkspaceServiceAccountTokenRequest < Struct.new(
  :name,
  :seconds_to_live,
  :service_account_id,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#seconds_to_liveInteger

Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.

Returns:

  • (Integer)


528
529
530
531
532
533
534
535
# File 'lib/aws-sdk-managedgrafana/types.rb', line 528

class CreateWorkspaceServiceAccountTokenRequest < Struct.new(
  :name,
  :seconds_to_live,
  :service_account_id,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#service_account_idString

The ID of the service account for which to create a token.

Returns:

  • (String)


528
529
530
531
532
533
534
535
# File 'lib/aws-sdk-managedgrafana/types.rb', line 528

class CreateWorkspaceServiceAccountTokenRequest < Struct.new(
  :name,
  :seconds_to_live,
  :service_account_id,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#workspace_idString

The ID of the workspace the service account resides within.

Returns:

  • (String)


528
529
530
531
532
533
534
535
# File 'lib/aws-sdk-managedgrafana/types.rb', line 528

class CreateWorkspaceServiceAccountTokenRequest < Struct.new(
  :name,
  :seconds_to_live,
  :service_account_id,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end