Skip to content

SAMLProviderProps

Properties for defining a SAMLProvider.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-samlprovider

Initializer

import ros_cdk_ram
ros_cdk_ram.SAMLProviderProps(
  saml_provider_name: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  encoded_saml_metadata_document: typing.Union[str, IResolvable] = None,
  saml_metadata_document: typing.Union[str, IResolvable] = None,
  saml_metadata_document_url: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
saml_provider_name typing.Union[str, ros_cdk_core.IResolvable] Property samlProviderName: IdP Name.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description can contain a maximum of 256 characters.
encoded_saml_metadata_document typing.Union[str, ros_cdk_core.IResolvable] Property encodedSamlMetadataDocument: SAML metadata document.Base64 encoded. Provided by an identity provider that supports the SAML2.0 protocol. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.
saml_metadata_document typing.Union[str, ros_cdk_core.IResolvable] Property samlMetadataDocument: SAML metadata document.
saml_metadata_document_url typing.Union[str, ros_cdk_core.IResolvable] Property samlMetadataDocumentUrl: The URL for the file that contains the SAML metadata document.

saml_provider_nameRequired

saml_provider_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property samlProviderName: IdP Name.

The IdP name can contain a maximum of 128 characters and only letters, numbers, and the following special characters are accepted: hyphens (-), periods (.), and underscores (_). It cannot start or end with a special character.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: The description can contain a maximum of 256 characters.


encoded_saml_metadata_documentOptional

encoded_saml_metadata_document: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property encodedSamlMetadataDocument: SAML metadata document.Base64 encoded. Provided by an identity provider that supports the SAML2.0 protocol. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.


saml_metadata_documentOptional

saml_metadata_document: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property samlMetadataDocument: SAML metadata document.

The content must be 1 to 102,400 bytes in length. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.


saml_metadata_document_urlOptional

saml_metadata_document_url: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property samlMetadataDocumentUrl: The URL for the file that contains the SAML metadata document.

The URL must point to a document located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/document/demo and oss://ros/document/demo?RegionId=cn-hangzhou. The URL can be up to 1,024 bytes in length. Only one of the three properties SAMLMetadataDocument, SAMLMetadataDocumentURL, EncodedSAMLMetadataDocument can be set.