Skip to content

Data Source: awsSsoadminInstances

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

Example Usage

import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const dataAwsSsoadminInstancesExample =
  new aws.dataAwsSsoadminInstances.DataAwsSsoadminInstances(
    this,
    "example",
    {}
  );
new cdktf.TerraformOutput(this, "arn", {
  value: `\${tolist(${dataAwsSsoadminInstancesExample.arns})[0]}`,
});
new cdktf.TerraformOutput(this, "identity_store_id", {
  value: `\${tolist(${dataAwsSsoadminInstancesExample.identityStoreIds})[0]}`,
});

Argument Reference

There are no arguments available for this data source.

Attributes Reference

  • arns - Set of Amazon Resource Names (ARNs) of the SSO Instances.
  • id - AWS Region.
  • identityStoreIds - Set of identifiers of the identity stores connected to the SSO Instances.