1. Packages
  2. AWS
  3. API Docs
  4. ssoadmin
  5. getInstances
Viewing docs for AWS v5.43.0 (Older version)
published on Tuesday, Mar 10, 2026 by Pulumi
aws logo
Viewing docs for AWS v5.43.0 (Older version)
published on Tuesday, Mar 10, 2026 by Pulumi

    Use this data source to get ARNs and Identity Store IDs of Single Sign-On (SSO) Instances.

    Using getInstances

    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 getInstances(opts?: InvokeOptions): Promise<GetInstancesResult>
    function getInstancesOutput(opts?: InvokeOptions): Output<GetInstancesResult>
    def get_instances(opts: Optional[InvokeOptions] = None) -> GetInstancesResult
    def get_instances_output(opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]
    func GetInstances(ctx *Context, opts ...InvokeOption) (*GetInstancesResult, error)
    func GetInstancesOutput(ctx *Context, opts ...InvokeOption) GetInstancesResultOutput

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

    public static class GetInstances 
    {
        public static Task<GetInstancesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetInstancesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstancesResult> getInstances(InvokeOptions options)
    public static Output<GetInstancesResult> getInstances(InvokeOptions options)
    
    fn::invoke:
      function: aws:ssoadmin/getInstances:getInstances
      arguments:
        # arguments dictionary

    getInstances Result

    The following output properties are available:

    Arns List<string>
    Set of Amazon Resource Names (ARNs) of the SSO Instances.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityStoreIds List<string>
    Set of identifiers of the identity stores connected to the SSO Instances.
    Arns []string
    Set of Amazon Resource Names (ARNs) of the SSO Instances.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityStoreIds []string
    Set of identifiers of the identity stores connected to the SSO Instances.
    arns List<String>
    Set of Amazon Resource Names (ARNs) of the SSO Instances.
    id String
    The provider-assigned unique ID for this managed resource.
    identityStoreIds List<String>
    Set of identifiers of the identity stores connected to the SSO Instances.
    arns string[]
    Set of Amazon Resource Names (ARNs) of the SSO Instances.
    id string
    The provider-assigned unique ID for this managed resource.
    identityStoreIds string[]
    Set of identifiers of the identity stores connected to the SSO Instances.
    arns Sequence[str]
    Set of Amazon Resource Names (ARNs) of the SSO Instances.
    id str
    The provider-assigned unique ID for this managed resource.
    identity_store_ids Sequence[str]
    Set of identifiers of the identity stores connected to the SSO Instances.
    arns List<String>
    Set of Amazon Resource Names (ARNs) of the SSO Instances.
    id String
    The provider-assigned unique ID for this managed resource.
    identityStoreIds List<String>
    Set of identifiers of the identity stores connected to the SSO Instances.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    Viewing docs for AWS v5.43.0 (Older version)
    published on Tuesday, Mar 10, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.