WorkspaceApiKeyArgs class

The set of arguments for WorkspaceApiKey. The set of arguments for WorkspaceApiKey.

Constructors

WorkspaceApiKeyArgs({required Input<String> keyName, required Input<String> keyRole, Input<String?>? region, required Input<int> secondsToLive, required Input<String> workspaceId})
Creates a new WorkspaceApiKeyArgs. keyName Specifies the name of the API key. Key names must be unique to the workspace. keyRole Specifies the permission level of the API key. Valid values are VIEWER, EDITOR, or ADMIN. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secondsToLive Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days. workspaceId The ID of the workspace that the API key is valid for.
const
WorkspaceApiKeyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyName → Input<String>
Specifies the name of the API key. Key names must be unique to the workspace.
final
keyRole → Input<String>
Specifies the permission level of the API key. Valid values are VIEWER, EDITOR, or ADMIN.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondsToLive → Input<int>
Specifies the time in seconds until the API key expires. Keys can be valid for up to 30 days.
final
workspaceId → Input<String>
The ID of the workspace that the API key is valid for.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited