# CfnTrustedTokenIssuerProps

Properties for defining a `CfnTrustedTokenIssuer`.

Used as props by: [CfnTrustedTokenIssuer](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sso.CfnTrustedTokenIssuer.html)

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sso as sso } from 'aws-cdk-lib';
const cfnTrustedTokenIssuerProps: sso.CfnTrustedTokenIssuerProps = {
  instanceArn: 'instanceArn',
  name: 'name',
  trustedTokenIssuerConfiguration: {
    oidcJwtConfiguration: {
      claimAttributePath: 'claimAttributePath',
      identityStoreAttributePath: 'identityStoreAttributePath',
      issuerUrl: 'issuerUrl',
      jwksRetrievalOption: 'jwksRetrievalOption',
    },
  },
  trustedTokenIssuerType: 'trustedTokenIssuerType',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sso as sso

cfn_trusted_token_issuer_props = sso.CfnTrustedTokenIssuerProps(
    instance_arn="instanceArn",
    name="name",
    trusted_token_issuer_configuration=sso.CfnTrustedTokenIssuer.TrustedTokenIssuerConfigurationProperty(
        oidc_jwt_configuration=sso.CfnTrustedTokenIssuer.OidcJwtConfigurationProperty(
            claim_attribute_path="claimAttributePath",
            identity_store_attribute_path="identityStoreAttributePath",
            issuer_url="issuerUrl",
            jwks_retrieval_option="jwksRetrievalOption"
        )
    ),
    trusted_token_issuer_type="trustedTokenIssuerType",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sso.*;

CfnTrustedTokenIssuerProps cfnTrustedTokenIssuerProps = CfnTrustedTokenIssuerProps.builder()
        .instanceArn("instanceArn")
        .name("name")
        .trustedTokenIssuerConfiguration(TrustedTokenIssuerConfigurationProperty.builder()
                .oidcJwtConfiguration(OidcJwtConfigurationProperty.builder()
                        .claimAttributePath("claimAttributePath")
                        .identityStoreAttributePath("identityStoreAttributePath")
                        .issuerUrl("issuerUrl")
                        .jwksRetrievalOption("jwksRetrievalOption")
                        .build())
                .build())
        .trustedTokenIssuerType("trustedTokenIssuerType")

        // the properties below are optional
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSO;

var cfnTrustedTokenIssuerProps = new CfnTrustedTokenIssuerProps {
    InstanceArn = "instanceArn",
    Name = "name",
    TrustedTokenIssuerConfiguration = new TrustedTokenIssuerConfigurationProperty {
        OidcJwtConfiguration = new OidcJwtConfigurationProperty {
            ClaimAttributePath = "claimAttributePath",
            IdentityStoreAttributePath = "identityStoreAttributePath",
            IssuerUrl = "issuerUrl",
            JwksRetrievalOption = "jwksRetrievalOption"
        }
    },
    TrustedTokenIssuerType = "trustedTokenIssuerType",

    // the properties below are optional
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnTrustedTokenIssuerProps := &CfnTrustedTokenIssuerProps{
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),
	TrustedTokenIssuerConfiguration: &TrustedTokenIssuerConfigurationProperty{
		OidcJwtConfiguration: &OidcJwtConfigurationProperty{
			ClaimAttributePath: jsii.String("claimAttributePath"),
			IdentityStoreAttributePath: jsii.String("identityStoreAttributePath"),
			IssuerUrl: jsii.String("issuerUrl"),
			JwksRetrievalOption: jsii.String("jwksRetrievalOption"),
		},
	},
	TrustedTokenIssuerType: jsii.String("trustedTokenIssuerType"),

	// the properties below are optional
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `instanceArn`: string (required) — The ARN of the IAM Identity Center instance.

- `name`: string (required) — The name of the trusted token issuer configuration.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A list of tags to attach to the trusted token issuer.

- `trustedTokenIssuerConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTrustedTokenIssuer.TrustedTokenIssuerConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_sso.CfnTrustedTokenIssuer.TrustedTokenIssuerConfigurationProperty.html) (required) — The configuration of a trusted token issuer.

- `trustedTokenIssuerType`: string (required) — The type of the trusted token issuer.
