Skip to content

CreateSAMLProviderRequest

Source code in docs_src/capo_iam/types/create_saml_provider_request.py
class CreateSAMLProviderRequest(TypedDict, closed=True):
    saml_metadata_document: (
        "capo_iam.types.saml_metadata_document_type.SAMLMetadataDocumentType"
    )
    """<p>An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html">About SAML 2.0-based federation</a> in the <i>IAM User Guide</i> </p>"""
    name: "capo_iam.types.saml_provider_name_type.SAMLProviderNameType"
    """<p>The name of the provider to create.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p>"""
    tags: NotRequired["capo_iam.types.tag_list_type.tagListType"]
    """<p>A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html">Tagging IAM resources</a> in the <i>IAM User Guide</i>.</p> <note> <p>If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.</p> </note>"""
    assertion_encryption_mode: NotRequired[
        "capo_iam.types.assertion_encryption_mode_type.assertionEncryptionModeType"
    ]
    """<p>Specifies the encryption setting for the SAML provider.</p>"""
    add_private_key: NotRequired["capo_iam.types.private_key_type.privateKeyType"]
    """<p>The private key generated from your external identity provider. The private key must be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to decrypt SAML assertions.</p>"""
    context_provider: NotRequired["capo_iam.types.context_provider.ContextProvider"]
    """<p>The trusted identity propagation context provider configuration to associate with the SAML provider. The context provider defines how the subject is derived and how keys from the provider's SAML assertion are mapped into trusted context keys. Specifying a context provider enables trusted identity propagation for the provider. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>"""
    identity_center_instance_arn: NotRequired[
        "capo_iam.types.identity_center_instance_arn_type.identityCenterInstanceArnType"
    ]
    """<p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with the SAML provider. If you specify this parameter, you must also specify <code>ContextProvider</code>.</p> <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>"""

add_private_key instance-attribute

add_private_key: NotRequired[privateKeyType]

The private key generated from your external identity provider. The private key must be a .pem file that uses AES-GCM or AES-CBC encryption algorithm to decrypt SAML assertions.

assertion_encryption_mode instance-attribute

assertion_encryption_mode: NotRequired[assertionEncryptionModeType]

Specifies the encryption setting for the SAML provider.

context_provider instance-attribute

context_provider: NotRequired[ContextProvider]

The trusted identity propagation context provider configuration to associate with the SAML provider. The context provider defines how the subject is derived and how keys from the provider's SAML assertion are mapped into trusted context keys. Specifying a context provider enables trusted identity propagation for the provider. For more information, see ContextProvider.

identity_center_instance_arn instance-attribute

identity_center_instance_arn: NotRequired[identityCenterInstanceArnType]

The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with the SAML provider. If you specify this parameter, you must also specify ContextProvider.

For the format, see InstanceMetadata in the IAM Identity Center API Reference.

name instance-attribute

The name of the provider to create.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

saml_metadata_document instance-attribute

saml_metadata_document: SAMLMetadataDocumentType

An XML document generated by an identity provider (IdP) that supports SAML 2.0. The document includes the issuer's name, expiration information, and keys that can be used to validate the SAML authentication response (assertions) that are received from the IdP. You must generate the metadata document using the identity management software that is used as your organization's IdP.

For more information, see About SAML 2.0-based federation in the IAM User Guide

tags instance-attribute

tags: NotRequired[tagListType]

A list of tags that you want to attach to the new IAM SAML provider. Each tag consists of a key name and an associated value. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.