AWS Native

v0.43.0 published on Thursday, Dec 1, 2022 by Pulumi

getInstance

Resource Type definition for AWS::Connect::Instance

Using getInstance

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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
def get_instance(arn: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(arn: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput

> Note: This function is named LookupInstance in the Go SDK.

public static class GetInstance 
{
    public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:connect:getInstance
  arguments:
    # arguments dictionary

The following arguments are supported:

Arn string

An instanceArn is automatically generated on creation based on instanceId.

Arn string

An instanceArn is automatically generated on creation based on instanceId.

arn String

An instanceArn is automatically generated on creation based on instanceId.

arn string

An instanceArn is automatically generated on creation based on instanceId.

arn str

An instanceArn is automatically generated on creation based on instanceId.

arn String

An instanceArn is automatically generated on creation based on instanceId.

getInstance Result

The following output properties are available:

Arn string

An instanceArn is automatically generated on creation based on instanceId.

Attributes Pulumi.AwsNative.Connect.Outputs.InstanceAttributes

The attributes for the instance.

CreatedTime string

Timestamp of instance creation logged as part of instance creation.

Id string

An instanceId is automatically generated on creation and assigned as the unique identifier.

InstanceStatus Pulumi.AwsNative.Connect.InstanceStatus

Specifies the creation status of new instance.

ServiceRole string

Service linked role created as part of instance creation.

Arn string

An instanceArn is automatically generated on creation based on instanceId.

Attributes InstanceAttributes

The attributes for the instance.

CreatedTime string

Timestamp of instance creation logged as part of instance creation.

Id string

An instanceId is automatically generated on creation and assigned as the unique identifier.

InstanceStatus InstanceStatus

Specifies the creation status of new instance.

ServiceRole string

Service linked role created as part of instance creation.

arn String

An instanceArn is automatically generated on creation based on instanceId.

attributes InstanceAttributes

The attributes for the instance.

createdTime String

Timestamp of instance creation logged as part of instance creation.

id String

An instanceId is automatically generated on creation and assigned as the unique identifier.

instanceStatus InstanceStatus

Specifies the creation status of new instance.

serviceRole String

Service linked role created as part of instance creation.

arn string

An instanceArn is automatically generated on creation based on instanceId.

attributes InstanceAttributes

The attributes for the instance.

createdTime string

Timestamp of instance creation logged as part of instance creation.

id string

An instanceId is automatically generated on creation and assigned as the unique identifier.

instanceStatus InstanceStatus

Specifies the creation status of new instance.

serviceRole string

Service linked role created as part of instance creation.

arn str

An instanceArn is automatically generated on creation based on instanceId.

attributes InstanceAttributes

The attributes for the instance.

created_time str

Timestamp of instance creation logged as part of instance creation.

id str

An instanceId is automatically generated on creation and assigned as the unique identifier.

instance_status InstanceStatus

Specifies the creation status of new instance.

service_role str

Service linked role created as part of instance creation.

arn String

An instanceArn is automatically generated on creation based on instanceId.

attributes Property Map

The attributes for the instance.

createdTime String

Timestamp of instance creation logged as part of instance creation.

id String

An instanceId is automatically generated on creation and assigned as the unique identifier.

instanceStatus "CREATION_IN_PROGRESS" | "CREATION_FAILED" | "ACTIVE"

Specifies the creation status of new instance.

serviceRole String

Service linked role created as part of instance creation.

Supporting Types

InstanceAttributes

InstanceStatus

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0