@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
42 lines (41 loc) • 1.95 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource Type definition for AWS::Cognito::IdentityPoolPrincipalTag
*/
export declare function getIdentityPoolPrincipalTag(args: GetIdentityPoolPrincipalTagArgs, opts?: pulumi.InvokeOptions): Promise<GetIdentityPoolPrincipalTagResult>;
export interface GetIdentityPoolPrincipalTagArgs {
/**
* The identity pool that you want to associate with this principal tag map.
*/
identityPoolId: string;
/**
* The identity pool identity provider (IdP) that you want to associate with this principal tag map.
*/
identityProviderName: string;
}
export interface GetIdentityPoolPrincipalTagResult {
/**
* A JSON-formatted list of user claims and the principal tags that you want to associate with them. When Amazon Cognito requests credentials, it sets the value of the principal tag to the value of the user's claim.
*
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::Cognito::IdentityPoolPrincipalTag` for more information about the expected schema for this property.
*/
readonly principalTags?: any;
/**
* Use a default set of mappings between claims and tags for this provider, instead of a custom map.
*/
readonly useDefaults?: boolean;
}
/**
* Resource Type definition for AWS::Cognito::IdentityPoolPrincipalTag
*/
export declare function getIdentityPoolPrincipalTagOutput(args: GetIdentityPoolPrincipalTagOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIdentityPoolPrincipalTagResult>;
export interface GetIdentityPoolPrincipalTagOutputArgs {
/**
* The identity pool that you want to associate with this principal tag map.
*/
identityPoolId: pulumi.Input<string>;
/**
* The identity pool identity provider (IdP) that you want to associate with this principal tag map.
*/
identityProviderName: pulumi.Input<string>;
}