1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. connect
  5. getInstance

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.connect.getInstance

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    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.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    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.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    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.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    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.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    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.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    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.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    InstanceAttributes

    InstanceStatus

    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.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi