MethodSettingsArgs class

The set of arguments for MethodSettings. The set of arguments for MethodSettings.

Constructors

MethodSettingsArgs({required Input<String> methodPath, Input<String?>? region, required Input restApi, required Input<MethodSettingsSettings> settings, required Input<String> stageName})
Creates a new MethodSettingsArgs. methodPath Method path defined as {resource_path}/{http_method} for an individual method override, or */* for overriding all methods in the stage. Ensure to trim any leading forward slashes in the path (e.g., trimprefix(aws_api_gateway_resource.example.path, "/")). region Region where this resource will be managed. Defaults to the Region set in the provider configuration. restApi ID of the REST API settings Settings block, see below. stageName Name of the stage
const
MethodSettingsArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodPath → Input<String>
Method path defined as {resource_path}/{http_method} for an individual method override, or */* for overriding all methods in the stage. Ensure to trim any leading forward slashes in the path (e.g., trimprefix(aws_api_gateway_resource.example.path, "/")).
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
restApi → Input
ID of the REST API
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settings → Input<MethodSettingsSettings>
Settings block, see below.
final
stageName → Input<String>
Name of the stage
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