1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. devopsagent
  6. getService

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

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi
aws-native logo

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

Viewing docs for AWS Cloud Control v1.62.0
published on Monday, Apr 20, 2026 by Pulumi

    The AWS::DevOpsAgent::Service resource registers external services (like Dynatrace, MCP servers, GitLab) for integration with DevOpsAgent.

    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(service_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetServiceResult
    def get_service_output(service_id: 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:devopsagent:getService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceId string
    The unique identifier of the service
    ServiceId string
    The unique identifier of the service
    serviceId String
    The unique identifier of the service
    serviceId string
    The unique identifier of the service
    service_id str
    The unique identifier of the service
    serviceId String
    The unique identifier of the service

    getService Result

    The following output properties are available:

    AccessibleResources List<object>
    List of accessible resources for this service
    AdditionalServiceDetails Pulumi.AwsNative.DevOpsAgent.Outputs.ServiceAdditionalServiceDetails
    Additional details specific to the service type
    Arn string
    The Amazon Resource Name (ARN) of the Service.
    ServiceId string
    The unique identifier of the service
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    AccessibleResources []interface{}
    List of accessible resources for this service
    AdditionalServiceDetails ServiceAdditionalServiceDetails
    Additional details specific to the service type
    Arn string
    The Amazon Resource Name (ARN) of the Service.
    ServiceId string
    The unique identifier of the service
    Tags Tag
    An array of key-value pairs to apply to this resource.
    accessibleResources List<Object>
    List of accessible resources for this service
    additionalServiceDetails ServiceAdditionalServiceDetails
    Additional details specific to the service type
    arn String
    The Amazon Resource Name (ARN) of the Service.
    serviceId String
    The unique identifier of the service
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    accessibleResources any[]
    List of accessible resources for this service
    additionalServiceDetails ServiceAdditionalServiceDetails
    Additional details specific to the service type
    arn string
    The Amazon Resource Name (ARN) of the Service.
    serviceId string
    The unique identifier of the service
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    accessible_resources Sequence[Any]
    List of accessible resources for this service
    additional_service_details ServiceAdditionalServiceDetails
    Additional details specific to the service type
    arn str
    The Amazon Resource Name (ARN) of the Service.
    service_id str
    The unique identifier of the service
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    accessibleResources List<Any>
    List of accessible resources for this service
    additionalServiceDetails Property Map
    Additional details specific to the service type
    arn String
    The Amazon Resource Name (ARN) of the Service.
    serviceId String
    The unique identifier of the service
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    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.

    Viewing docs for AWS Cloud Control v1.62.0
    published on Monday, Apr 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.