UserPoolIdentityProviderSamlMetadata

class aws_cdk.aws_cognito.UserPoolIdentityProviderSamlMetadata(*args: Any, **kwargs)

Bases: object

Metadata for a SAML user pool identity provider.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito

user_pool_identity_provider_saml_metadata = cognito.UserPoolIdentityProviderSamlMetadata.file("fileContent")

Attributes

metadata_content

A URL hosting SAML metadata, or the content of a file containing SAML metadata.

metadata_type

The type of metadata, either a URL or file content.

Static Methods

classmethod file(file_content)

Specify SAML metadata via the contents of a file.

Parameters:

file_content (str) –

Return type:

UserPoolIdentityProviderSamlMetadata

classmethod url(url)

Specify SAML metadata via a URL.

Parameters:

url (str) –

Return type:

UserPoolIdentityProviderSamlMetadata