aws.workspacesweb.IdentityProvider
Explore with Pulumi AI
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:
- Identity
Provider Dictionary<string, string>Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- Identity
Provider stringName - Identity provider name.
- Identity
Provider stringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - Portal
Arn 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.
- 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.
- Identity
Provider map[string]stringDetails - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- Identity
Provider stringName - Identity provider name.
- Identity
Provider stringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - Portal
Arn 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.
- 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.
- identity
Provider Map<String,String>Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity
Provider StringName - Identity provider name.
- identity
Provider StringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - portal
Arn 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.
- 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.
- identity
Provider {[key: string]: string}Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity
Provider stringName - Identity provider name.
- identity
Provider stringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - portal
Arn 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.
- {[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_ Mapping[str, str]details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity_
provider_ strname - Identity provider name.
- identity_
provider_ strtype - 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.
- 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.
- identity
Provider Map<String>Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity
Provider StringName - Identity provider name.
- identity
Provider StringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - portal
Arn 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.
- 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.
- Identity
Provider stringArn - ARN of the identity provider.
- 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.
- Identity
Provider stringArn - ARN of the identity provider.
- 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.
- identity
Provider StringArn - ARN of the identity provider.
- 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.
- identity
Provider stringArn - ARN of the identity provider.
- {[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_ strarn - ARN of the identity provider.
- 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.
- identity
Provider StringArn - ARN of the identity provider.
- 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.
- Identity
Provider stringArn - ARN of the identity provider.
- Identity
Provider Dictionary<string, string>Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- Identity
Provider stringName - Identity provider name.
- Identity
Provider stringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - Portal
Arn 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.
- 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. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Identity
Provider stringArn - ARN of the identity provider.
- Identity
Provider map[string]stringDetails - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- Identity
Provider stringName - Identity provider name.
- Identity
Provider stringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - Portal
Arn 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.
- 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. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- identity
Provider StringArn - ARN of the identity provider.
- identity
Provider Map<String,String>Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity
Provider StringName - Identity provider name.
- identity
Provider StringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - portal
Arn 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.
- 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. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- identity
Provider stringArn - ARN of the identity provider.
- identity
Provider {[key: string]: string}Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity
Provider stringName - Identity provider name.
- identity
Provider stringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - portal
Arn 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.
- {[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. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- identity_
provider_ strarn - ARN of the identity provider.
- identity_
provider_ Mapping[str, str]details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity_
provider_ strname - Identity provider name.
- identity_
provider_ strtype - 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.
- 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. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- identity
Provider StringArn - ARN of the identity provider.
- identity
Provider Map<String>Details - Identity provider details. The following list describes the provider detail keys for each identity provider type:
- For Google and Login with Amazon:
- identity
Provider StringName - Identity provider name.
- identity
Provider StringType - Identity provider type. Valid values:
SAML
,Facebook
,Google
,LoginWithAmazon
,SignInWithApple
,OIDC
. - portal
Arn 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.
- 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. - 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.