MethodSettings constructor
MethodSettings(
- String name, {
- MethodSettingsArgs? args,
- CustomResourceOptions? options,
Creates a new MethodSettings.
name The Pulumi resource name.
args Arguments used to configure this MethodSettings. The set of arguments for MethodSettings.
options Resource options controlling this resource's behavior.
Implementation
MethodSettings(
String name, {
MethodSettingsArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:apigateway/methodSettings:MethodSettings',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
methodPath = registerOutput<String>('methodPath');
region = registerOutput<String>('region');
restApi = registerOutput<String>('restApi');
settings = registerOutput<MethodSettingsSettings>('settings', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return MethodSettingsSettings.fromMap((guardedValue as Map).cast<String, dynamic>()); });
stageName = registerOutput<String>('stageName');
}