Class CfnSAMLProviderProps.Builder
java.lang.Object
software.amazon.awscdk.services.iam.CfnSAMLProviderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSAMLProviderProps>
- Enclosing interface:
CfnSAMLProviderProps
@Stability(Stable)
public static final class CfnSAMLProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSAMLProviderProps>
A builder for
CfnSAMLProviderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnSAMLProviderProps.getName()
samlMetadataDocument
(String samlMetadataDocument) Sets the value ofCfnSAMLProviderProps.getSamlMetadataDocument()
Sets the value ofCfnSAMLProviderProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
samlMetadataDocument
@Stability(Stable) public CfnSAMLProviderProps.Builder samlMetadataDocument(String samlMetadataDocument) Sets the value ofCfnSAMLProviderProps.getSamlMetadataDocument()
- Parameters:
samlMetadataDocument
- 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. This parameter is required. For more information, see About SAML 2.0-based federation in the IAM User Guide- Returns:
this
-
name
Sets the value ofCfnSAMLProviderProps.getName()
- Parameters:
name
- 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: _+=,.@-- Returns:
this
-
tags
Sets the value ofCfnSAMLProviderProps.getTags()
- Parameters:
tags
- 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.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSAMLProviderProps>
- Returns:
- a new instance of
CfnSAMLProviderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-