Skip to content

Data Source: awsIamOpenidConnectProvider

This data source can be used to fetch information about a specific IAM OpenID Connect provider. By using this data source, you can retrieve the the resource information by either its arn or url.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsIamOpenidConnectProvider.DataAwsIamOpenidConnectProvider(
  this,
  "example",
  {
    arn: "arn:aws:iam::123456789012:oidc-provider/accounts.google.com",
  }
);
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsIamOpenidConnectProvider.DataAwsIamOpenidConnectProvider(
  this,
  "example",
  {
    url: "https://accounts.google.com",
  }
);

Argument Reference

  • arn - (Optional) ARN of the OpenID Connect provider.
  • url - (Optional) URL of the OpenID Connect provider.

Attributes Reference

  • clientIdList - List of client IDs (also known as audiences). When a mobile or web app registers with an OpenID Connect provider, they establish a value that identifies the application. (This is the value that's sent as the client_id parameter on OAuth requests.)
  • thumbprintList - List of server certificate thumbprints for the OpenID Connect (OIDC) identity provider's server certificate(s).
  • tags - Map of resource tags for the IAM OIDC provider.