1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. servicequotas
  6. AutoManagement
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.28.0
published on Thursday, Apr 30, 2026 by Pulumi

    Manages AWS Service Quotas Automatic Management.

    Note: Due to AWS API limitations, the notificationArn attribute 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", &notifications.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:

    OptInLevel string
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    OptInType string

    The opt-in type for Automatic Management. Valid values: NotifyOnly, NotifyAndAdjust.

    The following arguments are optional:

    ExclusionList 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.
    NotificationArn 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.
    OptInLevel string
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    OptInType string

    The opt-in type for Automatic Management. Valid values: NotifyOnly, NotifyAndAdjust.

    The following arguments are optional:

    ExclusionList 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.
    NotificationArn 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.
    optInLevel String
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    optInType String

    The opt-in type for Automatic Management. Valid values: NotifyOnly, NotifyAndAdjust.

    The following arguments are optional:

    exclusionList 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.
    notificationArn 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.
    optInLevel string
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    optInType string

    The opt-in type for Automatic Management. Valid values: NotifyOnly, NotifyAndAdjust.

    The following arguments are optional:

    exclusionList {[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.
    notificationArn 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_level str
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    opt_in_type str

    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.
    optInLevel String
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    optInType String

    The opt-in type for Automatic Management. Valid values: NotifyOnly, NotifyAndAdjust.

    The following arguments are optional:

    exclusionList 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.
    notificationArn 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) -> AutoManagement
    func 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.
    The following state arguments are supported:
    ExclusionList 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.
    NotificationArn string
    The AWS User Notifications ARN for Automatic Management notifications.
    OptInLevel string
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    OptInType string

    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.
    ExclusionList 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.
    NotificationArn string
    The AWS User Notifications ARN for Automatic Management notifications.
    OptInLevel string
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    OptInType string

    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.
    exclusionList 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.
    notificationArn String
    The AWS User Notifications ARN for Automatic Management notifications.
    optInLevel String
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    optInType String

    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.
    exclusionList {[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.
    notificationArn string
    The AWS User Notifications ARN for Automatic Management notifications.
    optInLevel string
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    optInType string

    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_level str
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    opt_in_type str

    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.
    exclusionList 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.
    notificationArn String
    The AWS User Notifications ARN for Automatic Management notifications.
    optInLevel String
    The opt-in level for Automatic Management. Valid values: ACCOUNT.
    optInType String

    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 aws Terraform Provider.
    aws logo
    Viewing docs for AWS v7.28.0
    published on Thursday, Apr 30, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.