v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cognitoidentity.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "cognitoidentity.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	CognitoIdentityPoolProviderPrincipalTag_Kind             = "CognitoIdentityPoolProviderPrincipalTag"
	CognitoIdentityPoolProviderPrincipalTag_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: CognitoIdentityPoolProviderPrincipalTag_Kind}.String()
	CognitoIdentityPoolProviderPrincipalTag_KindAPIVersion   = CognitoIdentityPoolProviderPrincipalTag_Kind + "." + CRDGroupVersion.String()
	CognitoIdentityPoolProviderPrincipalTag_GroupVersionKind = CRDGroupVersion.WithKind(CognitoIdentityPoolProviderPrincipalTag_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Pool_Kind             = "Pool"
	Pool_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Pool_Kind}.String()
	Pool_KindAPIVersion   = Pool_Kind + "." + CRDGroupVersion.String()
	Pool_GroupVersionKind = CRDGroupVersion.WithKind(Pool_Kind)
)

Repository type metadata.

View Source
var (
	PoolRolesAttachment_Kind             = "PoolRolesAttachment"
	PoolRolesAttachment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: PoolRolesAttachment_Kind}.String()
	PoolRolesAttachment_KindAPIVersion   = PoolRolesAttachment_Kind + "." + CRDGroupVersion.String()
	PoolRolesAttachment_GroupVersionKind = CRDGroupVersion.WithKind(PoolRolesAttachment_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type CognitoIdentityPoolProviderPrincipalTag

type CognitoIdentityPoolProviderPrincipalTag struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CognitoIdentityPoolProviderPrincipalTagSpec   `json:"spec"`
	Status            CognitoIdentityPoolProviderPrincipalTagStatus `json:"status,omitempty"`
}

CognitoIdentityPoolProviderPrincipalTag is the Schema for the CognitoIdentityPoolProviderPrincipalTags API. Provides an AWS Cognito Identity Principal Mapping. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*CognitoIdentityPoolProviderPrincipalTag) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CognitoIdentityPoolProviderPrincipalTag) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CognitoIdentityPoolProviderPrincipalTag) GetCondition

GetCondition of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) GetConnectionDetailsMapping

func (tr *CognitoIdentityPoolProviderPrincipalTag) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTag) GetDeletionPolicy

GetDeletionPolicy of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) GetID

GetID returns ID of underlying Terraform resource of this CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTag) GetManagementPolicy

GetManagementPolicy of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) GetObservation

func (tr *CognitoIdentityPoolProviderPrincipalTag) GetObservation() (map[string]any, error)

GetObservation of this CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTag) GetParameters

func (tr *CognitoIdentityPoolProviderPrincipalTag) GetParameters() (map[string]any, error)

GetParameters of this CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTag) GetProviderConfigReference

func (mg *CognitoIdentityPoolProviderPrincipalTag) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) GetProviderReference

func (mg *CognitoIdentityPoolProviderPrincipalTag) GetProviderReference() *xpv1.Reference

GetProviderReference of this CognitoIdentityPoolProviderPrincipalTag. Deprecated: Use GetProviderConfigReference.

func (*CognitoIdentityPoolProviderPrincipalTag) GetPublishConnectionDetailsTo

func (mg *CognitoIdentityPoolProviderPrincipalTag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) GetTerraformResourceType

func (mg *CognitoIdentityPoolProviderPrincipalTag) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTag) GetTerraformSchemaVersion

func (tr *CognitoIdentityPoolProviderPrincipalTag) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*CognitoIdentityPoolProviderPrincipalTag) GetWriteConnectionSecretToReference

func (mg *CognitoIdentityPoolProviderPrincipalTag) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) LateInitialize

func (tr *CognitoIdentityPoolProviderPrincipalTag) LateInitialize(attrs []byte) (bool, error)

LateInitialize this CognitoIdentityPoolProviderPrincipalTag using its observed tfState. returns True if there are any spec changes for the resource.

func (*CognitoIdentityPoolProviderPrincipalTag) ResolveReferences

ResolveReferences of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) SetConditions

func (mg *CognitoIdentityPoolProviderPrincipalTag) SetConditions(c ...xpv1.Condition)

SetConditions of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) SetDeletionPolicy

SetDeletionPolicy of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) SetManagementPolicy

SetManagementPolicy of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) SetObservation

func (tr *CognitoIdentityPoolProviderPrincipalTag) SetObservation(obs map[string]any) error

SetObservation for this CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTag) SetParameters

func (tr *CognitoIdentityPoolProviderPrincipalTag) SetParameters(params map[string]any) error

SetParameters for this CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTag) SetProviderConfigReference

func (mg *CognitoIdentityPoolProviderPrincipalTag) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) SetProviderReference

func (mg *CognitoIdentityPoolProviderPrincipalTag) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CognitoIdentityPoolProviderPrincipalTag. Deprecated: Use SetProviderConfigReference.

func (*CognitoIdentityPoolProviderPrincipalTag) SetPublishConnectionDetailsTo

func (mg *CognitoIdentityPoolProviderPrincipalTag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTag) SetWriteConnectionSecretToReference

func (mg *CognitoIdentityPoolProviderPrincipalTag) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CognitoIdentityPoolProviderPrincipalTag.

type CognitoIdentityPoolProviderPrincipalTagList

type CognitoIdentityPoolProviderPrincipalTagList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CognitoIdentityPoolProviderPrincipalTag `json:"items"`
}

CognitoIdentityPoolProviderPrincipalTagList contains a list of CognitoIdentityPoolProviderPrincipalTags

func (*CognitoIdentityPoolProviderPrincipalTagList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityPoolProviderPrincipalTagList.

func (*CognitoIdentityPoolProviderPrincipalTagList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CognitoIdentityPoolProviderPrincipalTagList) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*CognitoIdentityPoolProviderPrincipalTagList) GetItems

GetItems of this CognitoIdentityPoolProviderPrincipalTagList.

type CognitoIdentityPoolProviderPrincipalTagObservation

type CognitoIdentityPoolProviderPrincipalTagObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity pool ID.
	IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`

	// The name of the identity provider.
	IdentityProviderName *string `json:"identityProviderName,omitempty" tf:"identity_provider_name,omitempty"`

	// String to string map of variables.
	PrincipalTags map[string]*string `json:"principalTags,omitempty" tf:"principal_tags,omitempty"`

	// :  use default (username and clientID) attribute mappings.
	UseDefaults *bool `json:"useDefaults,omitempty" tf:"use_defaults,omitempty"`
}

func (*CognitoIdentityPoolProviderPrincipalTagObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityPoolProviderPrincipalTagObservation.

func (*CognitoIdentityPoolProviderPrincipalTagObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CognitoIdentityPoolProviderPrincipalTagParameters

type CognitoIdentityPoolProviderPrincipalTagParameters struct {

	// An identity pool ID.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/cognitoidentity/v1beta1.Pool
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`

	// Reference to a Pool in cognitoidentity to populate identityPoolId.
	// +kubebuilder:validation:Optional
	IdentityPoolIDRef *v1.Reference `json:"identityPoolIdRef,omitempty" tf:"-"`

	// Selector for a Pool in cognitoidentity to populate identityPoolId.
	// +kubebuilder:validation:Optional
	IdentityPoolIDSelector *v1.Selector `json:"identityPoolIdSelector,omitempty" tf:"-"`

	// The name of the identity provider.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/cognitoidp/v1beta1.UserPool
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("endpoint",true)
	// +kubebuilder:validation:Optional
	IdentityProviderName *string `json:"identityProviderName,omitempty" tf:"identity_provider_name,omitempty"`

	// Reference to a UserPool in cognitoidp to populate identityProviderName.
	// +kubebuilder:validation:Optional
	IdentityProviderNameRef *v1.Reference `json:"identityProviderNameRef,omitempty" tf:"-"`

	// Selector for a UserPool in cognitoidp to populate identityProviderName.
	// +kubebuilder:validation:Optional
	IdentityProviderNameSelector *v1.Selector `json:"identityProviderNameSelector,omitempty" tf:"-"`

	// String to string map of variables.
	// +kubebuilder:validation:Optional
	PrincipalTags map[string]*string `json:"principalTags,omitempty" tf:"principal_tags,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// :  use default (username and clientID) attribute mappings.
	// +kubebuilder:validation:Optional
	UseDefaults *bool `json:"useDefaults,omitempty" tf:"use_defaults,omitempty"`
}

func (*CognitoIdentityPoolProviderPrincipalTagParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityPoolProviderPrincipalTagParameters.

func (*CognitoIdentityPoolProviderPrincipalTagParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CognitoIdentityPoolProviderPrincipalTagSpec

type CognitoIdentityPoolProviderPrincipalTagSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CognitoIdentityPoolProviderPrincipalTagParameters `json:"forProvider"`
}

CognitoIdentityPoolProviderPrincipalTagSpec defines the desired state of CognitoIdentityPoolProviderPrincipalTag

func (*CognitoIdentityPoolProviderPrincipalTagSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityPoolProviderPrincipalTagSpec.

func (*CognitoIdentityPoolProviderPrincipalTagSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CognitoIdentityPoolProviderPrincipalTagStatus

type CognitoIdentityPoolProviderPrincipalTagStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        CognitoIdentityPoolProviderPrincipalTagObservation `json:"atProvider,omitempty"`
}

CognitoIdentityPoolProviderPrincipalTagStatus defines the observed state of CognitoIdentityPoolProviderPrincipalTag.

func (*CognitoIdentityPoolProviderPrincipalTagStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityPoolProviderPrincipalTagStatus.

func (*CognitoIdentityPoolProviderPrincipalTagStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CognitoIdentityProvidersObservation

type CognitoIdentityProvidersObservation struct {

	// The client ID for the Amazon Cognito Identity User Pool.
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// The provider name for an Amazon Cognito Identity User Pool.
	ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"`

	// Whether server-side token validation is enabled for the identity provider’s token or not.
	ServerSideTokenCheck *bool `json:"serverSideTokenCheck,omitempty" tf:"server_side_token_check,omitempty"`
}

func (*CognitoIdentityProvidersObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityProvidersObservation.

func (*CognitoIdentityProvidersObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CognitoIdentityProvidersParameters

type CognitoIdentityProvidersParameters struct {

	// The client ID for the Amazon Cognito Identity User Pool.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/cognitoidp/v1beta1.UserPoolClient
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"`

	// Reference to a UserPoolClient in cognitoidp to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"`

	// Selector for a UserPoolClient in cognitoidp to populate clientId.
	// +kubebuilder:validation:Optional
	ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"`

	// The provider name for an Amazon Cognito Identity User Pool.
	// +kubebuilder:validation:Optional
	ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"`

	// Whether server-side token validation is enabled for the identity provider’s token or not.
	// +kubebuilder:validation:Optional
	ServerSideTokenCheck *bool `json:"serverSideTokenCheck,omitempty" tf:"server_side_token_check,omitempty"`
}

func (*CognitoIdentityProvidersParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CognitoIdentityProvidersParameters.

func (*CognitoIdentityProvidersParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MappingRuleObservation

type MappingRuleObservation struct {

	// The claim name that must be present in the token, for example, "isAdmin" or "paid".
	Claim *string `json:"claim,omitempty" tf:"claim,omitempty"`

	// The match condition that specifies how closely the claim value in the IdP token must match Value.
	MatchType *string `json:"matchType,omitempty" tf:"match_type,omitempty"`

	// The role ARN.
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// A brief string that the claim must match, for example, "paid" or "yes".
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*MappingRuleObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleObservation.

func (*MappingRuleObservation) DeepCopyInto

func (in *MappingRuleObservation) DeepCopyInto(out *MappingRuleObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MappingRuleParameters

type MappingRuleParameters struct {

	// The claim name that must be present in the token, for example, "isAdmin" or "paid".
	// +kubebuilder:validation:Required
	Claim *string `json:"claim" tf:"claim,omitempty"`

	// The match condition that specifies how closely the claim value in the IdP token must match Value.
	// +kubebuilder:validation:Required
	MatchType *string `json:"matchType" tf:"match_type,omitempty"`

	// The role ARN.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// A brief string that the claim must match, for example, "paid" or "yes".
	// +kubebuilder:validation:Required
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*MappingRuleParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleParameters.

func (*MappingRuleParameters) DeepCopyInto

func (in *MappingRuleParameters) DeepCopyInto(out *MappingRuleParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Pool

type Pool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.identityPoolName)",message="identityPoolName is a required parameter"
	Spec   PoolSpec   `json:"spec"`
	Status PoolStatus `json:"status,omitempty"`
}

Pool is the Schema for the Pools API. Provides an AWS Cognito Identity Pool. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Pool) DeepCopy

func (in *Pool) DeepCopy() *Pool

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Pool.

func (*Pool) DeepCopyInto

func (in *Pool) DeepCopyInto(out *Pool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Pool) DeepCopyObject

func (in *Pool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Pool) GetCondition

func (mg *Pool) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Pool.

func (*Pool) GetConnectionDetailsMapping

func (tr *Pool) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Pool

func (*Pool) GetDeletionPolicy

func (mg *Pool) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Pool.

func (*Pool) GetID

func (tr *Pool) GetID() string

GetID returns ID of underlying Terraform resource of this Pool

func (*Pool) GetManagementPolicy

func (mg *Pool) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Pool.

func (*Pool) GetObservation

func (tr *Pool) GetObservation() (map[string]any, error)

GetObservation of this Pool

func (*Pool) GetParameters

func (tr *Pool) GetParameters() (map[string]any, error)

GetParameters of this Pool

func (*Pool) GetProviderConfigReference

func (mg *Pool) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Pool.

func (*Pool) GetProviderReference

func (mg *Pool) GetProviderReference() *xpv1.Reference

GetProviderReference of this Pool. Deprecated: Use GetProviderConfigReference.

func (*Pool) GetPublishConnectionDetailsTo

func (mg *Pool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Pool.

func (*Pool) GetTerraformResourceType

func (mg *Pool) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Pool

func (*Pool) GetTerraformSchemaVersion

func (tr *Pool) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Pool) GetWriteConnectionSecretToReference

func (mg *Pool) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Pool.

func (*Pool) LateInitialize

func (tr *Pool) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Pool using its observed tfState. returns True if there are any spec changes for the resource.

func (*Pool) ResolveReferences

func (mg *Pool) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Pool.

func (*Pool) SetConditions

func (mg *Pool) SetConditions(c ...xpv1.Condition)

SetConditions of this Pool.

func (*Pool) SetDeletionPolicy

func (mg *Pool) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Pool.

func (*Pool) SetManagementPolicy

func (mg *Pool) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Pool.

func (*Pool) SetObservation

func (tr *Pool) SetObservation(obs map[string]any) error

SetObservation for this Pool

func (*Pool) SetParameters

func (tr *Pool) SetParameters(params map[string]any) error

SetParameters for this Pool

func (*Pool) SetProviderConfigReference

func (mg *Pool) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Pool.

func (*Pool) SetProviderReference

func (mg *Pool) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Pool. Deprecated: Use SetProviderConfigReference.

func (*Pool) SetPublishConnectionDetailsTo

func (mg *Pool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Pool.

func (*Pool) SetWriteConnectionSecretToReference

func (mg *Pool) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Pool.

type PoolList

type PoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Pool `json:"items"`
}

PoolList contains a list of Pools

func (*PoolList) DeepCopy

func (in *PoolList) DeepCopy() *PoolList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolList.

func (*PoolList) DeepCopyInto

func (in *PoolList) DeepCopyInto(out *PoolList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PoolList) DeepCopyObject

func (in *PoolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PoolList) GetItems

func (l *PoolList) GetItems() []resource.Managed

GetItems of this PoolList.

type PoolObservation

type PoolObservation struct {

	// Enables or disables the classic / basic authentication flow. Default is false.
	AllowClassicFlow *bool `json:"allowClassicFlow,omitempty" tf:"allow_classic_flow,omitempty"`

	// Whether the identity pool supports unauthenticated logins or not.
	AllowUnauthenticatedIdentities *bool `json:"allowUnauthenticatedIdentities,omitempty" tf:"allow_unauthenticated_identities,omitempty"`

	// The ARN of the identity pool.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// An array of Amazon Cognito Identity user pools and their client IDs.
	CognitoIdentityProviders []CognitoIdentityProvidersObservation `json:"cognitoIdentityProviders,omitempty" tf:"cognito_identity_providers,omitempty"`

	// The "domain" by which Cognito will refer to your users. This name acts as a placeholder that allows your
	// backend and the Cognito service to communicate about the developer provider.
	DeveloperProviderName *string `json:"developerProviderName,omitempty" tf:"developer_provider_name,omitempty"`

	// An identity pool ID, e.g. us-west-2_abc123.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Cognito Identity Pool name.
	IdentityPoolName *string `json:"identityPoolName,omitempty" tf:"identity_pool_name,omitempty"`

	// Set of OpendID Connect provider ARNs.
	OpenIDConnectProviderArns []*string `json:"openidConnectProviderArns,omitempty" tf:"openid_connect_provider_arns,omitempty"`

	// An array of Amazon Resource Names (ARNs) of the SAML provider for your identity.
	SAMLProviderArns []*string `json:"samlProviderArns,omitempty" tf:"saml_provider_arns,omitempty"`

	// Key-Value pairs mapping provider names to provider app IDs.
	SupportedLoginProviders map[string]*string `json:"supportedLoginProviders,omitempty" tf:"supported_login_providers,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*PoolObservation) DeepCopy

func (in *PoolObservation) DeepCopy() *PoolObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolObservation.

func (*PoolObservation) DeepCopyInto

func (in *PoolObservation) DeepCopyInto(out *PoolObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoolParameters

type PoolParameters struct {

	// Enables or disables the classic / basic authentication flow. Default is false.
	// +kubebuilder:validation:Optional
	AllowClassicFlow *bool `json:"allowClassicFlow,omitempty" tf:"allow_classic_flow,omitempty"`

	// Whether the identity pool supports unauthenticated logins or not.
	// +kubebuilder:validation:Optional
	AllowUnauthenticatedIdentities *bool `json:"allowUnauthenticatedIdentities,omitempty" tf:"allow_unauthenticated_identities,omitempty"`

	// An array of Amazon Cognito Identity user pools and their client IDs.
	// +kubebuilder:validation:Optional
	CognitoIdentityProviders []CognitoIdentityProvidersParameters `json:"cognitoIdentityProviders,omitempty" tf:"cognito_identity_providers,omitempty"`

	// The "domain" by which Cognito will refer to your users. This name acts as a placeholder that allows your
	// backend and the Cognito service to communicate about the developer provider.
	// +kubebuilder:validation:Optional
	DeveloperProviderName *string `json:"developerProviderName,omitempty" tf:"developer_provider_name,omitempty"`

	// The Cognito Identity Pool name.
	// +kubebuilder:validation:Optional
	IdentityPoolName *string `json:"identityPoolName,omitempty" tf:"identity_pool_name,omitempty"`

	// Set of OpendID Connect provider ARNs.
	// +kubebuilder:validation:Optional
	OpenIDConnectProviderArns []*string `json:"openidConnectProviderArns,omitempty" tf:"openid_connect_provider_arns,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// An array of Amazon Resource Names (ARNs) of the SAML provider for your identity.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.SAMLProvider
	// +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	SAMLProviderArns []*string `json:"samlProviderArns,omitempty" tf:"saml_provider_arns,omitempty"`

	// References to SAMLProvider in iam to populate samlProviderArns.
	// +kubebuilder:validation:Optional
	SAMLProviderArnsRefs []v1.Reference `json:"samlProviderArnsRefs,omitempty" tf:"-"`

	// Selector for a list of SAMLProvider in iam to populate samlProviderArns.
	// +kubebuilder:validation:Optional
	SAMLProviderArnsSelector *v1.Selector `json:"samlProviderArnsSelector,omitempty" tf:"-"`

	// Key-Value pairs mapping provider names to provider app IDs.
	// +kubebuilder:validation:Optional
	SupportedLoginProviders map[string]*string `json:"supportedLoginProviders,omitempty" tf:"supported_login_providers,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*PoolParameters) DeepCopy

func (in *PoolParameters) DeepCopy() *PoolParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolParameters.

func (*PoolParameters) DeepCopyInto

func (in *PoolParameters) DeepCopyInto(out *PoolParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoolRolesAttachment

type PoolRolesAttachment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.roles)",message="roles is a required parameter"
	Spec   PoolRolesAttachmentSpec   `json:"spec"`
	Status PoolRolesAttachmentStatus `json:"status,omitempty"`
}

PoolRolesAttachment is the Schema for the PoolRolesAttachments API. Provides an AWS Cognito Identity Pool Roles Attachment. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*PoolRolesAttachment) DeepCopy

func (in *PoolRolesAttachment) DeepCopy() *PoolRolesAttachment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolRolesAttachment.

func (*PoolRolesAttachment) DeepCopyInto

func (in *PoolRolesAttachment) DeepCopyInto(out *PoolRolesAttachment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PoolRolesAttachment) DeepCopyObject

func (in *PoolRolesAttachment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PoolRolesAttachment) GetCondition

func (mg *PoolRolesAttachment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this PoolRolesAttachment.

func (*PoolRolesAttachment) GetConnectionDetailsMapping

func (tr *PoolRolesAttachment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this PoolRolesAttachment

func (*PoolRolesAttachment) GetDeletionPolicy

func (mg *PoolRolesAttachment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this PoolRolesAttachment.

func (*PoolRolesAttachment) GetID

func (tr *PoolRolesAttachment) GetID() string

GetID returns ID of underlying Terraform resource of this PoolRolesAttachment

func (*PoolRolesAttachment) GetManagementPolicy

func (mg *PoolRolesAttachment) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this PoolRolesAttachment.

func (*PoolRolesAttachment) GetObservation

func (tr *PoolRolesAttachment) GetObservation() (map[string]any, error)

GetObservation of this PoolRolesAttachment

func (*PoolRolesAttachment) GetParameters

func (tr *PoolRolesAttachment) GetParameters() (map[string]any, error)

GetParameters of this PoolRolesAttachment

func (*PoolRolesAttachment) GetProviderConfigReference

func (mg *PoolRolesAttachment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this PoolRolesAttachment.

func (*PoolRolesAttachment) GetProviderReference

func (mg *PoolRolesAttachment) GetProviderReference() *xpv1.Reference

GetProviderReference of this PoolRolesAttachment. Deprecated: Use GetProviderConfigReference.

func (*PoolRolesAttachment) GetPublishConnectionDetailsTo

func (mg *PoolRolesAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this PoolRolesAttachment.

func (*PoolRolesAttachment) GetTerraformResourceType

func (mg *PoolRolesAttachment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this PoolRolesAttachment

func (*PoolRolesAttachment) GetTerraformSchemaVersion

func (tr *PoolRolesAttachment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*PoolRolesAttachment) GetWriteConnectionSecretToReference

func (mg *PoolRolesAttachment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this PoolRolesAttachment.

func (*PoolRolesAttachment) LateInitialize

func (tr *PoolRolesAttachment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this PoolRolesAttachment using its observed tfState. returns True if there are any spec changes for the resource.

func (*PoolRolesAttachment) ResolveReferences

func (mg *PoolRolesAttachment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this PoolRolesAttachment.

func (*PoolRolesAttachment) SetConditions

func (mg *PoolRolesAttachment) SetConditions(c ...xpv1.Condition)

SetConditions of this PoolRolesAttachment.

func (*PoolRolesAttachment) SetDeletionPolicy

func (mg *PoolRolesAttachment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this PoolRolesAttachment.

func (*PoolRolesAttachment) SetManagementPolicy

func (mg *PoolRolesAttachment) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this PoolRolesAttachment.

func (*PoolRolesAttachment) SetObservation

func (tr *PoolRolesAttachment) SetObservation(obs map[string]any) error

SetObservation for this PoolRolesAttachment

func (*PoolRolesAttachment) SetParameters

func (tr *PoolRolesAttachment) SetParameters(params map[string]any) error

SetParameters for this PoolRolesAttachment

func (*PoolRolesAttachment) SetProviderConfigReference

func (mg *PoolRolesAttachment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this PoolRolesAttachment.

func (*PoolRolesAttachment) SetProviderReference

func (mg *PoolRolesAttachment) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this PoolRolesAttachment. Deprecated: Use SetProviderConfigReference.

func (*PoolRolesAttachment) SetPublishConnectionDetailsTo

func (mg *PoolRolesAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this PoolRolesAttachment.

func (*PoolRolesAttachment) SetWriteConnectionSecretToReference

func (mg *PoolRolesAttachment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this PoolRolesAttachment.

type PoolRolesAttachmentList

type PoolRolesAttachmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PoolRolesAttachment `json:"items"`
}

PoolRolesAttachmentList contains a list of PoolRolesAttachments

func (*PoolRolesAttachmentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolRolesAttachmentList.

func (*PoolRolesAttachmentList) DeepCopyInto

func (in *PoolRolesAttachmentList) DeepCopyInto(out *PoolRolesAttachmentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PoolRolesAttachmentList) DeepCopyObject

func (in *PoolRolesAttachmentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PoolRolesAttachmentList) GetItems

func (l *PoolRolesAttachmentList) GetItems() []resource.Managed

GetItems of this PoolRolesAttachmentList.

type PoolRolesAttachmentObservation

type PoolRolesAttachmentObservation struct {

	// The identity pool ID.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// An identity pool ID in the format REGION_GUID.
	IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`

	// A List of Role Mapping.
	RoleMapping []RoleMappingObservation `json:"roleMapping,omitempty" tf:"role_mapping,omitempty"`

	// The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
	Roles map[string]*string `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*PoolRolesAttachmentObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolRolesAttachmentObservation.

func (*PoolRolesAttachmentObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoolRolesAttachmentParameters

type PoolRolesAttachmentParameters struct {

	// An identity pool ID in the format REGION_GUID.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/cognitoidentity/v1beta1.Pool
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	IdentityPoolID *string `json:"identityPoolId,omitempty" tf:"identity_pool_id,omitempty"`

	// Reference to a Pool in cognitoidentity to populate identityPoolId.
	// +kubebuilder:validation:Optional
	IdentityPoolIDRef *v1.Reference `json:"identityPoolIdRef,omitempty" tf:"-"`

	// Selector for a Pool in cognitoidentity to populate identityPoolId.
	// +kubebuilder:validation:Optional
	IdentityPoolIDSelector *v1.Selector `json:"identityPoolIdSelector,omitempty" tf:"-"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// A List of Role Mapping.
	// +kubebuilder:validation:Optional
	RoleMapping []RoleMappingParameters `json:"roleMapping,omitempty" tf:"role_mapping,omitempty"`

	// The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
	// +kubebuilder:validation:Optional
	Roles map[string]*string `json:"roles,omitempty" tf:"roles,omitempty"`
}

func (*PoolRolesAttachmentParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolRolesAttachmentParameters.

func (*PoolRolesAttachmentParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoolRolesAttachmentSpec

type PoolRolesAttachmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PoolRolesAttachmentParameters `json:"forProvider"`
}

PoolRolesAttachmentSpec defines the desired state of PoolRolesAttachment

func (*PoolRolesAttachmentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolRolesAttachmentSpec.

func (*PoolRolesAttachmentSpec) DeepCopyInto

func (in *PoolRolesAttachmentSpec) DeepCopyInto(out *PoolRolesAttachmentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoolRolesAttachmentStatus

type PoolRolesAttachmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        PoolRolesAttachmentObservation `json:"atProvider,omitempty"`
}

PoolRolesAttachmentStatus defines the observed state of PoolRolesAttachment.

func (*PoolRolesAttachmentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolRolesAttachmentStatus.

func (*PoolRolesAttachmentStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoolSpec

type PoolSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PoolParameters `json:"forProvider"`
}

PoolSpec defines the desired state of Pool

func (*PoolSpec) DeepCopy

func (in *PoolSpec) DeepCopy() *PoolSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolSpec.

func (*PoolSpec) DeepCopyInto

func (in *PoolSpec) DeepCopyInto(out *PoolSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PoolStatus

type PoolStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        PoolObservation `json:"atProvider,omitempty"`
}

PoolStatus defines the observed state of Pool.

func (*PoolStatus) DeepCopy

func (in *PoolStatus) DeepCopy() *PoolStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PoolStatus.

func (*PoolStatus) DeepCopyInto

func (in *PoolStatus) DeepCopyInto(out *PoolStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RoleMappingObservation

type RoleMappingObservation struct {

	// Specifies the action to be taken if either no rules match the claim value for the Rules type, or there is no cognito:preferred_role claim and there are multiple cognito:roles matches for the Token type. Required if you specify Token or Rules as the Type.
	AmbiguousRoleResolution *string `json:"ambiguousRoleResolution,omitempty" tf:"ambiguous_role_resolution,omitempty"`

	// A string identifying the identity provider, for example, "graph.facebook.com" or "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". Depends on cognito_identity_providers set on aws_cognito_identity_pool resource or a aws_cognito_identity_provider resource.
	IdentityProvider *string `json:"identityProvider,omitempty" tf:"identity_provider,omitempty"`

	// The Rules Configuration to be used for mapping users to roles. You can specify up to 25 rules per identity provider. Rules are evaluated in order. The first one to match specifies the role.
	MappingRule []MappingRuleObservation `json:"mappingRule,omitempty" tf:"mapping_rule,omitempty"`

	// The role mapping type.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*RoleMappingObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMappingObservation.

func (*RoleMappingObservation) DeepCopyInto

func (in *RoleMappingObservation) DeepCopyInto(out *RoleMappingObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RoleMappingParameters

type RoleMappingParameters struct {

	// Specifies the action to be taken if either no rules match the claim value for the Rules type, or there is no cognito:preferred_role claim and there are multiple cognito:roles matches for the Token type. Required if you specify Token or Rules as the Type.
	// +kubebuilder:validation:Optional
	AmbiguousRoleResolution *string `json:"ambiguousRoleResolution,omitempty" tf:"ambiguous_role_resolution,omitempty"`

	// A string identifying the identity provider, for example, "graph.facebook.com" or "cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id". Depends on cognito_identity_providers set on aws_cognito_identity_pool resource or a aws_cognito_identity_provider resource.
	// +kubebuilder:validation:Required
	IdentityProvider *string `json:"identityProvider" tf:"identity_provider,omitempty"`

	// The Rules Configuration to be used for mapping users to roles. You can specify up to 25 rules per identity provider. Rules are evaluated in order. The first one to match specifies the role.
	// +kubebuilder:validation:Optional
	MappingRule []MappingRuleParameters `json:"mappingRule,omitempty" tf:"mapping_rule,omitempty"`

	// The role mapping type.
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*RoleMappingParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleMappingParameters.

func (*RoleMappingParameters) DeepCopyInto

func (in *RoleMappingParameters) DeepCopyInto(out *RoleMappingParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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