We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.getService
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:vpclattice:getService
  arguments:
    # arguments dictionaryThe 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.Aws Native. Vpc Lattice. Service Auth Type 
- 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.Aws Native. Vpc Lattice. Outputs. Service Dns Entry 
- The DNS information of the service.
- Id string
- The ID of the service.
- LastUpdated stringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- Status
Pulumi.Aws Native. Vpc Lattice. Service Status 
- The status of the service.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tags for the service.
- Arn string
- The Amazon Resource Name (ARN) of the service.
- AuthType ServiceAuth Type 
- 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 ServiceDns Entry 
- The DNS information of the service.
- Id string
- The ID of the service.
- LastUpdated stringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- Status
ServiceStatus 
- The status of the service.
- Tag
- The tags for the service.
- arn String
- The Amazon Resource Name (ARN) of the service.
- authType ServiceAuth Type 
- 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 ServiceDns Entry 
- The DNS information of the service.
- id String
- The ID of the service.
- lastUpdated StringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus 
- The status of the service.
- List<Tag>
- The tags for the service.
- arn string
- The Amazon Resource Name (ARN) of the service.
- authType ServiceAuth Type 
- 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 ServiceDns Entry 
- The DNS information of the service.
- id string
- The ID of the service.
- lastUpdated stringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus 
- The status of the service.
- Tag[]
- The tags for the service.
- arn str
- The Amazon Resource Name (ARN) of the service.
- auth_type ServiceAuth Type 
- 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 ServiceDns Entry 
- The DNS information of the service.
- id str
- The ID of the service.
- last_updated_ strat 
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus 
- The status of the service.
- 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.
- lastUpdated StringAt 
- 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.
- List<Property Map>
- The tags for the service.
Supporting Types
ServiceAuthType  
ServiceDnsEntry  
- DomainName string
- The domain name of the service.
- HostedZone stringId 
- The ID of the hosted zone.
- DomainName string
- The domain name of the service.
- HostedZone stringId 
- The ID of the hosted zone.
- domainName String
- The domain name of the service.
- hostedZone StringId 
- The ID of the hosted zone.
- domainName string
- The domain name of the service.
- hostedZone stringId 
- The ID of the hosted zone.
- domain_name str
- The domain name of the service.
- hosted_zone_ strid 
- The ID of the hosted zone.
- domainName String
- The domain name of the service.
- hostedZone StringId 
- The ID of the hosted zone.
ServiceStatus 
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.