servicequotas

package
v6.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetServiceArgs

type GetServiceArgs struct {
	// Service name to lookup within Service Quotas. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getService.

type GetServiceOutputArgs

type GetServiceOutputArgs struct {
	// Service name to lookup within Service Quotas. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getService.

func (GetServiceOutputArgs) ElementType

func (GetServiceOutputArgs) ElementType() reflect.Type

type GetServiceQuotaUsageMetric

type GetServiceQuotaUsageMetric struct {
	// The metric dimensions.
	MetricDimensions []GetServiceQuotaUsageMetricMetricDimension `pulumi:"metricDimensions"`
	// The name of the metric.
	MetricName string `pulumi:"metricName"`
	// The namespace of the metric.
	MetricNamespace string `pulumi:"metricNamespace"`
	// The metric statistic that AWS recommend you use when determining quota usage.
	MetricStatisticRecommendation string `pulumi:"metricStatisticRecommendation"`
}

type GetServiceQuotaUsageMetricArgs

type GetServiceQuotaUsageMetricArgs struct {
	// The metric dimensions.
	MetricDimensions GetServiceQuotaUsageMetricMetricDimensionArrayInput `pulumi:"metricDimensions"`
	// The name of the metric.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// The namespace of the metric.
	MetricNamespace pulumi.StringInput `pulumi:"metricNamespace"`
	// The metric statistic that AWS recommend you use when determining quota usage.
	MetricStatisticRecommendation pulumi.StringInput `pulumi:"metricStatisticRecommendation"`
}

func (GetServiceQuotaUsageMetricArgs) ElementType

func (GetServiceQuotaUsageMetricArgs) ToGetServiceQuotaUsageMetricOutput

func (i GetServiceQuotaUsageMetricArgs) ToGetServiceQuotaUsageMetricOutput() GetServiceQuotaUsageMetricOutput

func (GetServiceQuotaUsageMetricArgs) ToGetServiceQuotaUsageMetricOutputWithContext

func (i GetServiceQuotaUsageMetricArgs) ToGetServiceQuotaUsageMetricOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricOutput

type GetServiceQuotaUsageMetricArray

type GetServiceQuotaUsageMetricArray []GetServiceQuotaUsageMetricInput

func (GetServiceQuotaUsageMetricArray) ElementType

func (GetServiceQuotaUsageMetricArray) ToGetServiceQuotaUsageMetricArrayOutput

func (i GetServiceQuotaUsageMetricArray) ToGetServiceQuotaUsageMetricArrayOutput() GetServiceQuotaUsageMetricArrayOutput

func (GetServiceQuotaUsageMetricArray) ToGetServiceQuotaUsageMetricArrayOutputWithContext

func (i GetServiceQuotaUsageMetricArray) ToGetServiceQuotaUsageMetricArrayOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricArrayOutput

type GetServiceQuotaUsageMetricArrayInput

type GetServiceQuotaUsageMetricArrayInput interface {
	pulumi.Input

	ToGetServiceQuotaUsageMetricArrayOutput() GetServiceQuotaUsageMetricArrayOutput
	ToGetServiceQuotaUsageMetricArrayOutputWithContext(context.Context) GetServiceQuotaUsageMetricArrayOutput
}

GetServiceQuotaUsageMetricArrayInput is an input type that accepts GetServiceQuotaUsageMetricArray and GetServiceQuotaUsageMetricArrayOutput values. You can construct a concrete instance of `GetServiceQuotaUsageMetricArrayInput` via:

GetServiceQuotaUsageMetricArray{ GetServiceQuotaUsageMetricArgs{...} }

type GetServiceQuotaUsageMetricArrayOutput

type GetServiceQuotaUsageMetricArrayOutput struct{ *pulumi.OutputState }

func (GetServiceQuotaUsageMetricArrayOutput) ElementType

func (GetServiceQuotaUsageMetricArrayOutput) Index

func (GetServiceQuotaUsageMetricArrayOutput) ToGetServiceQuotaUsageMetricArrayOutput

func (o GetServiceQuotaUsageMetricArrayOutput) ToGetServiceQuotaUsageMetricArrayOutput() GetServiceQuotaUsageMetricArrayOutput

func (GetServiceQuotaUsageMetricArrayOutput) ToGetServiceQuotaUsageMetricArrayOutputWithContext

func (o GetServiceQuotaUsageMetricArrayOutput) ToGetServiceQuotaUsageMetricArrayOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricArrayOutput

type GetServiceQuotaUsageMetricInput

type GetServiceQuotaUsageMetricInput interface {
	pulumi.Input

	ToGetServiceQuotaUsageMetricOutput() GetServiceQuotaUsageMetricOutput
	ToGetServiceQuotaUsageMetricOutputWithContext(context.Context) GetServiceQuotaUsageMetricOutput
}

GetServiceQuotaUsageMetricInput is an input type that accepts GetServiceQuotaUsageMetricArgs and GetServiceQuotaUsageMetricOutput values. You can construct a concrete instance of `GetServiceQuotaUsageMetricInput` via:

GetServiceQuotaUsageMetricArgs{...}

type GetServiceQuotaUsageMetricMetricDimension

type GetServiceQuotaUsageMetricMetricDimension struct {
	Class    string `pulumi:"class"`
	Resource string `pulumi:"resource"`
	Service  string `pulumi:"service"`
	Type     string `pulumi:"type"`
}

type GetServiceQuotaUsageMetricMetricDimensionArgs

type GetServiceQuotaUsageMetricMetricDimensionArgs struct {
	Class    pulumi.StringInput `pulumi:"class"`
	Resource pulumi.StringInput `pulumi:"resource"`
	Service  pulumi.StringInput `pulumi:"service"`
	Type     pulumi.StringInput `pulumi:"type"`
}

func (GetServiceQuotaUsageMetricMetricDimensionArgs) ElementType

func (GetServiceQuotaUsageMetricMetricDimensionArgs) ToGetServiceQuotaUsageMetricMetricDimensionOutput

func (i GetServiceQuotaUsageMetricMetricDimensionArgs) ToGetServiceQuotaUsageMetricMetricDimensionOutput() GetServiceQuotaUsageMetricMetricDimensionOutput

func (GetServiceQuotaUsageMetricMetricDimensionArgs) ToGetServiceQuotaUsageMetricMetricDimensionOutputWithContext

func (i GetServiceQuotaUsageMetricMetricDimensionArgs) ToGetServiceQuotaUsageMetricMetricDimensionOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricMetricDimensionOutput

type GetServiceQuotaUsageMetricMetricDimensionArray

type GetServiceQuotaUsageMetricMetricDimensionArray []GetServiceQuotaUsageMetricMetricDimensionInput

func (GetServiceQuotaUsageMetricMetricDimensionArray) ElementType

func (GetServiceQuotaUsageMetricMetricDimensionArray) ToGetServiceQuotaUsageMetricMetricDimensionArrayOutput

func (i GetServiceQuotaUsageMetricMetricDimensionArray) ToGetServiceQuotaUsageMetricMetricDimensionArrayOutput() GetServiceQuotaUsageMetricMetricDimensionArrayOutput

func (GetServiceQuotaUsageMetricMetricDimensionArray) ToGetServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext

func (i GetServiceQuotaUsageMetricMetricDimensionArray) ToGetServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricMetricDimensionArrayOutput

type GetServiceQuotaUsageMetricMetricDimensionArrayInput

type GetServiceQuotaUsageMetricMetricDimensionArrayInput interface {
	pulumi.Input

	ToGetServiceQuotaUsageMetricMetricDimensionArrayOutput() GetServiceQuotaUsageMetricMetricDimensionArrayOutput
	ToGetServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext(context.Context) GetServiceQuotaUsageMetricMetricDimensionArrayOutput
}

GetServiceQuotaUsageMetricMetricDimensionArrayInput is an input type that accepts GetServiceQuotaUsageMetricMetricDimensionArray and GetServiceQuotaUsageMetricMetricDimensionArrayOutput values. You can construct a concrete instance of `GetServiceQuotaUsageMetricMetricDimensionArrayInput` via:

GetServiceQuotaUsageMetricMetricDimensionArray{ GetServiceQuotaUsageMetricMetricDimensionArgs{...} }

type GetServiceQuotaUsageMetricMetricDimensionArrayOutput

type GetServiceQuotaUsageMetricMetricDimensionArrayOutput struct{ *pulumi.OutputState }

func (GetServiceQuotaUsageMetricMetricDimensionArrayOutput) ElementType

func (GetServiceQuotaUsageMetricMetricDimensionArrayOutput) Index

func (GetServiceQuotaUsageMetricMetricDimensionArrayOutput) ToGetServiceQuotaUsageMetricMetricDimensionArrayOutput

func (GetServiceQuotaUsageMetricMetricDimensionArrayOutput) ToGetServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext

func (o GetServiceQuotaUsageMetricMetricDimensionArrayOutput) ToGetServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricMetricDimensionArrayOutput

type GetServiceQuotaUsageMetricMetricDimensionInput

type GetServiceQuotaUsageMetricMetricDimensionInput interface {
	pulumi.Input

	ToGetServiceQuotaUsageMetricMetricDimensionOutput() GetServiceQuotaUsageMetricMetricDimensionOutput
	ToGetServiceQuotaUsageMetricMetricDimensionOutputWithContext(context.Context) GetServiceQuotaUsageMetricMetricDimensionOutput
}

GetServiceQuotaUsageMetricMetricDimensionInput is an input type that accepts GetServiceQuotaUsageMetricMetricDimensionArgs and GetServiceQuotaUsageMetricMetricDimensionOutput values. You can construct a concrete instance of `GetServiceQuotaUsageMetricMetricDimensionInput` via:

GetServiceQuotaUsageMetricMetricDimensionArgs{...}

type GetServiceQuotaUsageMetricMetricDimensionOutput

type GetServiceQuotaUsageMetricMetricDimensionOutput struct{ *pulumi.OutputState }

func (GetServiceQuotaUsageMetricMetricDimensionOutput) Class

func (GetServiceQuotaUsageMetricMetricDimensionOutput) ElementType

func (GetServiceQuotaUsageMetricMetricDimensionOutput) Resource

func (GetServiceQuotaUsageMetricMetricDimensionOutput) Service

func (GetServiceQuotaUsageMetricMetricDimensionOutput) ToGetServiceQuotaUsageMetricMetricDimensionOutput

func (o GetServiceQuotaUsageMetricMetricDimensionOutput) ToGetServiceQuotaUsageMetricMetricDimensionOutput() GetServiceQuotaUsageMetricMetricDimensionOutput

func (GetServiceQuotaUsageMetricMetricDimensionOutput) ToGetServiceQuotaUsageMetricMetricDimensionOutputWithContext

func (o GetServiceQuotaUsageMetricMetricDimensionOutput) ToGetServiceQuotaUsageMetricMetricDimensionOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricMetricDimensionOutput

func (GetServiceQuotaUsageMetricMetricDimensionOutput) Type

type GetServiceQuotaUsageMetricOutput

type GetServiceQuotaUsageMetricOutput struct{ *pulumi.OutputState }

func (GetServiceQuotaUsageMetricOutput) ElementType

func (GetServiceQuotaUsageMetricOutput) MetricDimensions

The metric dimensions.

func (GetServiceQuotaUsageMetricOutput) MetricName

The name of the metric.

func (GetServiceQuotaUsageMetricOutput) MetricNamespace

The namespace of the metric.

func (GetServiceQuotaUsageMetricOutput) MetricStatisticRecommendation

func (o GetServiceQuotaUsageMetricOutput) MetricStatisticRecommendation() pulumi.StringOutput

The metric statistic that AWS recommend you use when determining quota usage.

func (GetServiceQuotaUsageMetricOutput) ToGetServiceQuotaUsageMetricOutput

func (o GetServiceQuotaUsageMetricOutput) ToGetServiceQuotaUsageMetricOutput() GetServiceQuotaUsageMetricOutput

func (GetServiceQuotaUsageMetricOutput) ToGetServiceQuotaUsageMetricOutputWithContext

func (o GetServiceQuotaUsageMetricOutput) ToGetServiceQuotaUsageMetricOutputWithContext(ctx context.Context) GetServiceQuotaUsageMetricOutput

type GetServiceResult

type GetServiceResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Code of the service.
	ServiceCode string `pulumi:"serviceCode"`
	ServiceName string `pulumi:"serviceName"`
}

A collection of values returned by getService.

func GetService

func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)

Retrieve information about a Service Quotas Service.

> **NOTE:** Global quotas apply to all AWS regions, but can only be accessed in `us-east-1` in the Commercial partition or `us-gov-west-1` in the GovCloud partition. In other regions, the AWS API will return the error `The request failed because the specified service does not exist.`

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicequotas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicequotas.GetService(ctx, &servicequotas.GetServiceArgs{
			ServiceName: "Amazon Virtual Private Cloud (Amazon VPC)",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServiceResultOutput

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (GetServiceResultOutput) ElementType

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) ServiceCode

func (o GetServiceResultOutput) ServiceCode() pulumi.StringOutput

Code of the service.

func (GetServiceResultOutput) ServiceName

func (o GetServiceResultOutput) ServiceName() pulumi.StringOutput

func (GetServiceResultOutput) ToGetServiceResultOutput

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext

func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput

type LookupServiceQuotaArgs

type LookupServiceQuotaArgs struct {
	// Quota code within the service. When configured, the data source directly looks up the service quota. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html). One of `quotaCode` or `quotaName` must be specified.
	QuotaCode *string `pulumi:"quotaCode"`
	// Quota name within the service. When configured, the data source searches through all service quotas to find the matching quota name. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html). One of `quotaName` or `quotaCode` must be specified.
	QuotaName *string `pulumi:"quotaName"`
	// Service code for the quota. Available values can be found with the `servicequotas.getService` data source or [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
	ServiceCode string `pulumi:"serviceCode"`
}

A collection of arguments for invoking getServiceQuota.

type LookupServiceQuotaOutputArgs

type LookupServiceQuotaOutputArgs struct {
	// Quota code within the service. When configured, the data source directly looks up the service quota. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html). One of `quotaCode` or `quotaName` must be specified.
	QuotaCode pulumi.StringPtrInput `pulumi:"quotaCode"`
	// Quota name within the service. When configured, the data source searches through all service quotas to find the matching quota name. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html). One of `quotaName` or `quotaCode` must be specified.
	QuotaName pulumi.StringPtrInput `pulumi:"quotaName"`
	// Service code for the quota. Available values can be found with the `servicequotas.getService` data source or [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
	ServiceCode pulumi.StringInput `pulumi:"serviceCode"`
}

A collection of arguments for invoking getServiceQuota.

func (LookupServiceQuotaOutputArgs) ElementType

type LookupServiceQuotaResult

type LookupServiceQuotaResult struct {
	// Whether the service quota is adjustable.
	Adjustable bool `pulumi:"adjustable"`
	// ARN of the service quota.
	Arn string `pulumi:"arn"`
	// Default value of the service quota.
	DefaultValue float64 `pulumi:"defaultValue"`
	// Whether the service quota is global for the AWS account.
	GlobalQuota bool `pulumi:"globalQuota"`
	// The provider-assigned unique ID for this managed resource.
	Id          string `pulumi:"id"`
	QuotaCode   string `pulumi:"quotaCode"`
	QuotaName   string `pulumi:"quotaName"`
	ServiceCode string `pulumi:"serviceCode"`
	// Name of the service.
	ServiceName string `pulumi:"serviceName"`
	// Information about the measurement.
	UsageMetrics []GetServiceQuotaUsageMetric `pulumi:"usageMetrics"`
	// Current value of the service quota.
	Value float64 `pulumi:"value"`
}

A collection of values returned by getServiceQuota.

func LookupServiceQuota

func LookupServiceQuota(ctx *pulumi.Context, args *LookupServiceQuotaArgs, opts ...pulumi.InvokeOption) (*LookupServiceQuotaResult, error)

Retrieve information about a Service Quota.

> **NOTE:** Global quotas apply to all AWS regions, but can only be accessed in `us-east-1` in the Commercial partition or `us-gov-west-1` in the GovCloud partition. In other regions, the AWS API will return the error `The request failed because the specified service does not exist.`

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicequotas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicequotas.LookupServiceQuota(ctx, &servicequotas.LookupServiceQuotaArgs{
			QuotaCode:   pulumi.StringRef("L-F678F1CE"),
			ServiceCode: "vpc",
		}, nil)
		if err != nil {
			return err
		}
		_, err = servicequotas.LookupServiceQuota(ctx, &servicequotas.LookupServiceQuotaArgs{
			QuotaName:   pulumi.StringRef("VPCs per Region"),
			ServiceCode: "vpc",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceQuotaResultOutput

type LookupServiceQuotaResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceQuota.

func (LookupServiceQuotaResultOutput) Adjustable

Whether the service quota is adjustable.

func (LookupServiceQuotaResultOutput) Arn

ARN of the service quota.

func (LookupServiceQuotaResultOutput) DefaultValue

Default value of the service quota.

func (LookupServiceQuotaResultOutput) ElementType

func (LookupServiceQuotaResultOutput) GlobalQuota

Whether the service quota is global for the AWS account.

func (LookupServiceQuotaResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceQuotaResultOutput) QuotaCode

func (LookupServiceQuotaResultOutput) QuotaName

func (LookupServiceQuotaResultOutput) ServiceCode

func (LookupServiceQuotaResultOutput) ServiceName

Name of the service.

func (LookupServiceQuotaResultOutput) ToLookupServiceQuotaResultOutput

func (o LookupServiceQuotaResultOutput) ToLookupServiceQuotaResultOutput() LookupServiceQuotaResultOutput

func (LookupServiceQuotaResultOutput) ToLookupServiceQuotaResultOutputWithContext

func (o LookupServiceQuotaResultOutput) ToLookupServiceQuotaResultOutputWithContext(ctx context.Context) LookupServiceQuotaResultOutput

func (LookupServiceQuotaResultOutput) UsageMetrics

Information about the measurement.

func (LookupServiceQuotaResultOutput) Value

Current value of the service quota.

type ServiceQuota

type ServiceQuota struct {
	pulumi.CustomResourceState

	// Whether the service quota can be increased.
	Adjustable pulumi.BoolOutput `pulumi:"adjustable"`
	// Amazon Resource Name (ARN) of the service quota.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Default value of the service quota.
	DefaultValue pulumi.Float64Output `pulumi:"defaultValue"`
	// Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).
	QuotaCode pulumi.StringOutput `pulumi:"quotaCode"`
	// Name of the quota.
	QuotaName     pulumi.StringOutput `pulumi:"quotaName"`
	RequestId     pulumi.StringOutput `pulumi:"requestId"`
	RequestStatus pulumi.StringOutput `pulumi:"requestStatus"`
	// Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
	ServiceCode pulumi.StringOutput `pulumi:"serviceCode"`
	// Name of the service.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// Information about the measurement.
	UsageMetrics ServiceQuotaUsageMetricArrayOutput `pulumi:"usageMetrics"`
	// Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.
	Value pulumi.Float64Output `pulumi:"value"`
}

Manages an individual Service Quota.

> **NOTE:** Global quotas apply to all AWS regions, but can only be accessed in `us-east-1` in the Commercial partition or `us-gov-west-1` in the GovCloud partition. In other regions, the AWS API will return the error `The request failed because the specified service does not exist.`

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicequotas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := servicequotas.NewServiceQuota(ctx, "example", &servicequotas.ServiceQuotaArgs{
			QuotaCode:   pulumi.String("L-F678F1CE"),
			ServiceCode: pulumi.String("vpc"),
			Value:       pulumi.Float64(75),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_servicequotas_service_quota.example

id = "vpc/L-F678F1CE" } Using `pulumi import`, import `aws_servicequotas_service_quota` using the service code and quota code, separated by a front slash (`/`). For exampleconsole % pulumi import aws_servicequotas_service_quota.example vpc/L-F678F1CE

func GetServiceQuota

func GetServiceQuota(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceQuotaState, opts ...pulumi.ResourceOption) (*ServiceQuota, error)

GetServiceQuota gets an existing ServiceQuota resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceQuota

func NewServiceQuota(ctx *pulumi.Context,
	name string, args *ServiceQuotaArgs, opts ...pulumi.ResourceOption) (*ServiceQuota, error)

NewServiceQuota registers a new resource with the given unique name, arguments, and options.

func (*ServiceQuota) ElementType

func (*ServiceQuota) ElementType() reflect.Type

func (*ServiceQuota) ToServiceQuotaOutput

func (i *ServiceQuota) ToServiceQuotaOutput() ServiceQuotaOutput

func (*ServiceQuota) ToServiceQuotaOutputWithContext

func (i *ServiceQuota) ToServiceQuotaOutputWithContext(ctx context.Context) ServiceQuotaOutput

type ServiceQuotaArgs

type ServiceQuotaArgs struct {
	// Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).
	QuotaCode pulumi.StringInput
	// Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
	ServiceCode pulumi.StringInput
	// Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.
	Value pulumi.Float64Input
}

The set of arguments for constructing a ServiceQuota resource.

func (ServiceQuotaArgs) ElementType

func (ServiceQuotaArgs) ElementType() reflect.Type

type ServiceQuotaArray

type ServiceQuotaArray []ServiceQuotaInput

func (ServiceQuotaArray) ElementType

func (ServiceQuotaArray) ElementType() reflect.Type

func (ServiceQuotaArray) ToServiceQuotaArrayOutput

func (i ServiceQuotaArray) ToServiceQuotaArrayOutput() ServiceQuotaArrayOutput

func (ServiceQuotaArray) ToServiceQuotaArrayOutputWithContext

func (i ServiceQuotaArray) ToServiceQuotaArrayOutputWithContext(ctx context.Context) ServiceQuotaArrayOutput

type ServiceQuotaArrayInput

type ServiceQuotaArrayInput interface {
	pulumi.Input

	ToServiceQuotaArrayOutput() ServiceQuotaArrayOutput
	ToServiceQuotaArrayOutputWithContext(context.Context) ServiceQuotaArrayOutput
}

ServiceQuotaArrayInput is an input type that accepts ServiceQuotaArray and ServiceQuotaArrayOutput values. You can construct a concrete instance of `ServiceQuotaArrayInput` via:

ServiceQuotaArray{ ServiceQuotaArgs{...} }

type ServiceQuotaArrayOutput

type ServiceQuotaArrayOutput struct{ *pulumi.OutputState }

func (ServiceQuotaArrayOutput) ElementType

func (ServiceQuotaArrayOutput) ElementType() reflect.Type

func (ServiceQuotaArrayOutput) Index

func (ServiceQuotaArrayOutput) ToServiceQuotaArrayOutput

func (o ServiceQuotaArrayOutput) ToServiceQuotaArrayOutput() ServiceQuotaArrayOutput

func (ServiceQuotaArrayOutput) ToServiceQuotaArrayOutputWithContext

func (o ServiceQuotaArrayOutput) ToServiceQuotaArrayOutputWithContext(ctx context.Context) ServiceQuotaArrayOutput

type ServiceQuotaInput

type ServiceQuotaInput interface {
	pulumi.Input

	ToServiceQuotaOutput() ServiceQuotaOutput
	ToServiceQuotaOutputWithContext(ctx context.Context) ServiceQuotaOutput
}

type ServiceQuotaMap

type ServiceQuotaMap map[string]ServiceQuotaInput

func (ServiceQuotaMap) ElementType

func (ServiceQuotaMap) ElementType() reflect.Type

func (ServiceQuotaMap) ToServiceQuotaMapOutput

func (i ServiceQuotaMap) ToServiceQuotaMapOutput() ServiceQuotaMapOutput

func (ServiceQuotaMap) ToServiceQuotaMapOutputWithContext

func (i ServiceQuotaMap) ToServiceQuotaMapOutputWithContext(ctx context.Context) ServiceQuotaMapOutput

type ServiceQuotaMapInput

type ServiceQuotaMapInput interface {
	pulumi.Input

	ToServiceQuotaMapOutput() ServiceQuotaMapOutput
	ToServiceQuotaMapOutputWithContext(context.Context) ServiceQuotaMapOutput
}

ServiceQuotaMapInput is an input type that accepts ServiceQuotaMap and ServiceQuotaMapOutput values. You can construct a concrete instance of `ServiceQuotaMapInput` via:

ServiceQuotaMap{ "key": ServiceQuotaArgs{...} }

type ServiceQuotaMapOutput

type ServiceQuotaMapOutput struct{ *pulumi.OutputState }

func (ServiceQuotaMapOutput) ElementType

func (ServiceQuotaMapOutput) ElementType() reflect.Type

func (ServiceQuotaMapOutput) MapIndex

func (ServiceQuotaMapOutput) ToServiceQuotaMapOutput

func (o ServiceQuotaMapOutput) ToServiceQuotaMapOutput() ServiceQuotaMapOutput

func (ServiceQuotaMapOutput) ToServiceQuotaMapOutputWithContext

func (o ServiceQuotaMapOutput) ToServiceQuotaMapOutputWithContext(ctx context.Context) ServiceQuotaMapOutput

type ServiceQuotaOutput

type ServiceQuotaOutput struct{ *pulumi.OutputState }

func (ServiceQuotaOutput) Adjustable

func (o ServiceQuotaOutput) Adjustable() pulumi.BoolOutput

Whether the service quota can be increased.

func (ServiceQuotaOutput) Arn

Amazon Resource Name (ARN) of the service quota.

func (ServiceQuotaOutput) DefaultValue

func (o ServiceQuotaOutput) DefaultValue() pulumi.Float64Output

Default value of the service quota.

func (ServiceQuotaOutput) ElementType

func (ServiceQuotaOutput) ElementType() reflect.Type

func (ServiceQuotaOutput) QuotaCode

func (o ServiceQuotaOutput) QuotaCode() pulumi.StringOutput

Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).

func (ServiceQuotaOutput) QuotaName

func (o ServiceQuotaOutput) QuotaName() pulumi.StringOutput

Name of the quota.

func (ServiceQuotaOutput) RequestId

func (o ServiceQuotaOutput) RequestId() pulumi.StringOutput

func (ServiceQuotaOutput) RequestStatus

func (o ServiceQuotaOutput) RequestStatus() pulumi.StringOutput

func (ServiceQuotaOutput) ServiceCode

func (o ServiceQuotaOutput) ServiceCode() pulumi.StringOutput

Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).

func (ServiceQuotaOutput) ServiceName

func (o ServiceQuotaOutput) ServiceName() pulumi.StringOutput

Name of the service.

func (ServiceQuotaOutput) ToServiceQuotaOutput

func (o ServiceQuotaOutput) ToServiceQuotaOutput() ServiceQuotaOutput

func (ServiceQuotaOutput) ToServiceQuotaOutputWithContext

func (o ServiceQuotaOutput) ToServiceQuotaOutputWithContext(ctx context.Context) ServiceQuotaOutput

func (ServiceQuotaOutput) UsageMetrics

Information about the measurement.

func (ServiceQuotaOutput) Value

Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.

type ServiceQuotaState

type ServiceQuotaState struct {
	// Whether the service quota can be increased.
	Adjustable pulumi.BoolPtrInput
	// Amazon Resource Name (ARN) of the service quota.
	Arn pulumi.StringPtrInput
	// Default value of the service quota.
	DefaultValue pulumi.Float64PtrInput
	// Code of the service quota to track. For example: `L-F678F1CE`. Available values can be found with the [AWS CLI service-quotas list-service-quotas command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-service-quotas.html).
	QuotaCode pulumi.StringPtrInput
	// Name of the quota.
	QuotaName     pulumi.StringPtrInput
	RequestId     pulumi.StringPtrInput
	RequestStatus pulumi.StringPtrInput
	// Code of the service to track. For example: `vpc`. Available values can be found with the [AWS CLI service-quotas list-services command](https://docs.aws.amazon.com/cli/latest/reference/service-quotas/list-services.html).
	ServiceCode pulumi.StringPtrInput
	// Name of the service.
	ServiceName pulumi.StringPtrInput
	// Information about the measurement.
	UsageMetrics ServiceQuotaUsageMetricArrayInput
	// Float specifying the desired value for the service quota. If the desired value is higher than the current value, a quota increase request is submitted. When a known request is submitted and pending, the value reflects the desired value of the pending request.
	Value pulumi.Float64PtrInput
}

func (ServiceQuotaState) ElementType

func (ServiceQuotaState) ElementType() reflect.Type

type ServiceQuotaUsageMetric

type ServiceQuotaUsageMetric struct {
	// The metric dimensions.
	MetricDimensions []ServiceQuotaUsageMetricMetricDimension `pulumi:"metricDimensions"`
	// The name of the metric.
	MetricName *string `pulumi:"metricName"`
	// The namespace of the metric.
	MetricNamespace *string `pulumi:"metricNamespace"`
	// The metric statistic that AWS recommend you use when determining quota usage.
	MetricStatisticRecommendation *string `pulumi:"metricStatisticRecommendation"`
}

type ServiceQuotaUsageMetricArgs

type ServiceQuotaUsageMetricArgs struct {
	// The metric dimensions.
	MetricDimensions ServiceQuotaUsageMetricMetricDimensionArrayInput `pulumi:"metricDimensions"`
	// The name of the metric.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// The namespace of the metric.
	MetricNamespace pulumi.StringPtrInput `pulumi:"metricNamespace"`
	// The metric statistic that AWS recommend you use when determining quota usage.
	MetricStatisticRecommendation pulumi.StringPtrInput `pulumi:"metricStatisticRecommendation"`
}

func (ServiceQuotaUsageMetricArgs) ElementType

func (ServiceQuotaUsageMetricArgs) ToServiceQuotaUsageMetricOutput

func (i ServiceQuotaUsageMetricArgs) ToServiceQuotaUsageMetricOutput() ServiceQuotaUsageMetricOutput

func (ServiceQuotaUsageMetricArgs) ToServiceQuotaUsageMetricOutputWithContext

func (i ServiceQuotaUsageMetricArgs) ToServiceQuotaUsageMetricOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricOutput

type ServiceQuotaUsageMetricArray

type ServiceQuotaUsageMetricArray []ServiceQuotaUsageMetricInput

func (ServiceQuotaUsageMetricArray) ElementType

func (ServiceQuotaUsageMetricArray) ToServiceQuotaUsageMetricArrayOutput

func (i ServiceQuotaUsageMetricArray) ToServiceQuotaUsageMetricArrayOutput() ServiceQuotaUsageMetricArrayOutput

func (ServiceQuotaUsageMetricArray) ToServiceQuotaUsageMetricArrayOutputWithContext

func (i ServiceQuotaUsageMetricArray) ToServiceQuotaUsageMetricArrayOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricArrayOutput

type ServiceQuotaUsageMetricArrayInput

type ServiceQuotaUsageMetricArrayInput interface {
	pulumi.Input

	ToServiceQuotaUsageMetricArrayOutput() ServiceQuotaUsageMetricArrayOutput
	ToServiceQuotaUsageMetricArrayOutputWithContext(context.Context) ServiceQuotaUsageMetricArrayOutput
}

ServiceQuotaUsageMetricArrayInput is an input type that accepts ServiceQuotaUsageMetricArray and ServiceQuotaUsageMetricArrayOutput values. You can construct a concrete instance of `ServiceQuotaUsageMetricArrayInput` via:

ServiceQuotaUsageMetricArray{ ServiceQuotaUsageMetricArgs{...} }

type ServiceQuotaUsageMetricArrayOutput

type ServiceQuotaUsageMetricArrayOutput struct{ *pulumi.OutputState }

func (ServiceQuotaUsageMetricArrayOutput) ElementType

func (ServiceQuotaUsageMetricArrayOutput) Index

func (ServiceQuotaUsageMetricArrayOutput) ToServiceQuotaUsageMetricArrayOutput

func (o ServiceQuotaUsageMetricArrayOutput) ToServiceQuotaUsageMetricArrayOutput() ServiceQuotaUsageMetricArrayOutput

func (ServiceQuotaUsageMetricArrayOutput) ToServiceQuotaUsageMetricArrayOutputWithContext

func (o ServiceQuotaUsageMetricArrayOutput) ToServiceQuotaUsageMetricArrayOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricArrayOutput

type ServiceQuotaUsageMetricInput

type ServiceQuotaUsageMetricInput interface {
	pulumi.Input

	ToServiceQuotaUsageMetricOutput() ServiceQuotaUsageMetricOutput
	ToServiceQuotaUsageMetricOutputWithContext(context.Context) ServiceQuotaUsageMetricOutput
}

ServiceQuotaUsageMetricInput is an input type that accepts ServiceQuotaUsageMetricArgs and ServiceQuotaUsageMetricOutput values. You can construct a concrete instance of `ServiceQuotaUsageMetricInput` via:

ServiceQuotaUsageMetricArgs{...}

type ServiceQuotaUsageMetricMetricDimension

type ServiceQuotaUsageMetricMetricDimension struct {
	Class    *string `pulumi:"class"`
	Resource *string `pulumi:"resource"`
	Service  *string `pulumi:"service"`
	Type     *string `pulumi:"type"`
}

type ServiceQuotaUsageMetricMetricDimensionArgs

type ServiceQuotaUsageMetricMetricDimensionArgs struct {
	Class    pulumi.StringPtrInput `pulumi:"class"`
	Resource pulumi.StringPtrInput `pulumi:"resource"`
	Service  pulumi.StringPtrInput `pulumi:"service"`
	Type     pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceQuotaUsageMetricMetricDimensionArgs) ElementType

func (ServiceQuotaUsageMetricMetricDimensionArgs) ToServiceQuotaUsageMetricMetricDimensionOutput

func (i ServiceQuotaUsageMetricMetricDimensionArgs) ToServiceQuotaUsageMetricMetricDimensionOutput() ServiceQuotaUsageMetricMetricDimensionOutput

func (ServiceQuotaUsageMetricMetricDimensionArgs) ToServiceQuotaUsageMetricMetricDimensionOutputWithContext

func (i ServiceQuotaUsageMetricMetricDimensionArgs) ToServiceQuotaUsageMetricMetricDimensionOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricMetricDimensionOutput

type ServiceQuotaUsageMetricMetricDimensionArray

type ServiceQuotaUsageMetricMetricDimensionArray []ServiceQuotaUsageMetricMetricDimensionInput

func (ServiceQuotaUsageMetricMetricDimensionArray) ElementType

func (ServiceQuotaUsageMetricMetricDimensionArray) ToServiceQuotaUsageMetricMetricDimensionArrayOutput

func (i ServiceQuotaUsageMetricMetricDimensionArray) ToServiceQuotaUsageMetricMetricDimensionArrayOutput() ServiceQuotaUsageMetricMetricDimensionArrayOutput

func (ServiceQuotaUsageMetricMetricDimensionArray) ToServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext

func (i ServiceQuotaUsageMetricMetricDimensionArray) ToServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricMetricDimensionArrayOutput

type ServiceQuotaUsageMetricMetricDimensionArrayInput

type ServiceQuotaUsageMetricMetricDimensionArrayInput interface {
	pulumi.Input

	ToServiceQuotaUsageMetricMetricDimensionArrayOutput() ServiceQuotaUsageMetricMetricDimensionArrayOutput
	ToServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext(context.Context) ServiceQuotaUsageMetricMetricDimensionArrayOutput
}

ServiceQuotaUsageMetricMetricDimensionArrayInput is an input type that accepts ServiceQuotaUsageMetricMetricDimensionArray and ServiceQuotaUsageMetricMetricDimensionArrayOutput values. You can construct a concrete instance of `ServiceQuotaUsageMetricMetricDimensionArrayInput` via:

ServiceQuotaUsageMetricMetricDimensionArray{ ServiceQuotaUsageMetricMetricDimensionArgs{...} }

type ServiceQuotaUsageMetricMetricDimensionArrayOutput

type ServiceQuotaUsageMetricMetricDimensionArrayOutput struct{ *pulumi.OutputState }

func (ServiceQuotaUsageMetricMetricDimensionArrayOutput) ElementType

func (ServiceQuotaUsageMetricMetricDimensionArrayOutput) Index

func (ServiceQuotaUsageMetricMetricDimensionArrayOutput) ToServiceQuotaUsageMetricMetricDimensionArrayOutput

func (o ServiceQuotaUsageMetricMetricDimensionArrayOutput) ToServiceQuotaUsageMetricMetricDimensionArrayOutput() ServiceQuotaUsageMetricMetricDimensionArrayOutput

func (ServiceQuotaUsageMetricMetricDimensionArrayOutput) ToServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext

func (o ServiceQuotaUsageMetricMetricDimensionArrayOutput) ToServiceQuotaUsageMetricMetricDimensionArrayOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricMetricDimensionArrayOutput

type ServiceQuotaUsageMetricMetricDimensionInput

type ServiceQuotaUsageMetricMetricDimensionInput interface {
	pulumi.Input

	ToServiceQuotaUsageMetricMetricDimensionOutput() ServiceQuotaUsageMetricMetricDimensionOutput
	ToServiceQuotaUsageMetricMetricDimensionOutputWithContext(context.Context) ServiceQuotaUsageMetricMetricDimensionOutput
}

ServiceQuotaUsageMetricMetricDimensionInput is an input type that accepts ServiceQuotaUsageMetricMetricDimensionArgs and ServiceQuotaUsageMetricMetricDimensionOutput values. You can construct a concrete instance of `ServiceQuotaUsageMetricMetricDimensionInput` via:

ServiceQuotaUsageMetricMetricDimensionArgs{...}

type ServiceQuotaUsageMetricMetricDimensionOutput

type ServiceQuotaUsageMetricMetricDimensionOutput struct{ *pulumi.OutputState }

func (ServiceQuotaUsageMetricMetricDimensionOutput) Class

func (ServiceQuotaUsageMetricMetricDimensionOutput) ElementType

func (ServiceQuotaUsageMetricMetricDimensionOutput) Resource

func (ServiceQuotaUsageMetricMetricDimensionOutput) Service

func (ServiceQuotaUsageMetricMetricDimensionOutput) ToServiceQuotaUsageMetricMetricDimensionOutput

func (o ServiceQuotaUsageMetricMetricDimensionOutput) ToServiceQuotaUsageMetricMetricDimensionOutput() ServiceQuotaUsageMetricMetricDimensionOutput

func (ServiceQuotaUsageMetricMetricDimensionOutput) ToServiceQuotaUsageMetricMetricDimensionOutputWithContext

func (o ServiceQuotaUsageMetricMetricDimensionOutput) ToServiceQuotaUsageMetricMetricDimensionOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricMetricDimensionOutput

func (ServiceQuotaUsageMetricMetricDimensionOutput) Type

type ServiceQuotaUsageMetricOutput

type ServiceQuotaUsageMetricOutput struct{ *pulumi.OutputState }

func (ServiceQuotaUsageMetricOutput) ElementType

func (ServiceQuotaUsageMetricOutput) MetricDimensions

The metric dimensions.

func (ServiceQuotaUsageMetricOutput) MetricName

The name of the metric.

func (ServiceQuotaUsageMetricOutput) MetricNamespace

The namespace of the metric.

func (ServiceQuotaUsageMetricOutput) MetricStatisticRecommendation

func (o ServiceQuotaUsageMetricOutput) MetricStatisticRecommendation() pulumi.StringPtrOutput

The metric statistic that AWS recommend you use when determining quota usage.

func (ServiceQuotaUsageMetricOutput) ToServiceQuotaUsageMetricOutput

func (o ServiceQuotaUsageMetricOutput) ToServiceQuotaUsageMetricOutput() ServiceQuotaUsageMetricOutput

func (ServiceQuotaUsageMetricOutput) ToServiceQuotaUsageMetricOutputWithContext

func (o ServiceQuotaUsageMetricOutput) ToServiceQuotaUsageMetricOutputWithContext(ctx context.Context) ServiceQuotaUsageMetricOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL