Table of Contents

Class SamlProvider

Namespace
Amazon.CDK.AWS.IAM
Assembly
Amazon.CDK.AWS.IAM.dll

A SAML provider.

public class SamlProvider : Resource, ISamlProvider, IResource, IConstruct, IConstruct, IDependable
Inheritance
SamlProvider
Implements
IResource
IConstruct
IConstruct
IDependable

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 Construct
id string
props ISamlProviderProps

Properties

SamlProviderArn

The Amazon Resource Name (ARN) of the provider.

public virtual string SamlProviderArn { get; }

Property Value

string

Methods

FromSamlProviderArn(Construct, string, string)

Import an existing provider.

public static ISamlProvider FromSamlProviderArn(Construct scope, string id, string samlProviderArn)

Parameters

scope Construct
id string
samlProviderArn string

Returns

ISamlProvider