Interface CfnIdentitySource.IIdentitySourceConfigurationProperty
A structure that contains configuration information used when creating or updating a new identity source.
Namespace: Amazon.CDK.AwsVerifiedpermissions
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IIdentitySourceConfigurationProperty
Syntax (vb)
Public Interface IIdentitySourceConfigurationProperty
Remarks
At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.
You must specify a userPoolArn
, and optionally, a ClientId
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Aws_verifiedpermissions;
var identitySourceConfigurationProperty = new IdentitySourceConfigurationProperty {
CognitoUserPoolConfiguration = new CognitoUserPoolConfigurationProperty {
UserPoolArn = "userPoolArn",
// the properties below are optional
ClientIds = new [] { "clientIds" },
GroupConfiguration = new CognitoGroupConfigurationProperty {
GroupEntityType = "groupEntityType"
}
},
OpenIdConnectConfiguration = new OpenIdConnectConfigurationProperty {
Issuer = "issuer",
TokenSelection = new OpenIdConnectTokenSelectionProperty {
AccessTokenOnly = new OpenIdConnectAccessTokenConfigurationProperty {
Audiences = new [] { "audiences" },
PrincipalIdClaim = "principalIdClaim"
},
IdentityTokenOnly = new OpenIdConnectIdentityTokenConfigurationProperty {
ClientIds = new [] { "clientIds" },
PrincipalIdClaim = "principalIdClaim"
}
},
// the properties below are optional
EntityIdPrefix = "entityIdPrefix",
GroupConfiguration = new OpenIdConnectGroupConfigurationProperty {
GroupClaim = "groupClaim",
GroupEntityType = "groupEntityType"
}
}
};
Synopsis
Properties
Cognito |
A structure that contains configuration information used when creating or updating an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions . |
Open |
Properties
CognitoUserPoolConfiguration
A structure that contains configuration information used when creating or updating an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions .
virtual object CognitoUserPoolConfiguration { get; }
Property Value
System.
Remarks
OpenIdConnectConfiguration
virtual object OpenIdConnectConfiguration { get; }
Property Value
System.