1. Packages
  2. AWS
  3. API Docs
  4. workspacesweb
  5. IdentityProvider
AWS v7.7.0 published on Friday, Sep 5, 2025 by Pulumi

aws.workspacesweb.IdentityProvider

Explore with Pulumi AI

aws logo
AWS v7.7.0 published on Friday, Sep 5, 2025 by Pulumi

    Resource for managing an AWS WorkSpaces Web Identity Provider.

    Example Usage

    Basic Usage with SAML

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.workspacesweb.Portal("example", {displayName: "example"});
    const exampleIdentityProvider = new aws.workspacesweb.IdentityProvider("example", {
        identityProviderName: "example-saml",
        identityProviderType: "SAML",
        portalArn: example.portalArn,
        identityProviderDetails: {
            MetadataURL: "https://example.com/metadata",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.workspacesweb.Portal("example", display_name="example")
    example_identity_provider = aws.workspacesweb.IdentityProvider("example",
        identity_provider_name="example-saml",
        identity_provider_type="SAML",
        portal_arn=example.portal_arn,
        identity_provider_details={
            "MetadataURL": "https://example.com/metadata",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/workspacesweb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := workspacesweb.NewPortal(ctx, "example", &workspacesweb.PortalArgs{
    			DisplayName: pulumi.String("example"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = workspacesweb.NewIdentityProvider(ctx, "example", &workspacesweb.IdentityProviderArgs{
    			IdentityProviderName: pulumi.String("example-saml"),
    			IdentityProviderType: pulumi.String("SAML"),
    			PortalArn:            example.PortalArn,
    			IdentityProviderDetails: pulumi.StringMap{
    				"MetadataURL": pulumi.String("https://example.com/metadata"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.WorkSpacesWeb.Portal("example", new()
        {
            DisplayName = "example",
        });
    
        var exampleIdentityProvider = new Aws.WorkSpacesWeb.IdentityProvider("example", new()
        {
            IdentityProviderName = "example-saml",
            IdentityProviderType = "SAML",
            PortalArn = example.PortalArn,
            IdentityProviderDetails = 
            {
                { "MetadataURL", "https://example.com/metadata" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.workspacesweb.Portal;
    import com.pulumi.aws.workspacesweb.PortalArgs;
    import com.pulumi.aws.workspacesweb.IdentityProvider;
    import com.pulumi.aws.workspacesweb.IdentityProviderArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Portal("example", PortalArgs.builder()
                .displayName("example")
                .build());
    
            var exampleIdentityProvider = new IdentityProvider("exampleIdentityProvider", IdentityProviderArgs.builder()
                .identityProviderName("example-saml")
                .identityProviderType("SAML")
                .portalArn(example.portalArn())
                .identityProviderDetails(Map.of("MetadataURL", "https://example.com/metadata"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:workspacesweb:Portal
        properties:
          displayName: example
      exampleIdentityProvider:
        type: aws:workspacesweb:IdentityProvider
        name: example
        properties:
          identityProviderName: example-saml
          identityProviderType: SAML
          portalArn: ${example.portalArn}
          identityProviderDetails:
            MetadataURL: https://example.com/metadata
    

    OIDC Identity Provider

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const test = new aws.workspacesweb.Portal("test", {displayName: "test"});
    const testIdentityProvider = new aws.workspacesweb.IdentityProvider("test", {
        identityProviderName: "test-updated",
        identityProviderType: "OIDC",
        portalArn: test.portalArn,
        identityProviderDetails: {
            client_id: "test-client-id",
            client_secret: "test-client-secret",
            oidc_issuer: "https://accounts.google.com",
            attributes_request_method: "POST",
            authorize_scopes: "openid, email",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    test = aws.workspacesweb.Portal("test", display_name="test")
    test_identity_provider = aws.workspacesweb.IdentityProvider("test",
        identity_provider_name="test-updated",
        identity_provider_type="OIDC",
        portal_arn=test.portal_arn,
        identity_provider_details={
            "client_id": "test-client-id",
            "client_secret": "test-client-secret",
            "oidc_issuer": "https://accounts.google.com",
            "attributes_request_method": "POST",
            "authorize_scopes": "openid, email",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/workspacesweb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		test, err := workspacesweb.NewPortal(ctx, "test", &workspacesweb.PortalArgs{
    			DisplayName: pulumi.String("test"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = workspacesweb.NewIdentityProvider(ctx, "test", &workspacesweb.IdentityProviderArgs{
    			IdentityProviderName: pulumi.String("test-updated"),
    			IdentityProviderType: pulumi.String("OIDC"),
    			PortalArn:            test.PortalArn,
    			IdentityProviderDetails: pulumi.StringMap{
    				"client_id":                 pulumi.String("test-client-id"),
    				"client_secret":             pulumi.String("test-client-secret"),
    				"oidc_issuer":               pulumi.String("https://accounts.google.com"),
    				"attributes_request_method": pulumi.String("POST"),
    				"authorize_scopes":          pulumi.String("openid, email"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Aws.WorkSpacesWeb.Portal("test", new()
        {
            DisplayName = "test",
        });
    
        var testIdentityProvider = new Aws.WorkSpacesWeb.IdentityProvider("test", new()
        {
            IdentityProviderName = "test-updated",
            IdentityProviderType = "OIDC",
            PortalArn = test.PortalArn,
            IdentityProviderDetails = 
            {
                { "client_id", "test-client-id" },
                { "client_secret", "test-client-secret" },
                { "oidc_issuer", "https://accounts.google.com" },
                { "attributes_request_method", "POST" },
                { "authorize_scopes", "openid, email" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.workspacesweb.Portal;
    import com.pulumi.aws.workspacesweb.PortalArgs;
    import com.pulumi.aws.workspacesweb.IdentityProvider;
    import com.pulumi.aws.workspacesweb.IdentityProviderArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test = new Portal("test", PortalArgs.builder()
                .displayName("test")
                .build());
    
            var testIdentityProvider = new IdentityProvider("testIdentityProvider", IdentityProviderArgs.builder()
                .identityProviderName("test-updated")
                .identityProviderType("OIDC")
                .portalArn(test.portalArn())
                .identityProviderDetails(Map.ofEntries(
                    Map.entry("client_id", "test-client-id"),
                    Map.entry("client_secret", "test-client-secret"),
                    Map.entry("oidc_issuer", "https://accounts.google.com"),
                    Map.entry("attributes_request_method", "POST"),
                    Map.entry("authorize_scopes", "openid, email")
                ))
                .build());
    
        }
    }
    
    resources:
      test:
        type: aws:workspacesweb:Portal
        properties:
          displayName: test
      testIdentityProvider:
        type: aws:workspacesweb:IdentityProvider
        name: test
        properties:
          identityProviderName: test-updated
          identityProviderType: OIDC
          portalArn: ${test.portalArn}
          identityProviderDetails:
            client_id: test-client-id
            client_secret: test-client-secret
            oidc_issuer: https://accounts.google.com
            attributes_request_method: POST
            authorize_scopes: openid, email
    

    Create IdentityProvider Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IdentityProvider(name: string, args: IdentityProviderArgs, opts?: CustomResourceOptions);
    @overload
    def IdentityProvider(resource_name: str,
                         args: IdentityProviderArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def IdentityProvider(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         identity_provider_details: Optional[Mapping[str, str]] = None,
                         identity_provider_name: Optional[str] = None,
                         identity_provider_type: Optional[str] = None,
                         portal_arn: Optional[str] = None,
                         region: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewIdentityProvider(ctx *Context, name string, args IdentityProviderArgs, opts ...ResourceOption) (*IdentityProvider, error)
    public IdentityProvider(string name, IdentityProviderArgs args, CustomResourceOptions? opts = null)
    public IdentityProvider(String name, IdentityProviderArgs args)
    public IdentityProvider(String name, IdentityProviderArgs args, CustomResourceOptions options)
    
    type: aws:workspacesweb:IdentityProvider
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IdentityProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IdentityProviderArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IdentityProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IdentityProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IdentityProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var awsIdentityProviderResource = new Aws.WorkSpacesWeb.IdentityProvider("awsIdentityProviderResource", new()
    {
        IdentityProviderDetails = 
        {
            { "string", "string" },
        },
        IdentityProviderName = "string",
        IdentityProviderType = "string",
        PortalArn = "string",
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := workspacesweb.NewIdentityProvider(ctx, "awsIdentityProviderResource", &workspacesweb.IdentityProviderArgs{
    	IdentityProviderDetails: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IdentityProviderName: pulumi.String("string"),
    	IdentityProviderType: pulumi.String("string"),
    	PortalArn:            pulumi.String("string"),
    	Region:               pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var awsIdentityProviderResource = new com.pulumi.aws.workspacesweb.IdentityProvider("awsIdentityProviderResource", com.pulumi.aws.workspacesweb.IdentityProviderArgs.builder()
        .identityProviderDetails(Map.of("string", "string"))
        .identityProviderName("string")
        .identityProviderType("string")
        .portalArn("string")
        .region("string")
        .tags(Map.of("string", "string"))
        .build());
    
    aws_identity_provider_resource = aws.workspacesweb.IdentityProvider("awsIdentityProviderResource",
        identity_provider_details={
            "string": "string",
        },
        identity_provider_name="string",
        identity_provider_type="string",
        portal_arn="string",
        region="string",
        tags={
            "string": "string",
        })
    
    const awsIdentityProviderResource = new aws.workspacesweb.IdentityProvider("awsIdentityProviderResource", {
        identityProviderDetails: {
            string: "string",
        },
        identityProviderName: "string",
        identityProviderType: "string",
        portalArn: "string",
        region: "string",
        tags: {
            string: "string",
        },
    });
    
    type: aws:workspacesweb:IdentityProvider
    properties:
        identityProviderDetails:
            string: string
        identityProviderName: string
        identityProviderType: string
        portalArn: string
        region: string
        tags:
            string: string
    

    IdentityProvider Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IdentityProvider resource accepts the following input properties:

    IdentityProviderDetails Dictionary<string, string>
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    IdentityProviderName string
    Identity provider name.
    IdentityProviderType string
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    PortalArn string

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    IdentityProviderDetails map[string]string
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    IdentityProviderName string
    Identity provider name.
    IdentityProviderType string
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    PortalArn string

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    identityProviderDetails Map<String,String>
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identityProviderName String
    Identity provider name.
    identityProviderType String
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portalArn String

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    identityProviderDetails {[key: string]: string}
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identityProviderName string
    Identity provider name.
    identityProviderType string
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portalArn string

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    identity_provider_details Mapping[str, str]
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identity_provider_name str
    Identity provider name.
    identity_provider_type str
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portal_arn str

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    identityProviderDetails Map<String>
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identityProviderName String
    Identity provider name.
    identityProviderType String
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portalArn String

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityProviderArn string
    ARN of the identity provider.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdentityProviderArn string
    ARN of the identity provider.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id String
    The provider-assigned unique ID for this managed resource.
    identityProviderArn String
    ARN of the identity provider.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id string
    The provider-assigned unique ID for this managed resource.
    identityProviderArn string
    ARN of the identity provider.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id str
    The provider-assigned unique ID for this managed resource.
    identity_provider_arn str
    ARN of the identity provider.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id String
    The provider-assigned unique ID for this managed resource.
    identityProviderArn String
    ARN of the identity provider.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Look up Existing IdentityProvider Resource

    Get an existing IdentityProvider 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?: IdentityProviderState, opts?: CustomResourceOptions): IdentityProvider
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            identity_provider_arn: Optional[str] = None,
            identity_provider_details: Optional[Mapping[str, str]] = None,
            identity_provider_name: Optional[str] = None,
            identity_provider_type: Optional[str] = None,
            portal_arn: Optional[str] = None,
            region: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> IdentityProvider
    func GetIdentityProvider(ctx *Context, name string, id IDInput, state *IdentityProviderState, opts ...ResourceOption) (*IdentityProvider, error)
    public static IdentityProvider Get(string name, Input<string> id, IdentityProviderState? state, CustomResourceOptions? opts = null)
    public static IdentityProvider get(String name, Output<String> id, IdentityProviderState state, CustomResourceOptions options)
    resources:  _:    type: aws:workspacesweb:IdentityProvider    get:      id: ${id}
    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.
    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:
    IdentityProviderArn string
    ARN of the identity provider.
    IdentityProviderDetails Dictionary<string, string>
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    IdentityProviderName string
    Identity provider name.
    IdentityProviderType string
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    PortalArn string

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    IdentityProviderArn string
    ARN of the identity provider.
    IdentityProviderDetails map[string]string
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    IdentityProviderName string
    Identity provider name.
    IdentityProviderType string
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    PortalArn string

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    identityProviderArn String
    ARN of the identity provider.
    identityProviderDetails Map<String,String>
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identityProviderName String
    Identity provider name.
    identityProviderType String
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portalArn String

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    identityProviderArn string
    ARN of the identity provider.
    identityProviderDetails {[key: string]: string}
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identityProviderName string
    Identity provider name.
    identityProviderType string
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portalArn string

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    identity_provider_arn str
    ARN of the identity provider.
    identity_provider_details Mapping[str, str]
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identity_provider_name str
    Identity provider name.
    identity_provider_type str
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portal_arn str

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    identityProviderArn String
    ARN of the identity provider.
    identityProviderDetails Map<String>
    Identity provider details. The following list describes the provider detail keys for each identity provider type:

    • For Google and Login with Amazon:
    identityProviderName String
    Identity provider name.
    identityProviderType String
    Identity provider type. Valid values: SAML, Facebook, Google, LoginWithAmazon, SignInWithApple, OIDC.
    portalArn String

    ARN of the web portal. Forces replacement if changed.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Import

    Using pulumi import, import WorkSpaces Web Identity Provider using the identity_provider_arn. For example:

    $ pulumi import aws:workspacesweb/identityProvider:IdentityProvider example arn:aws:workspaces-web:us-west-2:123456789012:identityprovider/abcdef12345678/12345678-1234-1234-1234-123456789012
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.7.0 published on Friday, Sep 5, 2025 by Pulumi
      AI Agentic Workflows: Register now