Class: Aws::ManagedGrafana::Types::CreateWorkspaceApiKeyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedGrafana::Types::CreateWorkspaceApiKeyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-managedgrafana/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key_name ⇒ String
Specifies the name of the key.
-
#key_role ⇒ String
Specifies the permission level of the key.
-
#seconds_to_live ⇒ Integer
Specifies the time in seconds until the key expires.
-
#workspace_id ⇒ String
The ID of the workspace to create an API key.
Instance Attribute Details
#key_name ⇒ String
Specifies the name of the key. Keynames must be unique to the workspace.
234 235 236 237 238 239 240 241 |
# File 'lib/aws-sdk-managedgrafana/types.rb', line 234 class CreateWorkspaceApiKeyRequest < Struct.new( :key_name, :key_role, :seconds_to_live, :workspace_id) SENSITIVE = [] include Aws::Structure end |
#key_role ⇒ String
Specifies the permission level of the key.
Valid values: ‘ADMIN`|`EDITOR`|`VIEWER`
234 235 236 237 238 239 240 241 |
# File 'lib/aws-sdk-managedgrafana/types.rb', line 234 class CreateWorkspaceApiKeyRequest < Struct.new( :key_name, :key_role, :seconds_to_live, :workspace_id) SENSITIVE = [] include Aws::Structure end |
#seconds_to_live ⇒ Integer
Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.
234 235 236 237 238 239 240 241 |
# File 'lib/aws-sdk-managedgrafana/types.rb', line 234 class CreateWorkspaceApiKeyRequest < Struct.new( :key_name, :key_role, :seconds_to_live, :workspace_id) SENSITIVE = [] include Aws::Structure end |
#workspace_id ⇒ String
The ID of the workspace to create an API key.
234 235 236 237 238 239 240 241 |
# File 'lib/aws-sdk-managedgrafana/types.rb', line 234 class CreateWorkspaceApiKeyRequest < Struct.new( :key_name, :key_role, :seconds_to_live, :workspace_id) SENSITIVE = [] include Aws::Structure end |