Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi
datadog.getActionConnection
Explore with Pulumi AI
A connection that can be used in Actions, including in the Workflow Automation and App Builder products.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const myConnection = datadog.getActionConnection({
    id: "11111111-2222-3333-4444-555555555555",
});
import pulumi
import pulumi_datadog as datadog
my_connection = datadog.get_action_connection(id="11111111-2222-3333-4444-555555555555")
package main
import (
	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datadog.LookupActionConnection(ctx, &datadog.LookupActionConnectionArgs{
			Id: "11111111-2222-3333-4444-555555555555",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() => 
{
    var myConnection = Datadog.GetActionConnection.Invoke(new()
    {
        Id = "11111111-2222-3333-4444-555555555555",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.DatadogFunctions;
import com.pulumi.datadog.inputs.GetActionConnectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var myConnection = DatadogFunctions.getActionConnection(GetActionConnectionArgs.builder()
            .id("11111111-2222-3333-4444-555555555555")
            .build());
    }
}
variables:
  myConnection:
    fn::invoke:
      function: datadog:getActionConnection
      arguments:
        id: 11111111-2222-3333-4444-555555555555
Using getActionConnection
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 getActionConnection(args: GetActionConnectionArgs, opts?: InvokeOptions): Promise<GetActionConnectionResult>
function getActionConnectionOutput(args: GetActionConnectionOutputArgs, opts?: InvokeOptions): Output<GetActionConnectionResult>def get_action_connection(aws: Optional[GetActionConnectionAws] = None,
                          http: Optional[GetActionConnectionHttp] = None,
                          id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetActionConnectionResult
def get_action_connection_output(aws: Optional[pulumi.Input[GetActionConnectionAwsArgs]] = None,
                          http: Optional[pulumi.Input[GetActionConnectionHttpArgs]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetActionConnectionResult]func LookupActionConnection(ctx *Context, args *LookupActionConnectionArgs, opts ...InvokeOption) (*LookupActionConnectionResult, error)
func LookupActionConnectionOutput(ctx *Context, args *LookupActionConnectionOutputArgs, opts ...InvokeOption) LookupActionConnectionResultOutput> Note: This function is named LookupActionConnection in the Go SDK.
public static class GetActionConnection 
{
    public static Task<GetActionConnectionResult> InvokeAsync(GetActionConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetActionConnectionResult> Invoke(GetActionConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetActionConnectionResult> getActionConnection(GetActionConnectionArgs args, InvokeOptions options)
public static Output<GetActionConnectionResult> getActionConnection(GetActionConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: datadog:index/getActionConnection:getActionConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
 - ID for Connection.
 - Aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - Http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- Id string
 - ID for Connection.
 - Aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - Http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id String
 - ID for Connection.
 - aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id string
 - ID for Connection.
 - aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id str
 - ID for Connection.
 - aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id String
 - ID for Connection.
 - aws Property Map
 - Configuration for an AWS connection
 - http Property Map
 - Configuration for an HTTP connection
 
getActionConnection Result
The following output properties are available:
- Id string
 - ID for Connection.
 - Name string
 - Name of the connection
 - Aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - Http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- Id string
 - ID for Connection.
 - Name string
 - Name of the connection
 - Aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - Http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id String
 - ID for Connection.
 - name String
 - Name of the connection
 - aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id string
 - ID for Connection.
 - name string
 - Name of the connection
 - aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id str
 - ID for Connection.
 - name str
 - Name of the connection
 - aws
Get
Action Connection Aws  - Configuration for an AWS connection
 - http
Get
Action Connection Http  - Configuration for an HTTP connection
 
- id String
 - ID for Connection.
 - name String
 - Name of the connection
 - aws Property Map
 - Configuration for an AWS connection
 - http Property Map
 - Configuration for an HTTP connection
 
Supporting Types
GetActionConnectionAws   
- Assume
Role GetAction Connection Aws Assume Role  - Configuration for an assume role AWS connection
 
- Assume
Role GetAction Connection Aws Assume Role  - Configuration for an assume role AWS connection
 
- assume
Role GetAction Connection Aws Assume Role  - Configuration for an assume role AWS connection
 
- assume
Role GetAction Connection Aws Assume Role  - Configuration for an assume role AWS connection
 
- assume_
role GetAction Connection Aws Assume Role  - Configuration for an assume role AWS connection
 
- assume
Role Property Map - Configuration for an assume role AWS connection
 
GetActionConnectionAwsAssumeRole     
- Account
Id string - AWS account that the connection is created for
 - External
Id string - External ID that specifies which connection can be used to assume the role
 - Principal
Id string - AWS account that will assume the role
 - Role string
 - Role to assume
 
- Account
Id string - AWS account that the connection is created for
 - External
Id string - External ID that specifies which connection can be used to assume the role
 - Principal
Id string - AWS account that will assume the role
 - Role string
 - Role to assume
 
- account
Id String - AWS account that the connection is created for
 - external
Id String - External ID that specifies which connection can be used to assume the role
 - principal
Id String - AWS account that will assume the role
 - role String
 - Role to assume
 
- account
Id string - AWS account that the connection is created for
 - external
Id string - External ID that specifies which connection can be used to assume the role
 - principal
Id string - AWS account that will assume the role
 - role string
 - Role to assume
 
- account_
id str - AWS account that the connection is created for
 - external_
id str - External ID that specifies which connection can be used to assume the role
 - principal_
id str - AWS account that will assume the role
 - role str
 - Role to assume
 
- account
Id String - AWS account that the connection is created for
 - external
Id String - External ID that specifies which connection can be used to assume the role
 - principal
Id String - AWS account that will assume the role
 - role String
 - Role to assume
 
GetActionConnectionHttp   
- Base
Url string - Base HTTP url for the integration
 - Token
Auth GetAction Connection Http Token Auth  - Configuration for an HTTP connection that uses token auth
 
- Base
Url string - Base HTTP url for the integration
 - Token
Auth GetAction Connection Http Token Auth  - Configuration for an HTTP connection that uses token auth
 
- base
Url String - Base HTTP url for the integration
 - token
Auth GetAction Connection Http Token Auth  - Configuration for an HTTP connection that uses token auth
 
- base
Url string - Base HTTP url for the integration
 - token
Auth GetAction Connection Http Token Auth  - Configuration for an HTTP connection that uses token auth
 
- base_
url str - Base HTTP url for the integration
 - token_
auth GetAction Connection Http Token Auth  - Configuration for an HTTP connection that uses token auth
 
- base
Url String - Base HTTP url for the integration
 - token
Auth Property Map - Configuration for an HTTP connection that uses token auth
 
GetActionConnectionHttpTokenAuth     
- Body
Get
Action Connection Http Token Auth Body  - Body for HTTP authentication
 - Headers
List<Get
Action Connection Http Token Auth Header>  - Header for HTTP authentication
 - Tokens
List<Get
Action Connection Http Token Auth Token>  - Token for HTTP authentication
 - Url
Parameters List<GetAction Connection Http Token Auth Url Parameter>  - URL parameter for HTTP authentication
 
- Body
Get
Action Connection Http Token Auth Body  - Body for HTTP authentication
 - Headers
[]Get
Action Connection Http Token Auth Header  - Header for HTTP authentication
 - Tokens
[]Get
Action Connection Http Token Auth Token  - Token for HTTP authentication
 - Url
Parameters []GetAction Connection Http Token Auth Url Parameter  - URL parameter for HTTP authentication
 
- body
Get
Action Connection Http Token Auth Body  - Body for HTTP authentication
 - headers
List<Get
Action Connection Http Token Auth Header>  - Header for HTTP authentication
 - tokens
List<Get
Action Connection Http Token Auth Token>  - Token for HTTP authentication
 - url
Parameters List<GetAction Connection Http Token Auth Url Parameter>  - URL parameter for HTTP authentication
 
- body
Get
Action Connection Http Token Auth Body  - Body for HTTP authentication
 - headers
Get
Action Connection Http Token Auth Header[]  - Header for HTTP authentication
 - tokens
Get
Action Connection Http Token Auth Token[]  - Token for HTTP authentication
 - url
Parameters GetAction Connection Http Token Auth Url Parameter[]  - URL parameter for HTTP authentication
 
- body
Get
Action Connection Http Token Auth Body  - Body for HTTP authentication
 - headers
Sequence[Get
Action Connection Http Token Auth Header]  - Header for HTTP authentication
 - tokens
Sequence[Get
Action Connection Http Token Auth Token]  - Token for HTTP authentication
 - url_
parameters Sequence[GetAction Connection Http Token Auth Url Parameter]  - URL parameter for HTTP authentication
 
- body Property Map
 - Body for HTTP authentication
 - headers List<Property Map>
 - Header for HTTP authentication
 - tokens List<Property Map>
 - Token for HTTP authentication
 - url
Parameters List<Property Map> - URL parameter for HTTP authentication
 
GetActionConnectionHttpTokenAuthBody      
- Content string
 - Serialized body content
 - Content
Type string - Content type of the body
 
- Content string
 - Serialized body content
 - Content
Type string - Content type of the body
 
- content String
 - Serialized body content
 - content
Type String - Content type of the body
 
- content string
 - Serialized body content
 - content
Type string - Content type of the body
 
- content str
 - Serialized body content
 - content_
type str - Content type of the body
 
- content String
 - Serialized body content
 - content
Type String - Content type of the body
 
GetActionConnectionHttpTokenAuthHeader      
GetActionConnectionHttpTokenAuthToken      
GetActionConnectionHttpTokenAuthUrlParameter       
Package Details
- Repository
 - Datadog pulumi/pulumi-datadog
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
datadogTerraform Provider.