@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.618Z") @Stability(value=Stable) public interface CfnIdentityPoolRoleAttachmentProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;
Object roles;
CfnIdentityPoolRoleAttachmentProps cfnIdentityPoolRoleAttachmentProps = CfnIdentityPoolRoleAttachmentProps.builder()
.identityPoolId("identityPoolId")
// the properties below are optional
.roleMappings(Map.of(
"roleMappingsKey", RoleMappingProperty.builder()
.type("type")
// the properties below are optional
.ambiguousRoleResolution("ambiguousRoleResolution")
.identityProvider("identityProvider")
.rulesConfiguration(RulesConfigurationTypeProperty.builder()
.rules(List.of(MappingRuleProperty.builder()
.claim("claim")
.matchType("matchType")
.roleArn("roleArn")
.value("value")
.build()))
.build())
.build()))
.roles(roles)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIdentityPoolRoleAttachmentProps.Builder
A builder for
CfnIdentityPoolRoleAttachmentProps |
static class |
CfnIdentityPoolRoleAttachmentProps.Jsii$Proxy
An implementation for
CfnIdentityPoolRoleAttachmentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnIdentityPoolRoleAttachmentProps.Builder |
builder() |
String |
getIdentityPoolId()
`AWS::Cognito::IdentityPoolRoleAttachment.IdentityPoolId`.
|
default Object |
getRoleMappings()
`AWS::Cognito::IdentityPoolRoleAttachment.RoleMappings`.
|
default Object |
getRoles()
`AWS::Cognito::IdentityPoolRoleAttachment.Roles`.
|
@Stability(value=Stable) @NotNull String getIdentityPoolId()
@Stability(value=Stable) @Nullable default Object getRoleMappings()
@Stability(value=Stable) @Nullable default Object getRoles()
@Stability(value=Stable) static CfnIdentityPoolRoleAttachmentProps.Builder builder()
Copyright © 2021. All rights reserved.