published on Thursday, Apr 30, 2026 by Pulumi
published on Thursday, Apr 30, 2026 by Pulumi
Manages AWS Service Quotas Automatic Management.
Note: Due to AWS API limitations, the
notificationArnattribute cannot be removed once set without recreating the resource. Removing this value from your configuration will trigger resource replacement.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const exampleNotificationConfiguration = new aws.notifications.NotificationConfiguration("example", {
name: "example",
description: "example configuration",
});
const example = new aws.servicequotas.AutoManagement("example", {
optInLevel: "ACCOUNT",
optInType: "NotifyOnly",
exclusionList: {
dynamodb: ["L-F98FE922"],
},
notificationArn: exampleNotificationConfiguration.arn,
});
import pulumi
import pulumi_aws as aws
example_notification_configuration = aws.notifications.NotificationConfiguration("example",
name="example",
description="example configuration")
example = aws.servicequotas.AutoManagement("example",
opt_in_level="ACCOUNT",
opt_in_type="NotifyOnly",
exclusion_list={
"dynamodb": ["L-F98FE922"],
},
notification_arn=example_notification_configuration.arn)
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/notifications"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/servicequotas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleNotificationConfiguration, err := notifications.NewNotificationConfiguration(ctx, "example", ¬ifications.NotificationConfigurationArgs{
Name: pulumi.String("example"),
Description: pulumi.String("example configuration"),
})
if err != nil {
return err
}
_, err = servicequotas.NewAutoManagement(ctx, "example", &servicequotas.AutoManagementArgs{
OptInLevel: pulumi.String("ACCOUNT"),
OptInType: pulumi.String("NotifyOnly"),
ExclusionList: pulumi.StringArrayMap{
"dynamodb": pulumi.StringArray{
pulumi.String("L-F98FE922"),
},
},
NotificationArn: exampleNotificationConfiguration.Arn,
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var exampleNotificationConfiguration = new Aws.Notifications.NotificationConfiguration("example", new()
{
Name = "example",
Description = "example configuration",
});
var example = new Aws.ServiceQuotas.AutoManagement("example", new()
{
OptInLevel = "ACCOUNT",
OptInType = "NotifyOnly",
ExclusionList =
{
{ "dynamodb", new[]
{
"L-F98FE922",
} },
},
NotificationArn = exampleNotificationConfiguration.Arn,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.notifications.NotificationConfiguration;
import com.pulumi.aws.notifications.NotificationConfigurationArgs;
import com.pulumi.aws.servicequotas.AutoManagement;
import com.pulumi.aws.servicequotas.AutoManagementArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleNotificationConfiguration = new NotificationConfiguration("exampleNotificationConfiguration", NotificationConfigurationArgs.builder()
.name("example")
.description("example configuration")
.build());
var example = new AutoManagement("example", AutoManagementArgs.builder()
.optInLevel("ACCOUNT")
.optInType("NotifyOnly")
.exclusionList(Map.of("dynamodb", "L-F98FE922"))
.notificationArn(exampleNotificationConfiguration.arn())
.build());
}
}
resources:
example:
type: aws:servicequotas:AutoManagement
properties:
optInLevel: ACCOUNT
optInType: NotifyOnly
exclusionList:
dynamodb:
- L-F98FE922
notificationArn: ${exampleNotificationConfiguration.arn}
exampleNotificationConfiguration:
type: aws:notifications:NotificationConfiguration
name: example
properties:
name: example
description: example configuration
Create AutoManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutoManagement(name: string, args: AutoManagementArgs, opts?: CustomResourceOptions);@overload
def AutoManagement(resource_name: str,
args: AutoManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AutoManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
opt_in_level: Optional[str] = None,
opt_in_type: Optional[str] = None,
exclusion_list: Optional[Mapping[str, Sequence[str]]] = None,
notification_arn: Optional[str] = None,
region: Optional[str] = None)func NewAutoManagement(ctx *Context, name string, args AutoManagementArgs, opts ...ResourceOption) (*AutoManagement, error)public AutoManagement(string name, AutoManagementArgs args, CustomResourceOptions? opts = null)
public AutoManagement(String name, AutoManagementArgs args)
public AutoManagement(String name, AutoManagementArgs args, CustomResourceOptions options)
type: aws:servicequotas:AutoManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutoManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutoManagementArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutoManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutoManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutoManagementArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var autoManagementResource = new Aws.ServiceQuotas.AutoManagement("autoManagementResource", new()
{
OptInLevel = "string",
OptInType = "string",
ExclusionList =
{
{ "string", new[]
{
"string",
} },
},
NotificationArn = "string",
Region = "string",
});
example, err := servicequotas.NewAutoManagement(ctx, "autoManagementResource", &servicequotas.AutoManagementArgs{
OptInLevel: pulumi.String("string"),
OptInType: pulumi.String("string"),
ExclusionList: pulumi.StringArrayMap{
"string": pulumi.StringArray{
pulumi.String("string"),
},
},
NotificationArn: pulumi.String("string"),
Region: pulumi.String("string"),
})
var autoManagementResource = new AutoManagement("autoManagementResource", AutoManagementArgs.builder()
.optInLevel("string")
.optInType("string")
.exclusionList(Map.of("string", "string"))
.notificationArn("string")
.region("string")
.build());
auto_management_resource = aws.servicequotas.AutoManagement("autoManagementResource",
opt_in_level="string",
opt_in_type="string",
exclusion_list={
"string": ["string"],
},
notification_arn="string",
region="string")
const autoManagementResource = new aws.servicequotas.AutoManagement("autoManagementResource", {
optInLevel: "string",
optInType: "string",
exclusionList: {
string: ["string"],
},
notificationArn: "string",
region: "string",
});
type: aws:servicequotas:AutoManagement
properties:
exclusionList:
string:
- string
notificationArn: string
optInLevel: string
optInType: string
region: string
AutoManagement Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AutoManagement resource accepts the following input properties:
- Opt
In stringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - Opt
In stringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- Exclusion
List Dictionary<string, ImmutableArray<string>> - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- Notification
Arn string - The AWS User Notifications ARN for Automatic Management notifications.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Opt
In stringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - Opt
In stringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- Exclusion
List map[string][]string - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- Notification
Arn string - The AWS User Notifications ARN for Automatic Management notifications.
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- opt
In StringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt
In StringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- exclusion
List Map<String,List<String>> - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification
Arn String - The AWS User Notifications ARN for Automatic Management notifications.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- opt
In stringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt
In stringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- exclusion
List {[key: string]: string[]} - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification
Arn string - The AWS User Notifications ARN for Automatic Management notifications.
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- opt_
in_ strlevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt_
in_ strtype The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- exclusion_
list Mapping[str, Sequence[str]] - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification_
arn str - The AWS User Notifications ARN for Automatic Management notifications.
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- opt
In StringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt
In StringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- exclusion
List Map<List<String>> - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification
Arn String - The AWS User Notifications ARN for Automatic Management notifications.
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the AutoManagement resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AutoManagement Resource
Get an existing AutoManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AutoManagementState, opts?: CustomResourceOptions): AutoManagement@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
exclusion_list: Optional[Mapping[str, Sequence[str]]] = None,
notification_arn: Optional[str] = None,
opt_in_level: Optional[str] = None,
opt_in_type: Optional[str] = None,
region: Optional[str] = None) -> AutoManagementfunc GetAutoManagement(ctx *Context, name string, id IDInput, state *AutoManagementState, opts ...ResourceOption) (*AutoManagement, error)public static AutoManagement Get(string name, Input<string> id, AutoManagementState? state, CustomResourceOptions? opts = null)public static AutoManagement get(String name, Output<String> id, AutoManagementState state, CustomResourceOptions options)resources: _: type: aws:servicequotas:AutoManagement get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Exclusion
List Dictionary<string, ImmutableArray<string>> - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- Notification
Arn string - The AWS User Notifications ARN for Automatic Management notifications.
- Opt
In stringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - Opt
In stringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Exclusion
List map[string][]string - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- Notification
Arn string - The AWS User Notifications ARN for Automatic Management notifications.
- Opt
In stringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - Opt
In stringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- exclusion
List Map<String,List<String>> - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification
Arn String - The AWS User Notifications ARN for Automatic Management notifications.
- opt
In StringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt
In StringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- exclusion
List {[key: string]: string[]} - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification
Arn string - The AWS User Notifications ARN for Automatic Management notifications.
- opt
In stringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt
In stringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- exclusion_
list Mapping[str, Sequence[str]] - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification_
arn str - The AWS User Notifications ARN for Automatic Management notifications.
- opt_
in_ strlevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt_
in_ strtype The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- exclusion
List Map<List<String>> - Map of AWS services excluded from Automatic Management. You will need to include the AWS service code and one or more Service Quotas codes.
- notification
Arn String - The AWS User Notifications ARN for Automatic Management notifications.
- opt
In StringLevel - The opt-in level for Automatic Management. Valid values:
ACCOUNT. - opt
In StringType The opt-in type for Automatic Management. Valid values:
NotifyOnly,NotifyAndAdjust.The following arguments are optional:
- region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
Import
Identity Schema
Optional
accountId(String) AWS Account where this resource is managed.region(String) Region where this resource is managed.
Using pulumi import, import Service Quotas Auto Management using the region name. For example:
$ pulumi import aws:servicequotas/autoManagement:AutoManagement example us-west-2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Apr 30, 2026 by Pulumi
