GetService

Retrieve information about a Service Quotas Service.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Aws.ServiceQuotas.GetService.InvokeAsync(new Aws.ServiceQuotas.GetServiceArgs
        {
            ServiceName = "Amazon Virtual Private Cloud (Amazon VPC)",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/servicequotas"
    "github.com/pulumi/pulumi/sdk/v2/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
    })
}
import pulumi
import pulumi_aws as aws

example = aws.servicequotas.get_service(service_name="Amazon Virtual Private Cloud (Amazon VPC)")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = pulumi.output(aws.servicequotas.getService({
    serviceName: "Amazon Virtual Private Cloud (Amazon VPC)",
}, { async: true }));

Using GetService

function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function  get_service(service_name=None, opts=None)
func GetService(ctx *Context, args *GetServiceArgs, opts ...InvokeOption) (*GetServiceResult, error)
public static class GetService {
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ServiceName string

Service name to lookup within Service Quotas. Available values can be found with the AWS CLI service-quotas list-services command.

ServiceName string

Service name to lookup within Service Quotas. Available values can be found with the AWS CLI service-quotas list-services command.

serviceName string

Service name to lookup within Service Quotas. Available values can be found with the AWS CLI service-quotas list-services command.

service_name str

Service name to lookup within Service Quotas. Available values can be found with the AWS CLI service-quotas list-services command.

GetService Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

ServiceCode string

Code of the service.

ServiceName string
Id string

The provider-assigned unique ID for this managed resource.

ServiceCode string

Code of the service.

ServiceName string
id string

The provider-assigned unique ID for this managed resource.

serviceCode string

Code of the service.

serviceName string
id str

The provider-assigned unique ID for this managed resource.

service_code str

Code of the service.

service_name str

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.