MethodSettingsArgs constructor
const
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
Implementation
const MethodSettingsArgs({
required this.methodPath,
this.region,
required this.restApi,
required this.settings,
required this.stageName,
});