CfnIdentityProviderProps Struct
Properties for defining a CfnIdentityProvider.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as workspacesweb } from 'aws-cdk-lib';
const cfnIdentityProviderProps: workspacesweb.CfnIdentityProviderProps = {
identityProviderDetails: {
identityProviderDetailsKey: 'identityProviderDetails',
},
identityProviderName: 'identityProviderName',
identityProviderType: 'identityProviderType',
// the properties below are optional
portalArn: 'portalArn',
tags: [{
key: 'key',
value: 'value',
}],
};
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_workspacesweb as workspacesweb
cfn_identity_provider_props = workspacesweb.CfnIdentityProviderProps(
identity_provider_details={
"identity_provider_details_key": "identityProviderDetails"
},
identity_provider_name="identityProviderName",
identity_provider_type="identityProviderType",
# the properties below are optional
portal_arn="portalArn",
tags=[CfnTag(
key="key",
value="value"
)]
)
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.workspacesweb.*;
CfnIdentityProviderProps cfnIdentityProviderProps = CfnIdentityProviderProps.builder()
.identityProviderDetails(Map.of(
"identityProviderDetailsKey", "identityProviderDetails"))
.identityProviderName("identityProviderName")
.identityProviderType("identityProviderType")
// the properties below are optional
.portalArn("portalArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
// 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.WorkSpacesWeb;
var cfnIdentityProviderProps = new CfnIdentityProviderProps {
IdentityProviderDetails = new Dictionary<string, string> {
{ "identityProviderDetailsKey", "identityProviderDetails" }
},
IdentityProviderName = "identityProviderName",
IdentityProviderType = "identityProviderType",
// the properties below are optional
PortalArn = "portalArn",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
// 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"
cfnIdentityProviderProps := &CfnIdentityProviderProps{
IdentityProviderDetails: map[string]*string{
"identityProviderDetailsKey": jsii.String("identityProviderDetails"),
},
IdentityProviderName: jsii.String("identityProviderName"),
IdentityProviderType: jsii.String("identityProviderType"),
// the properties below are optional
PortalArn: jsii.String("portalArn"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
identityProviderDetailsIResolvable | { [key: string]: string }identity_provider_detailstyping.Union[IResolvable, typing.Mapping[str, str]]identityProviderDetailsIResolvableIdentityProviderDetailsIResolvableIdentityProviderDetailsinterface{} required #notes
For Google and Login with Amazon:
client_idclient_secretauthorize_scopesFor Facebook:
client_idclient_secretauthorize_scopesapi_versionFor Sign in with Apple:
client_idteam_idkey_idprivate_keyauthorize_scopesFor OIDC providers:
client_idclient_secretattributes_request_methodoidc_issuerauthorize_scopesauthorize_urlif not available from discovery URL specified by oidc_issuer keytoken_urlif not available from discovery URL specified by oidc_issuer keyattributes_urlif not available from discovery URL specified by oidc_issuer keyjwks_uriif not available from discovery URL specified by oidc_issuer keyFor SAML providers:
MetadataFileORMetadataURLIDPSignout(boolean) optionalIDPInit(boolean) optionalRequestSigningAlgorithm(string) optional - Only acceptsrsa-sha256EncryptedResponses(boolean) optional
identityProviderNamestringidentity_provider_namestridentityProviderNameStringIdentityProviderNamestringIdentityProviderName*string required #identityProviderTypestringidentity_provider_typestridentityProviderTypeStringIdentityProviderTypestringIdentityProviderType*string required #portalArnoptionalstringportal_arnoptionalstrportalArnoptionalStringPortalArnoptionalstringPortalArnoptional*string #