Class SamlProvider
Provides an IAM SAML provider.
Example Usage
using System.IO;
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var @default = new Aws.Iam.SamlProvider("default", new Aws.Iam.SamlProviderArgs
{
SamlMetadataDocument = File.ReadAllText("saml-metadata.xml"),
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Iam
Assembly: Pulumi.Aws.dll
Syntax
public class SamlProvider : CustomResource
Constructors
View SourceSamlProvider(String, SamlProviderArgs, CustomResourceOptions)
Create a SamlProvider resource with the given unique name, arguments, and options.
Declaration
public SamlProvider(string name, SamlProviderArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SamlProviderArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The ARN assigned by AWS for this provider.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the provider to create.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SamlMetadataDocument
An XML document generated by an identity provider that supports SAML 2.0.
Declaration
public Output<string> SamlMetadataDocument { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ValidUntil
The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.
Declaration
public Output<string> ValidUntil { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SamlProviderState, CustomResourceOptions)
Get an existing SamlProvider resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SamlProvider Get(string name, Input<string> id, SamlProviderState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SamlProviderState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SamlProvider |