ApiCacheArgs class
The set of arguments for ApiCache. The set of arguments for ApiCache.
Constructors
-
ApiCacheArgs({required Input<
String> apiCachingBehavior, required Input<String> apiId, Input<bool?> ? atRestEncryptionEnabled, Input<String?> ? region, Input<bool?> ? transitEncryptionEnabled, required Input<int> ttl, required Input<String> type}) -
Creates a new ApiCacheArgs.
apiCachingBehaviorCaching behavior. Valid values areFULL_REQUEST_CACHINGandPER_RESOLVER_CACHING.apiIdGraphQL API ID.atRestEncryptionEnabledAt-rest encryption flag for cache. You cannot update this setting after creation.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.transitEncryptionEnabledTransit encryption flag when connecting to cache. You cannot update this setting after creation.ttlTTL in seconds for cache entries.typeCache instance type. Valid values areSMALL,MEDIUM,LARGE,XLARGE,LARGE_2X,LARGE_4X,LARGE_8X,LARGE_12X,T2_SMALL,T2_MEDIUM,R4_LARGE,R4_XLARGE,R4_2XLARGE,R4_4XLARGE,R4_8XLARGE.const -
ApiCacheArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiCachingBehavior
→ Input<
String> -
Caching behavior. Valid values are
FULL_REQUEST_CACHINGandPER_RESOLVER_CACHING.final -
apiId
→ Input<
String> -
GraphQL API ID.
final
-
atRestEncryptionEnabled
→ Input<
bool?> ? -
At-rest encryption flag for cache. You cannot update this setting after creation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
-
transitEncryptionEnabled
→ Input<
bool?> ? -
Transit encryption flag when connecting to cache. You cannot update this setting after creation.
final
-
ttl
→ Input<
int> -
TTL in seconds for cache entries.
final
-
type
→ Input<
String> -
Cache instance type. Valid values are
SMALL,MEDIUM,LARGE,XLARGE,LARGE_2X,LARGE_4X,LARGE_8X,LARGE_12X,T2_SMALL,T2_MEDIUM,R4_LARGE,R4_XLARGE,R4_2XLARGE,R4_4XLARGE,R4_8XLARGE.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