package userpool

import "github.com/oslokommune/okctl/pkg/cfn/components/userpool"

Package userpool implements the AWS Cognito UserPool - https://docs.amazonaws.cn/en_us/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html

Index

Types

type UserPool

type UserPool struct {
	StoredName  string
	PoolName    string
	ClusterName string
}

UserPool stores the state for a cloud formation cognito user pool

func New

func New(clusterName string) *UserPool

New returns an initialised cognito user pool

func (*UserPool) Name

func (p *UserPool) Name() string

Name returns the logical identifier of the resource

func (*UserPool) NamedOutputs

func (p *UserPool) NamedOutputs() map[string]cloudformation.Output

NamedOutputs returns the named outputs

func (*UserPool) Ref

func (p *UserPool) Ref() string

Ref returns a cloud formation intrinsic ref to the resource

func (*UserPool) Resource

func (p *UserPool) Resource() cloudformation.Resource

Resource returns the cloud formation resource for a cognito user pool nolint: funlen

Source Files

userpool.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
3 packages
Last checked
18 hours ago

Tools for package owners.