1. Packages
  2. AWS Native
  3. API Docs
  4. vpclattice
  5. getService

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.vpclattice.getService

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).

    Using getService

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
    function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
    def get_service(arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetServiceResult
    def get_service_output(arn: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
    func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
    func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput

    > Note: This function is named LookupService in the Go SDK.

    public static class GetService 
    {
        public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:vpclattice:getService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the service.
    Arn string
    The Amazon Resource Name (ARN) of the service.
    arn String
    The Amazon Resource Name (ARN) of the service.
    arn string
    The Amazon Resource Name (ARN) of the service.
    arn str
    The Amazon Resource Name (ARN) of the service.
    arn String
    The Amazon Resource Name (ARN) of the service.

    getService Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the service.
    AuthType Pulumi.AwsNative.VpcLattice.ServiceAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    CertificateArn string
    The Amazon Resource Name (ARN) of the certificate.
    CreatedAt string
    The date and time that the service was created, specified in ISO-8601 format.
    DnsEntry Pulumi.AwsNative.VpcLattice.Outputs.ServiceDnsEntry
    The DNS information of the service.
    Id string
    The ID of the service.
    LastUpdatedAt string
    The date and time that the service was last updated, specified in ISO-8601 format.
    Status Pulumi.AwsNative.VpcLattice.ServiceStatus
    The status of the service.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags for the service.
    Arn string
    The Amazon Resource Name (ARN) of the service.
    AuthType ServiceAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    CertificateArn string
    The Amazon Resource Name (ARN) of the certificate.
    CreatedAt string
    The date and time that the service was created, specified in ISO-8601 format.
    DnsEntry ServiceDnsEntry
    The DNS information of the service.
    Id string
    The ID of the service.
    LastUpdatedAt string
    The date and time that the service was last updated, specified in ISO-8601 format.
    Status ServiceStatus
    The status of the service.
    Tags Tag
    The tags for the service.
    arn String
    The Amazon Resource Name (ARN) of the service.
    authType ServiceAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    certificateArn String
    The Amazon Resource Name (ARN) of the certificate.
    createdAt String
    The date and time that the service was created, specified in ISO-8601 format.
    dnsEntry ServiceDnsEntry
    The DNS information of the service.
    id String
    The ID of the service.
    lastUpdatedAt String
    The date and time that the service was last updated, specified in ISO-8601 format.
    status ServiceStatus
    The status of the service.
    tags List<Tag>
    The tags for the service.
    arn string
    The Amazon Resource Name (ARN) of the service.
    authType ServiceAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    certificateArn string
    The Amazon Resource Name (ARN) of the certificate.
    createdAt string
    The date and time that the service was created, specified in ISO-8601 format.
    dnsEntry ServiceDnsEntry
    The DNS information of the service.
    id string
    The ID of the service.
    lastUpdatedAt string
    The date and time that the service was last updated, specified in ISO-8601 format.
    status ServiceStatus
    The status of the service.
    tags Tag[]
    The tags for the service.
    arn str
    The Amazon Resource Name (ARN) of the service.
    auth_type ServiceAuthType
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    certificate_arn str
    The Amazon Resource Name (ARN) of the certificate.
    created_at str
    The date and time that the service was created, specified in ISO-8601 format.
    dns_entry ServiceDnsEntry
    The DNS information of the service.
    id str
    The ID of the service.
    last_updated_at str
    The date and time that the service was last updated, specified in ISO-8601 format.
    status ServiceStatus
    The status of the service.
    tags Sequence[root_Tag]
    The tags for the service.
    arn String
    The Amazon Resource Name (ARN) of the service.
    authType "NONE" | "AWS_IAM"
    The type of IAM policy.

    • NONE : The resource does not use an IAM policy. This is the default.
    • AWS_IAM : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
    certificateArn String
    The Amazon Resource Name (ARN) of the certificate.
    createdAt String
    The date and time that the service was created, specified in ISO-8601 format.
    dnsEntry Property Map
    The DNS information of the service.
    id String
    The ID of the service.
    lastUpdatedAt String
    The date and time that the service was last updated, specified in ISO-8601 format.
    status "ACTIVE" | "CREATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED"
    The status of the service.
    tags List<Property Map>
    The tags for the service.

    Supporting Types

    ServiceAuthType

    ServiceDnsEntry

    DomainName string
    The domain name of the service.
    HostedZoneId string
    The ID of the hosted zone.
    DomainName string
    The domain name of the service.
    HostedZoneId string
    The ID of the hosted zone.
    domainName String
    The domain name of the service.
    hostedZoneId String
    The ID of the hosted zone.
    domainName string
    The domain name of the service.
    hostedZoneId string
    The ID of the hosted zone.
    domain_name str
    The domain name of the service.
    hosted_zone_id str
    The ID of the hosted zone.
    domainName String
    The domain name of the service.
    hostedZoneId String
    The ID of the hosted zone.

    ServiceStatus

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi