Skip to content

Data Source: awsSamlProvider

This data source can be used to fetch information about a specific IAM SAML provider. This will allow you to easily retrieve the metadata document of an existing SAML provider.

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.dataAwsIamSamlProvider.DataAwsIamSamlProvider(this, "example", {
  arn: "arn:aws:iam::123456789:saml-provider/myprovider",
});

Argument Reference

  • arn - (Required) ARN assigned by AWS for the provider.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • createDate - Creation date of the SAML provider in RFC1123 format, e.g. mon,02Jan200615:04:05Mst.
  • name - Name of the provider.
  • samlMetadataDocument - The XML document generated by an identity provider that supports SAML 2.0.
  • tags - Tags attached to the SAML provider.
  • validUntil - Expiration date and time for the SAML provider in RFC1123 format, e.g. mon,02Jan200715:04:05Mst.