CfnIdentityPoolRoleAttachmentProps

class aws_cdk.aws_cognito.CfnIdentityPoolRoleAttachmentProps(*, identity_pool_id, role_mappings=None, roles=None)

Bases: object

__init__(*, identity_pool_id, role_mappings=None, roles=None)

Properties for defining a AWS::Cognito::IdentityPoolRoleAttachment.

Parameters
  • identity_pool_id (str) – AWS::Cognito::IdentityPoolRoleAttachment.IdentityPoolId.

  • role_mappings (Union[IResolvable, Mapping[str, Union[IResolvable, RoleMappingProperty]], None]) – AWS::Cognito::IdentityPoolRoleAttachment.RoleMappings.

  • roles (Optional[Any]) – AWS::Cognito::IdentityPoolRoleAttachment.Roles.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html

Return type

None

Attributes

identity_pool_id

AWS::Cognito::IdentityPoolRoleAttachment.IdentityPoolId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html#cfn-cognito-identitypoolroleattachment-identitypoolid

Return type

str

role_mappings

AWS::Cognito::IdentityPoolRoleAttachment.RoleMappings.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html#cfn-cognito-identitypoolroleattachment-rolemappings

Return type

Union[IResolvable, Mapping[str, Union[IResolvable, RoleMappingProperty]], None]

roles

AWS::Cognito::IdentityPoolRoleAttachment.Roles.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypoolroleattachment.html#cfn-cognito-identitypoolroleattachment-roles

Return type

Any