Class WorkspaceApiKeyArgs


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

      • keyName

        public com.pulumi.core.Output<java.lang.String> keyName()
        Returns:
        Name of the API key. Key names must be unique to the workspace.
      • keyRole

        public com.pulumi.core.Output<java.lang.String> keyRole()
        Returns:
        Permission level of the API key. Valid values are `VIEWER`, `EDITOR`, or `ADMIN`.
      • 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:
        Time in seconds until the API key expires. Keys can be valid for up to 30 days.
      • workspaceId

        public com.pulumi.core.Output<java.lang.String> workspaceId()
        Returns:
        ID of the workspace that the API key is valid for.