import * as core from "@terrascript/core"; export interface SamlProviderArgs extends core.ResourceArgs { /** * (Required) The name of the provider to create. */ name: string | core.StringOut; /** * (Required) An XML document generated by an identity provider that supports SAML 2.0. */ samlMetadataDocument: string | core.StringOut; /** * (Optional) Map of resource tags for the IAM SAML provider. If configured with a provider [`default_t * ags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_ * tags-configuration-block) present, tags with matching keys will overwrite those defined at the provi * der-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class SamlProvider extends core.Resource { /** * The ARN assigned by AWS for this provider. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the provider to create. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) An XML document generated by an identity provider that supports SAML 2.0. */ @core.attr(String) public samlMetadataDocument!: string | core.StringOut; /** * (Optional) Map of resource tags for the IAM SAML provider. If configured with a provider [`default_t * ags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_ * tags-configuration-block) present, tags with matching keys will overwrite those defined at the provi * der-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * The expiration date and time for the SAML provider in RFC1123 format, e.g., `Mon, 02 Jan 2006 15:04: * 05 MST`. */ @core.attr(String, { computed: true }) public validUntil!: string | core.StringOut; constructor(name: string, args?: SamlProviderArgs) { super(name, "aws_iam_saml_provider", args); } public override getNamespace(): string { return "aws_iam"; } }