getEndpoint

Returns a unique endpoint specific to the AWS account making the call.

Example Usage

resources:
agent:
type: kubernetes:core/v1:Pod
properties:
metadata:
name: my-device
spec:
container:
- image: gcr.io/my-project/image-name
name: image-name
env:
- name: IOT_ENDPOINT
value: ${example.endpointAddress}
variables:
example:
fn::invoke:
function: aws:iot:getEndpoint
arguments: {}

Return

A collection of values returned by getEndpoint.

Parameters

argument

A collection of arguments for invoking getEndpoint.


suspend fun getEndpoint(endpointType: String? = null): GetEndpointResult

Return

A collection of values returned by getEndpoint.

Parameters

endpointType

Endpoint type. Valid values: iot:CredentialProvider, iot:Data, iot:Data-ATS, iot:Jobs.

See also


suspend fun getEndpoint(argument: suspend GetEndpointPlainArgsBuilder.() -> Unit): GetEndpointResult

Return

A collection of values returned by getEndpoint.

Parameters

argument

Builder for com.pulumi.aws.iot.kotlin.inputs.GetEndpointPlainArgs.

See also