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"),
        });
    }

}

Coming soon!

import pulumi
import pulumi_aws as aws

default = aws.iam.SamlProvider("default", saml_metadata_document=(lambda path: open(path).read())("saml-metadata.xml"))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as fs from "fs";

const defaultSamlProvider = new aws.iam.SamlProvider("default", {
    samlMetadataDocument: fs.readFileSync("saml-metadata.xml", "utf-8"),
});

Create a SamlProvider Resource

def SamlProvider(resource_name, opts=None, name=None, saml_metadata_document=None, __props__=None);
func NewSamlProvider(ctx *Context, name string, args SamlProviderArgs, opts ...ResourceOption) (*SamlProvider, error)
name string
The unique name of the resource.
args SamlProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SamlProviderArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SamlProviderArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SamlProvider Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SamlProvider resource accepts the following input properties:

SamlMetadataDocument string

An XML document generated by an identity provider that supports SAML 2.0.

Name string

The name of the provider to create.

SamlMetadataDocument string

An XML document generated by an identity provider that supports SAML 2.0.

Name string

The name of the provider to create.

samlMetadataDocument string

An XML document generated by an identity provider that supports SAML 2.0.

name string

The name of the provider to create.

saml_metadata_document str

An XML document generated by an identity provider that supports SAML 2.0.

name str

The name of the provider to create.

Outputs

All input properties are implicitly available as output properties. Additionally, the SamlProvider resource produces the following output properties:

Arn string

The ARN assigned by AWS for this provider.

Id string
The provider-assigned unique ID for this managed resource.
ValidUntil string

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

Arn string

The ARN assigned by AWS for this provider.

Id string
The provider-assigned unique ID for this managed resource.
ValidUntil string

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

arn string

The ARN assigned by AWS for this provider.

id string
The provider-assigned unique ID for this managed resource.
validUntil string

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

arn str

The ARN assigned by AWS for this provider.

id str
The provider-assigned unique ID for this managed resource.
valid_until str

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

Look up an Existing SamlProvider Resource

Get an existing SamlProvider resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SamlProviderState, opts?: CustomResourceOptions): SamlProvider
static get(resource_name, id, opts=None, arn=None, name=None, saml_metadata_document=None, valid_until=None, __props__=None);
func GetSamlProvider(ctx *Context, name string, id IDInput, state *SamlProviderState, opts ...ResourceOption) (*SamlProvider, error)
public static SamlProvider Get(string name, Input<string> id, SamlProviderState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string

The ARN assigned by AWS for this provider.

Name string

The name of the provider to create.

SamlMetadataDocument string

An XML document generated by an identity provider that supports SAML 2.0.

ValidUntil string

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

Arn string

The ARN assigned by AWS for this provider.

Name string

The name of the provider to create.

SamlMetadataDocument string

An XML document generated by an identity provider that supports SAML 2.0.

ValidUntil string

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

arn string

The ARN assigned by AWS for this provider.

name string

The name of the provider to create.

samlMetadataDocument string

An XML document generated by an identity provider that supports SAML 2.0.

validUntil string

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

arn str

The ARN assigned by AWS for this provider.

name str

The name of the provider to create.

saml_metadata_document str

An XML document generated by an identity provider that supports SAML 2.0.

valid_until str

The expiration date and time for the SAML provider in RFC1123 format, e.g. Mon, 02 Jan 2006 15:04:05 MST.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.