Interface SamlProviderProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SamlProviderProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:08.196Z") @Stability(Stable) public interface SamlProviderProps extends software.amazon.jsii.JsiiSerializable
Properties for a SAML provider.

Example:

 SamlProvider provider = SamlProvider.Builder.create(this, "Provider")
         .metadataDocument(SamlMetadataDocument.fromFile("/path/to/saml-metadata-document.xml"))
         .build();
 Role.Builder.create(this, "Role")
         .assumedBy(new SamlConsolePrincipal(provider))
         .build();
 
  • Method Details

    • getMetadataDocument

      @Stability(Stable) @NotNull SamlMetadataDocument getMetadataDocument()
      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.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the provider to create.

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

      Length must be between 1 and 128 characters.

      Default: - a CloudFormation generated name

    • builder

      @Stability(Stable) static SamlProviderProps.Builder builder()
      Returns:
      a SamlProviderProps.Builder of SamlProviderProps