1. Packages
  2. AWS
  3. API Docs
  4. ssoadmin
  5. TrustedTokenIssuer
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.ssoadmin.TrustedTokenIssuer

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Resource for managing an AWS SSO Admin Trusted Token Issuer.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.ssoadmin.getInstances({});
    const exampleTrustedTokenIssuer = new aws.ssoadmin.TrustedTokenIssuer("example", {
        name: "example",
        instanceArn: example.then(example => example.arns?.[0]),
        trustedTokenIssuerType: "OIDC_JWT",
        trustedTokenIssuerConfiguration: {
            oidcJwtConfiguration: {
                claimAttributePath: "email",
                identityStoreAttributePath: "emails.value",
                issuerUrl: "https://example.com",
                jwksRetrievalOption: "OPEN_ID_DISCOVERY",
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ssoadmin.get_instances()
    example_trusted_token_issuer = aws.ssoadmin.TrustedTokenIssuer("example",
        name="example",
        instance_arn=example.arns[0],
        trusted_token_issuer_type="OIDC_JWT",
        trusted_token_issuer_configuration={
            "oidc_jwt_configuration": {
                "claim_attribute_path": "email",
                "identity_store_attribute_path": "emails.value",
                "issuer_url": "https://example.com",
                "jwks_retrieval_option": "OPEN_ID_DISCOVERY",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssoadmin"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := ssoadmin.GetInstances(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = ssoadmin.NewTrustedTokenIssuer(ctx, "example", &ssoadmin.TrustedTokenIssuerArgs{
    			Name:                   pulumi.String("example"),
    			InstanceArn:            pulumi.String(example.Arns[0]),
    			TrustedTokenIssuerType: pulumi.String("OIDC_JWT"),
    			TrustedTokenIssuerConfiguration: &ssoadmin.TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs{
    				OidcJwtConfiguration: &ssoadmin.TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs{
    					ClaimAttributePath:         pulumi.String("email"),
    					IdentityStoreAttributePath: pulumi.String("emails.value"),
    					IssuerUrl:                  pulumi.String("https://example.com"),
    					JwksRetrievalOption:        pulumi.String("OPEN_ID_DISCOVERY"),
    				},
    			},
    		})
    		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 = Aws.SsoAdmin.GetInstances.Invoke();
    
        var exampleTrustedTokenIssuer = new Aws.SsoAdmin.TrustedTokenIssuer("example", new()
        {
            Name = "example",
            InstanceArn = example.Apply(getInstancesResult => getInstancesResult.Arns[0]),
            TrustedTokenIssuerType = "OIDC_JWT",
            TrustedTokenIssuerConfiguration = new Aws.SsoAdmin.Inputs.TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs
            {
                OidcJwtConfiguration = new Aws.SsoAdmin.Inputs.TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs
                {
                    ClaimAttributePath = "email",
                    IdentityStoreAttributePath = "emails.value",
                    IssuerUrl = "https://example.com",
                    JwksRetrievalOption = "OPEN_ID_DISCOVERY",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ssoadmin.SsoadminFunctions;
    import com.pulumi.aws.ssoadmin.TrustedTokenIssuer;
    import com.pulumi.aws.ssoadmin.TrustedTokenIssuerArgs;
    import com.pulumi.aws.ssoadmin.inputs.TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs;
    import com.pulumi.aws.ssoadmin.inputs.TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs;
    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) {
            final var example = SsoadminFunctions.getInstances();
    
            var exampleTrustedTokenIssuer = new TrustedTokenIssuer("exampleTrustedTokenIssuer", TrustedTokenIssuerArgs.builder()
                .name("example")
                .instanceArn(example.applyValue(getInstancesResult -> getInstancesResult.arns()[0]))
                .trustedTokenIssuerType("OIDC_JWT")
                .trustedTokenIssuerConfiguration(TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs.builder()
                    .oidcJwtConfiguration(TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs.builder()
                        .claimAttributePath("email")
                        .identityStoreAttributePath("emails.value")
                        .issuerUrl("https://example.com")
                        .jwksRetrievalOption("OPEN_ID_DISCOVERY")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleTrustedTokenIssuer:
        type: aws:ssoadmin:TrustedTokenIssuer
        name: example
        properties:
          name: example
          instanceArn: ${example.arns[0]}
          trustedTokenIssuerType: OIDC_JWT
          trustedTokenIssuerConfiguration:
            oidcJwtConfiguration:
              claimAttributePath: email
              identityStoreAttributePath: emails.value
              issuerUrl: https://example.com
              jwksRetrievalOption: OPEN_ID_DISCOVERY
    variables:
      example:
        fn::invoke:
          Function: aws:ssoadmin:getInstances
          Arguments: {}
    

    Create TrustedTokenIssuer Resource

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

    Constructor syntax

    new TrustedTokenIssuer(name: string, args: TrustedTokenIssuerArgs, opts?: CustomResourceOptions);
    @overload
    def TrustedTokenIssuer(resource_name: str,
                           args: TrustedTokenIssuerArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def TrustedTokenIssuer(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           instance_arn: Optional[str] = None,
                           trusted_token_issuer_type: Optional[str] = None,
                           client_token: Optional[str] = None,
                           name: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           trusted_token_issuer_configuration: Optional[TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs] = None)
    func NewTrustedTokenIssuer(ctx *Context, name string, args TrustedTokenIssuerArgs, opts ...ResourceOption) (*TrustedTokenIssuer, error)
    public TrustedTokenIssuer(string name, TrustedTokenIssuerArgs args, CustomResourceOptions? opts = null)
    public TrustedTokenIssuer(String name, TrustedTokenIssuerArgs args)
    public TrustedTokenIssuer(String name, TrustedTokenIssuerArgs args, CustomResourceOptions options)
    
    type: aws:ssoadmin:TrustedTokenIssuer
    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 TrustedTokenIssuerArgs
    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 TrustedTokenIssuerArgs
    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 TrustedTokenIssuerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrustedTokenIssuerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrustedTokenIssuerArgs
    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 trustedTokenIssuerResource = new Aws.SsoAdmin.TrustedTokenIssuer("trustedTokenIssuerResource", new()
    {
        InstanceArn = "string",
        TrustedTokenIssuerType = "string",
        ClientToken = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TrustedTokenIssuerConfiguration = new Aws.SsoAdmin.Inputs.TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs
        {
            OidcJwtConfiguration = new Aws.SsoAdmin.Inputs.TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs
            {
                ClaimAttributePath = "string",
                IdentityStoreAttributePath = "string",
                IssuerUrl = "string",
                JwksRetrievalOption = "string",
            },
        },
    });
    
    example, err := ssoadmin.NewTrustedTokenIssuer(ctx, "trustedTokenIssuerResource", &ssoadmin.TrustedTokenIssuerArgs{
    	InstanceArn:            pulumi.String("string"),
    	TrustedTokenIssuerType: pulumi.String("string"),
    	ClientToken:            pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TrustedTokenIssuerConfiguration: &ssoadmin.TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs{
    		OidcJwtConfiguration: &ssoadmin.TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs{
    			ClaimAttributePath:         pulumi.String("string"),
    			IdentityStoreAttributePath: pulumi.String("string"),
    			IssuerUrl:                  pulumi.String("string"),
    			JwksRetrievalOption:        pulumi.String("string"),
    		},
    	},
    })
    
    var trustedTokenIssuerResource = new TrustedTokenIssuer("trustedTokenIssuerResource", TrustedTokenIssuerArgs.builder()
        .instanceArn("string")
        .trustedTokenIssuerType("string")
        .clientToken("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .trustedTokenIssuerConfiguration(TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs.builder()
            .oidcJwtConfiguration(TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs.builder()
                .claimAttributePath("string")
                .identityStoreAttributePath("string")
                .issuerUrl("string")
                .jwksRetrievalOption("string")
                .build())
            .build())
        .build());
    
    trusted_token_issuer_resource = aws.ssoadmin.TrustedTokenIssuer("trustedTokenIssuerResource",
        instance_arn="string",
        trusted_token_issuer_type="string",
        client_token="string",
        name="string",
        tags={
            "string": "string",
        },
        trusted_token_issuer_configuration={
            "oidcJwtConfiguration": {
                "claimAttributePath": "string",
                "identityStoreAttributePath": "string",
                "issuerUrl": "string",
                "jwksRetrievalOption": "string",
            },
        })
    
    const trustedTokenIssuerResource = new aws.ssoadmin.TrustedTokenIssuer("trustedTokenIssuerResource", {
        instanceArn: "string",
        trustedTokenIssuerType: "string",
        clientToken: "string",
        name: "string",
        tags: {
            string: "string",
        },
        trustedTokenIssuerConfiguration: {
            oidcJwtConfiguration: {
                claimAttributePath: "string",
                identityStoreAttributePath: "string",
                issuerUrl: "string",
                jwksRetrievalOption: "string",
            },
        },
    });
    
    type: aws:ssoadmin:TrustedTokenIssuer
    properties:
        clientToken: string
        instanceArn: string
        name: string
        tags:
            string: string
        trustedTokenIssuerConfiguration:
            oidcJwtConfiguration:
                claimAttributePath: string
                identityStoreAttributePath: string
                issuerUrl: string
                jwksRetrievalOption: string
        trustedTokenIssuerType: string
    

    TrustedTokenIssuer Resource Properties

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

    Inputs

    The TrustedTokenIssuer resource accepts the following input properties:

    InstanceArn string
    ARN of the instance of IAM Identity Center.
    TrustedTokenIssuerType string

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    ClientToken string
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    Name string
    Name of the trusted token issuer.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TrustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfiguration
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    InstanceArn string
    ARN of the instance of IAM Identity Center.
    TrustedTokenIssuerType string

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    ClientToken string
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    Name string
    Name of the trusted token issuer.
    Tags map[string]string
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TrustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    instanceArn String
    ARN of the instance of IAM Identity Center.
    trustedTokenIssuerType String

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    clientToken String
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    name String
    Name of the trusted token issuer.
    tags Map<String,String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    trustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfiguration
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    instanceArn string
    ARN of the instance of IAM Identity Center.
    trustedTokenIssuerType string

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    clientToken string
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    name string
    Name of the trusted token issuer.
    tags {[key: string]: string}
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    trustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfiguration
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    instance_arn str
    ARN of the instance of IAM Identity Center.
    trusted_token_issuer_type str

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    client_token str
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    name str
    Name of the trusted token issuer.
    tags Mapping[str, str]
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    trusted_token_issuer_configuration TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    instanceArn String
    ARN of the instance of IAM Identity Center.
    trustedTokenIssuerType String

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    clientToken String
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    name String
    Name of the trusted token issuer.
    tags Map<String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    trustedTokenIssuerConfiguration Property Map
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.

    Outputs

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

    Arn string
    ARN of the trusted token issuer.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the trusted token issuer.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the trusted token issuer.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the trusted token issuer.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the trusted token issuer.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the trusted token issuer.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing TrustedTokenIssuer Resource

    Get an existing TrustedTokenIssuer 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?: TrustedTokenIssuerState, opts?: CustomResourceOptions): TrustedTokenIssuer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            client_token: Optional[str] = None,
            instance_arn: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            trusted_token_issuer_configuration: Optional[TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs] = None,
            trusted_token_issuer_type: Optional[str] = None) -> TrustedTokenIssuer
    func GetTrustedTokenIssuer(ctx *Context, name string, id IDInput, state *TrustedTokenIssuerState, opts ...ResourceOption) (*TrustedTokenIssuer, error)
    public static TrustedTokenIssuer Get(string name, Input<string> id, TrustedTokenIssuerState? state, CustomResourceOptions? opts = null)
    public static TrustedTokenIssuer get(String name, Output<String> id, TrustedTokenIssuerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Arn string
    ARN of the trusted token issuer.
    ClientToken string
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    InstanceArn string
    ARN of the instance of IAM Identity Center.
    Name string
    Name of the trusted token issuer.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. 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.

    Deprecated: Please use tags instead.

    TrustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfiguration
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    TrustedTokenIssuerType string

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    Arn string
    ARN of the trusted token issuer.
    ClientToken string
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    InstanceArn string
    ARN of the instance of IAM Identity Center.
    Name string
    Name of the trusted token issuer.
    Tags map[string]string
    Key-value mapping of resource tags. 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.

    Deprecated: Please use tags instead.

    TrustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    TrustedTokenIssuerType string

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    arn String
    ARN of the trusted token issuer.
    clientToken String
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    instanceArn String
    ARN of the instance of IAM Identity Center.
    name String
    Name of the trusted token issuer.
    tags Map<String,String>
    Key-value mapping of resource tags. 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.

    Deprecated: Please use tags instead.

    trustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfiguration
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    trustedTokenIssuerType String

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    arn string
    ARN of the trusted token issuer.
    clientToken string
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    instanceArn string
    ARN of the instance of IAM Identity Center.
    name string
    Name of the trusted token issuer.
    tags {[key: string]: string}
    Key-value mapping of resource tags. 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.

    Deprecated: Please use tags instead.

    trustedTokenIssuerConfiguration TrustedTokenIssuerTrustedTokenIssuerConfiguration
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    trustedTokenIssuerType string

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    arn str
    ARN of the trusted token issuer.
    client_token str
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    instance_arn str
    ARN of the instance of IAM Identity Center.
    name str
    Name of the trusted token issuer.
    tags Mapping[str, str]
    Key-value mapping of resource tags. 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.

    Deprecated: Please use tags instead.

    trusted_token_issuer_configuration TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    trusted_token_issuer_type str

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    arn String
    ARN of the trusted token issuer.
    clientToken String
    A unique, case-sensitive ID that you provide to ensure the idempotency of the request. AWS generates a random value when not provided.
    instanceArn String
    ARN of the instance of IAM Identity Center.
    name String
    Name of the trusted token issuer.
    tags Map<String>
    Key-value mapping of resource tags. 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.

    Deprecated: Please use tags instead.

    trustedTokenIssuerConfiguration Property Map
    A block that specifies settings that apply to the trusted token issuer, these change depending on the type you specify in trusted_token_issuer_type. Documented below.
    trustedTokenIssuerType String

    Specifies the type of the trusted token issuer. Valid values are OIDC_JWT

    The following arguments are optional:

    Supporting Types

    TrustedTokenIssuerTrustedTokenIssuerConfiguration, TrustedTokenIssuerTrustedTokenIssuerConfigurationArgs

    OidcJwtConfiguration TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfiguration
    A block that describes the settings for a trusted token issuer that works with OpenID Connect (OIDC) by using JSON Web Tokens (JWT). See Documented below below.
    OidcJwtConfiguration TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfiguration
    A block that describes the settings for a trusted token issuer that works with OpenID Connect (OIDC) by using JSON Web Tokens (JWT). See Documented below below.
    oidcJwtConfiguration TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfiguration
    A block that describes the settings for a trusted token issuer that works with OpenID Connect (OIDC) by using JSON Web Tokens (JWT). See Documented below below.
    oidcJwtConfiguration TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfiguration
    A block that describes the settings for a trusted token issuer that works with OpenID Connect (OIDC) by using JSON Web Tokens (JWT). See Documented below below.
    oidc_jwt_configuration TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfiguration
    A block that describes the settings for a trusted token issuer that works with OpenID Connect (OIDC) by using JSON Web Tokens (JWT). See Documented below below.
    oidcJwtConfiguration Property Map
    A block that describes the settings for a trusted token issuer that works with OpenID Connect (OIDC) by using JSON Web Tokens (JWT). See Documented below below.

    TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfiguration, TrustedTokenIssuerTrustedTokenIssuerConfigurationOidcJwtConfigurationArgs

    ClaimAttributePath string
    Specifies the path of the source attribute in the JWT from the trusted token issuer.
    IdentityStoreAttributePath string
    Specifies path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by claim_attribute_path when a trusted token issuer token is exchanged for an IAM Identity Center token.
    IssuerUrl string
    Specifies the URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
    JwksRetrievalOption string
    The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT. Valid values are OPEN_ID_DISCOVERY
    ClaimAttributePath string
    Specifies the path of the source attribute in the JWT from the trusted token issuer.
    IdentityStoreAttributePath string
    Specifies path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by claim_attribute_path when a trusted token issuer token is exchanged for an IAM Identity Center token.
    IssuerUrl string
    Specifies the URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
    JwksRetrievalOption string
    The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT. Valid values are OPEN_ID_DISCOVERY
    claimAttributePath String
    Specifies the path of the source attribute in the JWT from the trusted token issuer.
    identityStoreAttributePath String
    Specifies path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by claim_attribute_path when a trusted token issuer token is exchanged for an IAM Identity Center token.
    issuerUrl String
    Specifies the URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
    jwksRetrievalOption String
    The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT. Valid values are OPEN_ID_DISCOVERY
    claimAttributePath string
    Specifies the path of the source attribute in the JWT from the trusted token issuer.
    identityStoreAttributePath string
    Specifies path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by claim_attribute_path when a trusted token issuer token is exchanged for an IAM Identity Center token.
    issuerUrl string
    Specifies the URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
    jwksRetrievalOption string
    The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT. Valid values are OPEN_ID_DISCOVERY
    claim_attribute_path str
    Specifies the path of the source attribute in the JWT from the trusted token issuer.
    identity_store_attribute_path str
    Specifies path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by claim_attribute_path when a trusted token issuer token is exchanged for an IAM Identity Center token.
    issuer_url str
    Specifies the URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
    jwks_retrieval_option str
    The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT. Valid values are OPEN_ID_DISCOVERY
    claimAttributePath String
    Specifies the path of the source attribute in the JWT from the trusted token issuer.
    identityStoreAttributePath String
    Specifies path of the destination attribute in a JWT from IAM Identity Center. The attribute mapped by this JMESPath expression is compared against the attribute mapped by claim_attribute_path when a trusted token issuer token is exchanged for an IAM Identity Center token.
    issuerUrl String
    Specifies the URL that IAM Identity Center uses for OpenID Discovery. OpenID Discovery is used to obtain the information required to verify the tokens that the trusted token issuer generates.
    jwksRetrievalOption String
    The method that the trusted token issuer can use to retrieve the JSON Web Key Set used to verify a JWT. Valid values are OPEN_ID_DISCOVERY

    Import

    Using pulumi import, import SSO Admin Trusted Token Issuer using the id. For example:

    $ pulumi import aws:ssoadmin/trustedTokenIssuer:TrustedTokenIssuer example arn:aws:sso::012345678901:trustedTokenIssuer/ssoins-lu1ye3gew4mbc7ju/tti-2657c556-9707-11ee-b9d1-0242ac120002
    

    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 v6.54.0 published on Friday, Sep 27, 2024 by Pulumi