Class SamlProvider
A SAML provider.
Inherited Members
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SamlProvider : Resource, ISamlProvider, IResource
Syntax (vb)
Public Class SamlProvider
Inherits Resource
Implements ISamlProvider, IResource
Remarks
ExampleMetadata: infused
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)
});
Synopsis
Constructors
Saml |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Saml |
Used by jsii to construct an instance of this class from DeputyProps |
Saml |
Properties
Saml |
The Amazon Resource Name (ARN) of the provider. |
Methods
From |
Import an existing provider. |
Constructors
SamlProvider(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SamlProvider(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
SamlProvider(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SamlProvider(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
SamlProvider(Construct, String, ISamlProviderProps)
public SamlProvider(Construct scope, string id, ISamlProviderProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props ISaml
Provider Props
Properties
SamlProviderArn
The Amazon Resource Name (ARN) of the provider.
public virtual string SamlProviderArn { get; }
Property Value
System.
Methods
FromSamlProviderArn(Construct, String, String)
Import an existing provider.
public static ISamlProvider FromSamlProviderArn(Construct scope, string id, string samlProviderArn)
Parameters
- scope Constructs.
Construct - id System.
String - samlProviderArn System.
String
Returns