Skip to main content

subscription_states

Creates, updates, deletes, gets or lists a subscription_states resource.

Overview

Namesubscription_states
TypeResource
Idaws.shield.subscription_states

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
subscription_statestringThe status of the subscription. (ACTIVE, INACTIVE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_subscription_stateselectregionReturns the SubscriptionState, either Active or Inactive.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the SubscriptionState, either Active or Inactive.

SELECT
subscription_state
FROM aws.shield.subscription_states
WHERE region = '{{ region }}' -- required
;