Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.cognito;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.cognito.IdentityPoolRoleAttachmentArgs;
import com.pulumi.aws.cognito.inputs.IdentityPoolRoleAttachmentState;
import com.pulumi.aws.cognito.outputs.IdentityPoolRoleAttachmentRoleMapping;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Provides an AWS Cognito Identity Pool Roles Attachment.
*
* ## Import
*
* Using `pulumi import`, import Cognito Identity Pool Roles Attachment using the Identity Pool ID. For example:
*
* ```sh
* $ pulumi import aws:cognito/identityPoolRoleAttachment:IdentityPoolRoleAttachment example us-west-2:b64805ad-cb56-40ba-9ffc-f5d8207e6d42
* ```
*
*/
@ResourceType(type="aws:cognito/identityPoolRoleAttachment:IdentityPoolRoleAttachment")
public class IdentityPoolRoleAttachment extends com.pulumi.resources.CustomResource {
/**
* An identity pool ID in the format `REGION_GUID`.
*
*/
@Export(name="identityPoolId", refs={String.class}, tree="[0]")
private Output identityPoolId;
/**
* @return An identity pool ID in the format `REGION_GUID`.
*
*/
public Output identityPoolId() {
return this.identityPoolId;
}
/**
* A List of Role Mapping.
*
*/
@Export(name="roleMappings", refs={List.class,IdentityPoolRoleAttachmentRoleMapping.class}, tree="[0,1]")
private Output* @Nullable */ List> roleMappings;
/**
* @return A List of Role Mapping.
*
*/
public Output>> roleMappings() {
return Codegen.optional(this.roleMappings);
}
/**
* The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
*
*/
@Export(name="roles", refs={Map.class,String.class}, tree="[0,1,1]")
private Output