Skip to content
v2.278.0

FeaturePlan Enum ​

The user pool feature plan, or tier.

Example ​

ts
new cognito.UserPool(this, 'myuserpool', {
  signInPolicy: {
    allowedFirstAuthFactors: { password: true },
  },
  featurePlan: cognito.FeaturePlan.LITE,
});
python
cognito.UserPool(self, "myuserpool",
    sign_in_policy=cognito.SignInPolicy(
        allowed_first_auth_factors=cognito.AllowedFirstAuthFactors(password=True)
    ),
    feature_plan=cognito.FeaturePlan.LITE
)
java
UserPool.Builder.create(this, "myuserpool")
        .signInPolicy(SignInPolicy.builder()
                .allowedFirstAuthFactors(AllowedFirstAuthFactors.builder().password(true).build())
                .build())
        .featurePlan(FeaturePlan.LITE)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
new UserPool(this, "myuserpool", new UserPoolProps {
    SignInPolicy = new SignInPolicy {
        AllowedFirstAuthFactors = new AllowedFirstAuthFactors { Password = true }
    },
    FeaturePlan = FeaturePlan.LITE
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
cognito.NewUserPool(this, jsii.String("myuserpool"), &UserPoolProps{
	SignInPolicy: &SignInPolicy{
		AllowedFirstAuthFactors: &AllowedFirstAuthFactors{
			Password: jsii.Boolean(true),
		},
	},
	FeaturePlan: cognito.FeaturePlan_LITE,
})

Members ​

MemberDescription
LITELite feature plan.
ESSENTIALSEssentials feature plan.
PLUSPlus feature plan.

Referenced by ​

  • UserPoolProps.featurePlanfeature_planfeaturePlanFeaturePlanFeaturePlan