aws_cognito_user_pool_client

package
v5.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyticsConfiguration

type AnalyticsConfiguration struct {
	// ApplicationArn: string, optional
	ApplicationArn terra.StringValue `hcl:"application_arn,attr"`
	// ApplicationId: string, optional
	ApplicationId terra.StringValue `hcl:"application_id,attr"`
	// ExternalId: string, optional
	ExternalId terra.StringValue `hcl:"external_id,attr"`
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,attr"`
	// UserDataShared: bool, optional
	UserDataShared terra.BoolValue `hcl:"user_data_shared,attr"`
}

type AnalyticsConfigurationAttributes

type AnalyticsConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (AnalyticsConfigurationAttributes) ApplicationArn

func (AnalyticsConfigurationAttributes) ApplicationId

func (AnalyticsConfigurationAttributes) ExternalId

func (AnalyticsConfigurationAttributes) InternalRef

func (AnalyticsConfigurationAttributes) InternalTokens

func (ac AnalyticsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AnalyticsConfigurationAttributes) InternalWithRef

func (AnalyticsConfigurationAttributes) RoleArn

func (AnalyticsConfigurationAttributes) UserDataShared

func (ac AnalyticsConfigurationAttributes) UserDataShared() terra.BoolValue

type AnalyticsConfigurationState

type AnalyticsConfigurationState struct {
	ApplicationArn string `json:"application_arn"`
	ApplicationId  string `json:"application_id"`
	ExternalId     string `json:"external_id"`
	RoleArn        string `json:"role_arn"`
	UserDataShared bool   `json:"user_data_shared"`
}

type Args

type Args struct {
	// AccessTokenValidity: number, optional
	AccessTokenValidity terra.NumberValue `hcl:"access_token_validity,attr"`
	// AllowedOauthFlows: set of string, optional
	AllowedOauthFlows terra.SetValue[terra.StringValue] `hcl:"allowed_oauth_flows,attr"`
	// AllowedOauthFlowsUserPoolClient: bool, optional
	AllowedOauthFlowsUserPoolClient terra.BoolValue `hcl:"allowed_oauth_flows_user_pool_client,attr"`
	// AllowedOauthScopes: set of string, optional
	AllowedOauthScopes terra.SetValue[terra.StringValue] `hcl:"allowed_oauth_scopes,attr"`
	// AuthSessionValidity: number, optional
	AuthSessionValidity terra.NumberValue `hcl:"auth_session_validity,attr"`
	// CallbackUrls: set of string, optional
	CallbackUrls terra.SetValue[terra.StringValue] `hcl:"callback_urls,attr"`
	// DefaultRedirectUri: string, optional
	DefaultRedirectUri terra.StringValue `hcl:"default_redirect_uri,attr"`
	// EnablePropagateAdditionalUserContextData: bool, optional
	EnablePropagateAdditionalUserContextData terra.BoolValue `hcl:"enable_propagate_additional_user_context_data,attr"`
	// EnableTokenRevocation: bool, optional
	EnableTokenRevocation terra.BoolValue `hcl:"enable_token_revocation,attr"`
	// ExplicitAuthFlows: set of string, optional
	ExplicitAuthFlows terra.SetValue[terra.StringValue] `hcl:"explicit_auth_flows,attr"`
	// GenerateSecret: bool, optional
	GenerateSecret terra.BoolValue `hcl:"generate_secret,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IdTokenValidity: number, optional
	IdTokenValidity terra.NumberValue `hcl:"id_token_validity,attr"`
	// LogoutUrls: set of string, optional
	LogoutUrls terra.SetValue[terra.StringValue] `hcl:"logout_urls,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PreventUserExistenceErrors: string, optional
	PreventUserExistenceErrors terra.StringValue `hcl:"prevent_user_existence_errors,attr"`
	// ReadAttributes: set of string, optional
	ReadAttributes terra.SetValue[terra.StringValue] `hcl:"read_attributes,attr"`
	// RefreshTokenValidity: number, optional
	RefreshTokenValidity terra.NumberValue `hcl:"refresh_token_validity,attr"`
	// SupportedIdentityProviders: set of string, optional
	SupportedIdentityProviders terra.SetValue[terra.StringValue] `hcl:"supported_identity_providers,attr"`
	// UserPoolId: string, required
	UserPoolId terra.StringValue `hcl:"user_pool_id,attr" validate:"required"`
	// WriteAttributes: set of string, optional
	WriteAttributes terra.SetValue[terra.StringValue] `hcl:"write_attributes,attr"`
	// AnalyticsConfiguration: optional
	AnalyticsConfiguration *AnalyticsConfiguration `hcl:"analytics_configuration,block"`
	// TokenValidityUnits: optional
	TokenValidityUnits *TokenValidityUnits `hcl:"token_validity_units,block"`
}

Args contains the configurations for aws_cognito_user_pool_client.

type DataAnalyticsConfigurationAttributes

type DataAnalyticsConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (DataAnalyticsConfigurationAttributes) ApplicationArn

func (DataAnalyticsConfigurationAttributes) ApplicationId

func (DataAnalyticsConfigurationAttributes) ExternalId

func (DataAnalyticsConfigurationAttributes) InternalRef

func (DataAnalyticsConfigurationAttributes) InternalTokens

func (DataAnalyticsConfigurationAttributes) InternalWithRef

func (DataAnalyticsConfigurationAttributes) RoleArn

func (DataAnalyticsConfigurationAttributes) UserDataShared

type DataAnalyticsConfigurationState

type DataAnalyticsConfigurationState struct {
	ApplicationArn string `json:"application_arn"`
	ApplicationId  string `json:"application_id"`
	ExternalId     string `json:"external_id"`
	RoleArn        string `json:"role_arn"`
	UserDataShared bool   `json:"user_data_shared"`
}

type DataArgs

type DataArgs struct {
	// ClientId: string, required
	ClientId terra.StringValue `hcl:"client_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// UserPoolId: string, required
	UserPoolId terra.StringValue `hcl:"user_pool_id,attr" validate:"required"`
}

DataArgs contains the configurations for aws_cognito_user_pool_client.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_cognito_user_pool_client.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (acupc *DataSource) Attributes() dataAwsCognitoUserPoolClientAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (acupc *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (acupc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (acupc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTokenValidityUnitsAttributes

type DataTokenValidityUnitsAttributes struct {
	// contains filtered or unexported fields
}

func (DataTokenValidityUnitsAttributes) AccessToken

func (DataTokenValidityUnitsAttributes) IdToken

func (DataTokenValidityUnitsAttributes) InternalRef

func (DataTokenValidityUnitsAttributes) InternalTokens

func (tvu DataTokenValidityUnitsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataTokenValidityUnitsAttributes) InternalWithRef

func (DataTokenValidityUnitsAttributes) RefreshToken

type DataTokenValidityUnitsState

type DataTokenValidityUnitsState struct {
	AccessToken  string `json:"access_token"`
	IdToken      string `json:"id_token"`
	RefreshToken string `json:"refresh_token"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_cognito_user_pool_client.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acupc *Resource) Attributes() awsCognitoUserPoolClientAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (acupc *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (acupc *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (acupc *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (acupc *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (acupc *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acupc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acupc *Resource) State() (*awsCognitoUserPoolClientState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (acupc *Resource) StateMust() *awsCognitoUserPoolClientState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (acupc *Resource) Type() string

Type returns the Terraform object type for Resource.

type TokenValidityUnits

type TokenValidityUnits struct {
	// AccessToken: string, optional
	AccessToken terra.StringValue `hcl:"access_token,attr"`
	// IdToken: string, optional
	IdToken terra.StringValue `hcl:"id_token,attr"`
	// RefreshToken: string, optional
	RefreshToken terra.StringValue `hcl:"refresh_token,attr"`
}

type TokenValidityUnitsAttributes

type TokenValidityUnitsAttributes struct {
	// contains filtered or unexported fields
}

func (TokenValidityUnitsAttributes) AccessToken

func (TokenValidityUnitsAttributes) IdToken

func (TokenValidityUnitsAttributes) InternalRef

func (tvu TokenValidityUnitsAttributes) InternalRef() (terra.Reference, error)

func (TokenValidityUnitsAttributes) InternalTokens

func (tvu TokenValidityUnitsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TokenValidityUnitsAttributes) InternalWithRef

func (TokenValidityUnitsAttributes) RefreshToken

func (tvu TokenValidityUnitsAttributes) RefreshToken() terra.StringValue

type TokenValidityUnitsState

type TokenValidityUnitsState struct {
	AccessToken  string `json:"access_token"`
	IdToken      string `json:"id_token"`
	RefreshToken string `json:"refresh_token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL