package awsiam


// Properties for a SAML provider.
//
// Example:
//   provider := iam.NewSamlProvider(this, jsii.String("Provider"), &SamlProviderProps{
//   	MetadataDocument: iam.SamlMetadataDocument_FromFile(jsii.String("/path/to/saml-metadata-document.xml")),
//   })
//   iam.NewRole(this, jsii.String("Role"), &RoleProps{
//   	AssumedBy: iam.NewSamlConsolePrincipal(provider),
//   })
//
type SamlProviderProps struct {
	// 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.
	MetadataDocument SamlMetadataDocument `field:"required" json:"metadataDocument" yaml:"metadataDocument"`
	// 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.
	//
	Name *string `field:"optional" json:"name" yaml:"name"`
}

