Class SamlProvider
A SAML provider.
public class SamlProvider : Resource, ISamlProvider, IResource, IConstruct, IConstruct, IDependable
- Inheritance
-
SamlProvider
- Implements
-
IResourceIConstructIConstructIDependable
Examples
var provider = new SamlProvider(this, "Provider", new SamlProviderProps {
MetadataDocument = SamlMetadataDocument.FromFile("/path/to/saml-metadata-document.xml")
});
new Role(this, "Role", new RoleProps {
AssumedBy = new SamlConsolePrincipal(provider)
});
Remarks
ExampleMetadata: infused
Constructors
SamlProvider(Construct, string, ISamlProviderProps)
public SamlProvider(Construct scope, string id, ISamlProviderProps props)
Parameters
scope
Constructid
stringprops
ISamlProviderProps
Properties
SamlProviderArn
The Amazon Resource Name (ARN) of the provider.
public virtual string SamlProviderArn { get; }
Property Value
Methods
FromSamlProviderArn(Construct, string, string)
Import an existing provider.
public static ISamlProvider FromSamlProviderArn(Construct scope, string id, string samlProviderArn)