package userpoolclient

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

Package userpoolclient provides an implementation of Cognito UserPoolClient - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html

Index

Types

type UserPoolClient

type UserPoolClient struct {
	StoredName  string
	ClientName  string
	CallBackURL string
	ClusterName string
	Purpose     string
	UserPoolID  string
}

UserPoolClient stores the state for a cloud formation cognito user pool client

func New

func New(purpose, clusterName, callBackURL, userPoolID string) *UserPoolClient

New returns an initialised cloud formation creator for a cognito user pool client

func (*UserPoolClient) Name

func (c *UserPoolClient) Name() string

Name returns the logical identifier of the resource

func (*UserPoolClient) NamedOutputs

func (c *UserPoolClient) NamedOutputs() map[string]cloudformation.Output

NamedOutputs returns the named outputs

func (*UserPoolClient) Ref

func (c *UserPoolClient) Ref() string

Ref returns a cloud formation intrinsic ref to the resource

func (*UserPoolClient) Resource

func (c *UserPoolClient) Resource() cloudformation.Resource

Resource returns the cloud formation resource for a cognito user pool client

Source Files

userpoolclient.go

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

Tools for package owners.