CfnTrustedTokenIssuerProps Struct
Properties for defining a CfnTrustedTokenIssuer.
| Source |
|---|
Example
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
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
// 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();
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"
} }
};
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
The ARN of the IAM Identity Center instance.
The name of the trusted token issuer configuration.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #A list of tags to attach to the trusted token issuer.
trustedTokenIssuerConfigurationIResolvable | CfnTrustedTokenIssuer.trusted_token_issuer_configurationtyping.Union[IResolvable, TrustedTokenIssuerConfigurationProperty]trustedTokenIssuerConfigurationIResolvableTrustedTokenIssuerConfigurationIResolvableTrustedTokenIssuerConfigurationinterface{} required #The configuration of a trusted token issuer.
trustedTokenIssuerTypestringtrusted_token_issuer_typestrtrustedTokenIssuerTypeStringTrustedTokenIssuerTypestringTrustedTokenIssuerType*string required #The type of the trusted token issuer.