We recommend new projects start with resources from the AWS provider.
aws-native.events.getConnection
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Events::Connection.
Using getConnection
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 getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>
def get_connection(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]
func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput
> Note: This function is named LookupConnection
in the Go SDK.
public static class GetConnection
{
public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:events:getConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the connection.
- Name string
- Name of the connection.
- name String
- Name of the connection.
- name string
- Name of the connection.
- name str
- Name of the connection.
- name String
- Name of the connection.
getConnection Result
The following output properties are available:
- Arn string
- The arn of the connection resource.
- Auth
Parameters Pulumi.Aws Native. Events. Outputs. Connection Auth Parameters - A
CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint. - Pulumi.
Aws Native. Events. Connection Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Description string
- Description of the connection.
- Secret
Arn string - The arn of the secrets manager secret created in the customer account.
- Arn string
- The arn of the connection resource.
- Auth
Parameters ConnectionAuth Parameters - A
CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint. - Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- Description string
- Description of the connection.
- Secret
Arn string - The arn of the secrets manager secret created in the customer account.
- arn String
- The arn of the connection resource.
- auth
Parameters ConnectionAuth Parameters - A
CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint. - Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description String
- Description of the connection.
- secret
Arn String - The arn of the secrets manager secret created in the customer account.
- arn string
- The arn of the connection resource.
- auth
Parameters ConnectionAuth Parameters - A
CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint. - Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description string
- Description of the connection.
- secret
Arn string - The arn of the secrets manager secret created in the customer account.
- arn str
- The arn of the connection resource.
- auth_
parameters ConnectionAuth Parameters - A
CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint. - Connection
Authorization Type The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description str
- Description of the connection.
- secret_
arn str - The arn of the secrets manager secret created in the customer account.
- arn String
- The arn of the connection resource.
- auth
Parameters Property Map - A
CreateConnectionAuthRequestParameters
object that contains the authorization parameters to use to authorize with the endpoint. - "API_KEY" | "BASIC" | "OAUTH_CLIENT_CREDENTIALS"
The type of authorization to use for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
- description String
- Description of the connection.
- secret
Arn String - The arn of the secrets manager secret created in the customer account.
Supporting Types
ConnectionApiKeyAuthParameters
- Api
Key stringName - The name of the API key to use for authorization.
- Api
Key stringValue - The value for the API key to use for authorization.
- Api
Key stringName - The name of the API key to use for authorization.
- Api
Key stringValue - The value for the API key to use for authorization.
- api
Key StringName - The name of the API key to use for authorization.
- api
Key StringValue - The value for the API key to use for authorization.
- api
Key stringName - The name of the API key to use for authorization.
- api
Key stringValue - The value for the API key to use for authorization.
- api_
key_ strname - The name of the API key to use for authorization.
- api_
key_ strvalue - The value for the API key to use for authorization.
- api
Key StringName - The name of the API key to use for authorization.
- api
Key StringValue - The value for the API key to use for authorization.
ConnectionAuthParameters
- Api
Key Pulumi.Auth Parameters Aws Native. Events. Inputs. Connection Api Key Auth Parameters - The API Key parameters to use for authorization.
- Basic
Auth Pulumi.Parameters Aws Native. Events. Inputs. Connection Basic Auth Parameters - The authorization parameters for Basic authorization.
- Invocation
Http Pulumi.Parameters Aws Native. Events. Inputs. Connection Http Parameters - Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
- OAuth
Parameters Pulumi.Aws Native. Events. Inputs. Connection OAuth Parameters - The OAuth parameters to use for authorization.
- Api
Key ConnectionAuth Parameters Api Key Auth Parameters - The API Key parameters to use for authorization.
- Basic
Auth ConnectionParameters Basic Auth Parameters - The authorization parameters for Basic authorization.
- Invocation
Http ConnectionParameters Http Parameters - Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
- OAuth
Parameters ConnectionOAuth Parameters - The OAuth parameters to use for authorization.
- api
Key ConnectionAuth Parameters Api Key Auth Parameters - The API Key parameters to use for authorization.
- basic
Auth ConnectionParameters Basic Auth Parameters - The authorization parameters for Basic authorization.
- invocation
Http ConnectionParameters Http Parameters - Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
- o
Auth ConnectionParameters OAuth Parameters - The OAuth parameters to use for authorization.
- api
Key ConnectionAuth Parameters Api Key Auth Parameters - The API Key parameters to use for authorization.
- basic
Auth ConnectionParameters Basic Auth Parameters - The authorization parameters for Basic authorization.
- invocation
Http ConnectionParameters Http Parameters - Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
- o
Auth ConnectionParameters OAuth Parameters - The OAuth parameters to use for authorization.
- api_
key_ Connectionauth_ parameters Api Key Auth Parameters - The API Key parameters to use for authorization.
- basic_
auth_ Connectionparameters Basic Auth Parameters - The authorization parameters for Basic authorization.
- invocation_
http_ Connectionparameters Http Parameters - Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
- o_
auth_ Connectionparameters OAuth Parameters - The OAuth parameters to use for authorization.
- api
Key Property MapAuth Parameters - The API Key parameters to use for authorization.
- basic
Auth Property MapParameters - The authorization parameters for Basic authorization.
- invocation
Http Property MapParameters - Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
- o
Auth Property MapParameters - The OAuth parameters to use for authorization.
ConnectionAuthorizationType
ConnectionBasicAuthParameters
ConnectionClientParameters
- Client
Id string - The client ID to use for OAuth authorization.
- Client
Secret string - The client secret assciated with the client ID to use for OAuth authorization.
- Client
Id string - The client ID to use for OAuth authorization.
- Client
Secret string - The client secret assciated with the client ID to use for OAuth authorization.
- client
Id String - The client ID to use for OAuth authorization.
- client
Secret String - The client secret assciated with the client ID to use for OAuth authorization.
- client
Id string - The client ID to use for OAuth authorization.
- client
Secret string - The client secret assciated with the client ID to use for OAuth authorization.
- client_
id str - The client ID to use for OAuth authorization.
- client_
secret str - The client secret assciated with the client ID to use for OAuth authorization.
- client
Id String - The client ID to use for OAuth authorization.
- client
Secret String - The client secret assciated with the client ID to use for OAuth authorization.
ConnectionHttpParameters
- Body
Parameters List<Pulumi.Aws Native. Events. Inputs. Connection Parameter> - Contains additional body string parameters for the connection.
- Header
Parameters List<Pulumi.Aws Native. Events. Inputs. Connection Parameter> - Contains additional header parameters for the connection.
- Query
String List<Pulumi.Parameters Aws Native. Events. Inputs. Connection Parameter> - Contains additional query string parameters for the connection.
- Body
Parameters []ConnectionParameter - Contains additional body string parameters for the connection.
- Header
Parameters []ConnectionParameter - Contains additional header parameters for the connection.
- Query
String []ConnectionParameters Parameter - Contains additional query string parameters for the connection.
- body
Parameters List<ConnectionParameter> - Contains additional body string parameters for the connection.
- header
Parameters List<ConnectionParameter> - Contains additional header parameters for the connection.
- query
String List<ConnectionParameters Parameter> - Contains additional query string parameters for the connection.
- body
Parameters ConnectionParameter[] - Contains additional body string parameters for the connection.
- header
Parameters ConnectionParameter[] - Contains additional header parameters for the connection.
- query
String ConnectionParameters Parameter[] - Contains additional query string parameters for the connection.
- body_
parameters Sequence[ConnectionParameter] - Contains additional body string parameters for the connection.
- header_
parameters Sequence[ConnectionParameter] - Contains additional header parameters for the connection.
- query_
string_ Sequence[Connectionparameters Parameter] - Contains additional query string parameters for the connection.
- body
Parameters List<Property Map> - Contains additional body string parameters for the connection.
- header
Parameters List<Property Map> - Contains additional header parameters for the connection.
- query
String List<Property Map>Parameters - Contains additional query string parameters for the connection.
ConnectionOAuthParameters
- string
- The URL to the authorization endpoint when OAuth is specified as the authorization type.
- Client
Parameters Pulumi.Aws Native. Events. Inputs. Connection Client Parameters - A
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth authorization. - Http
Method Pulumi.Aws Native. Events. Connection OAuth Parameters Http Method - The method to use for the authorization request.
- OAuth
Http Pulumi.Parameters Aws Native. Events. Inputs. Connection Http Parameters - A
ConnectionHttpParameters
object that contains details about the additional parameters to use for the connection.
- string
- The URL to the authorization endpoint when OAuth is specified as the authorization type.
- Client
Parameters ConnectionClient Parameters - A
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth authorization. - Http
Method ConnectionOAuth Parameters Http Method - The method to use for the authorization request.
- OAuth
Http ConnectionParameters Http Parameters - A
ConnectionHttpParameters
object that contains details about the additional parameters to use for the connection.
- String
- The URL to the authorization endpoint when OAuth is specified as the authorization type.
- client
Parameters ConnectionClient Parameters - A
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth authorization. - http
Method ConnectionOAuth Parameters Http Method - The method to use for the authorization request.
- o
Auth ConnectionHttp Parameters Http Parameters - A
ConnectionHttpParameters
object that contains details about the additional parameters to use for the connection.
- string
- The URL to the authorization endpoint when OAuth is specified as the authorization type.
- client
Parameters ConnectionClient Parameters - A
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth authorization. - http
Method ConnectionOAuth Parameters Http Method - The method to use for the authorization request.
- o
Auth ConnectionHttp Parameters Http Parameters - A
ConnectionHttpParameters
object that contains details about the additional parameters to use for the connection.
- str
- The URL to the authorization endpoint when OAuth is specified as the authorization type.
- client_
parameters ConnectionClient Parameters - A
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth authorization. - http_
method ConnectionOAuth Parameters Http Method - The method to use for the authorization request.
- o_
auth_ Connectionhttp_ parameters Http Parameters - A
ConnectionHttpParameters
object that contains details about the additional parameters to use for the connection.
- String
- The URL to the authorization endpoint when OAuth is specified as the authorization type.
- client
Parameters Property Map - A
CreateConnectionOAuthClientRequestParameters
object that contains the client parameters for OAuth authorization. - http
Method "GET" | "POST" | "PUT" - The method to use for the authorization request.
- o
Auth Property MapHttp Parameters - A
ConnectionHttpParameters
object that contains details about the additional parameters to use for the connection.
ConnectionOAuthParametersHttpMethod
ConnectionParameter
- Key string
- The key for a query string parameter.
- Value string
- The value associated with the key for the query string parameter.
- Is
Value boolSecret - Specifies whether the value is secret.
- Key string
- The key for a query string parameter.
- Value string
- The value associated with the key for the query string parameter.
- Is
Value boolSecret - Specifies whether the value is secret.
- key String
- The key for a query string parameter.
- value String
- The value associated with the key for the query string parameter.
- is
Value BooleanSecret - Specifies whether the value is secret.
- key string
- The key for a query string parameter.
- value string
- The value associated with the key for the query string parameter.
- is
Value booleanSecret - Specifies whether the value is secret.
- key str
- The key for a query string parameter.
- value str
- The value associated with the key for the query string parameter.
- is_
value_ boolsecret - Specifies whether the value is secret.
- key String
- The key for a query string parameter.
- value String
- The value associated with the key for the query string parameter.
- is
Value BooleanSecret - Specifies whether the value is secret.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.