v1beta2

package
v1.13.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=accessanalyzer.aws.upbound.io +versionName=v1beta2

Index

Constants

View Source
const (
	CRDGroup   = "accessanalyzer.aws.upbound.io"
	CRDVersion = "v1beta2"
)

Package type metadata.

Variables

View Source
var (
	Analyzer_Kind             = "Analyzer"
	Analyzer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Analyzer_Kind}.String()
	Analyzer_KindAPIVersion   = Analyzer_Kind + "." + CRDGroupVersion.String()
	Analyzer_GroupVersionKind = CRDGroupVersion.WithKind(Analyzer_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
)

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AnalyzerSpec   `json:"spec"`
	Status            AnalyzerStatus `json:"status,omitempty"`
}

Analyzer is the Schema for the Analyzers API. Manages an Access Analyzer Analyzer +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Analyzer) DeepCopy

func (in *Analyzer) DeepCopy() *Analyzer

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

func (*Analyzer) DeepCopyInto

func (in *Analyzer) DeepCopyInto(out *Analyzer)

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

func (*Analyzer) DeepCopyObject

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

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

func (*Analyzer) GetCondition

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

GetCondition of this Analyzer.

func (*Analyzer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Analyzer

func (*Analyzer) GetDeletionPolicy

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

GetDeletionPolicy of this Analyzer.

func (*Analyzer) GetID

func (tr *Analyzer) GetID() string

GetID returns ID of underlying Terraform resource of this Analyzer

func (*Analyzer) GetInitParameters

func (tr *Analyzer) GetInitParameters() (map[string]any, error)

GetInitParameters of this Analyzer

func (*Analyzer) GetManagementPolicies

func (mg *Analyzer) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Analyzer.

func (*Analyzer) GetMergedParameters

func (tr *Analyzer) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Analyzer

func (*Analyzer) GetObservation

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

GetObservation of this Analyzer

func (*Analyzer) GetParameters

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

GetParameters of this Analyzer

func (*Analyzer) GetProviderConfigReference

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

GetProviderConfigReference of this Analyzer.

func (*Analyzer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Analyzer.

func (*Analyzer) GetTerraformResourceType

func (mg *Analyzer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Analyzer

func (*Analyzer) GetTerraformSchemaVersion

func (tr *Analyzer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Analyzer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Analyzer.

func (*Analyzer) Hub

func (tr *Analyzer) Hub()

Hub marks this type as a conversion hub.

func (*Analyzer) LateInitialize

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

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

func (*Analyzer) SetConditions

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

SetConditions of this Analyzer.

func (*Analyzer) SetDeletionPolicy

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

SetDeletionPolicy of this Analyzer.

func (*Analyzer) SetManagementPolicies

func (mg *Analyzer) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Analyzer.

func (*Analyzer) SetObservation

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

SetObservation for this Analyzer

func (*Analyzer) SetParameters

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

SetParameters for this Analyzer

func (*Analyzer) SetProviderConfigReference

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

SetProviderConfigReference of this Analyzer.

func (*Analyzer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Analyzer.

func (*Analyzer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Analyzer.

type AnalyzerInitParameters

type AnalyzerInitParameters struct {

	// A block that specifies the configuration of the analyzer. Documented below
	Configuration *ConfigurationInitParameters `json:"configuration,omitempty" tf:"configuration,omitempty"`

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

	// Type of Analyzer. Valid values are ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS , ORGANIZATION_UNUSED_ACCESS. Defaults to ACCOUNT.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*AnalyzerInitParameters) DeepCopy

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

func (*AnalyzerInitParameters) DeepCopyInto

func (in *AnalyzerInitParameters) DeepCopyInto(out *AnalyzerInitParameters)

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

type AnalyzerList

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

AnalyzerList contains a list of Analyzers

func (*AnalyzerList) DeepCopy

func (in *AnalyzerList) DeepCopy() *AnalyzerList

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

func (*AnalyzerList) DeepCopyInto

func (in *AnalyzerList) DeepCopyInto(out *AnalyzerList)

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

func (*AnalyzerList) DeepCopyObject

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

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

func (*AnalyzerList) GetItems

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

GetItems of this AnalyzerList.

type AnalyzerObservation

type AnalyzerObservation struct {

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

	// A block that specifies the configuration of the analyzer. Documented below
	Configuration *ConfigurationObservation `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// Analyzer name.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

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

	// Type of Analyzer. Valid values are ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS , ORGANIZATION_UNUSED_ACCESS. Defaults to ACCOUNT.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*AnalyzerObservation) DeepCopy

func (in *AnalyzerObservation) DeepCopy() *AnalyzerObservation

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

func (*AnalyzerObservation) DeepCopyInto

func (in *AnalyzerObservation) DeepCopyInto(out *AnalyzerObservation)

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

type AnalyzerParameters

type AnalyzerParameters struct {

	// A block that specifies the configuration of the analyzer. Documented below
	// +kubebuilder:validation:Optional
	Configuration *ConfigurationParameters `json:"configuration,omitempty" tf:"configuration,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:"-"`

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

	// Type of Analyzer. Valid values are ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS , ORGANIZATION_UNUSED_ACCESS. Defaults to ACCOUNT.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*AnalyzerParameters) DeepCopy

func (in *AnalyzerParameters) DeepCopy() *AnalyzerParameters

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

func (*AnalyzerParameters) DeepCopyInto

func (in *AnalyzerParameters) DeepCopyInto(out *AnalyzerParameters)

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

type AnalyzerSpec

type AnalyzerSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AnalyzerParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider AnalyzerInitParameters `json:"initProvider,omitempty"`
}

AnalyzerSpec defines the desired state of Analyzer

func (*AnalyzerSpec) DeepCopy

func (in *AnalyzerSpec) DeepCopy() *AnalyzerSpec

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

func (*AnalyzerSpec) DeepCopyInto

func (in *AnalyzerSpec) DeepCopyInto(out *AnalyzerSpec)

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

type AnalyzerStatus

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

AnalyzerStatus defines the observed state of Analyzer.

func (*AnalyzerStatus) DeepCopy

func (in *AnalyzerStatus) DeepCopy() *AnalyzerStatus

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

func (*AnalyzerStatus) DeepCopyInto

func (in *AnalyzerStatus) DeepCopyInto(out *AnalyzerStatus)

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

type ConfigurationInitParameters

type ConfigurationInitParameters struct {

	// A block that specifies the configuration of an unused access analyzer for an AWS organization or account. Documented below
	UnusedAccess *UnusedAccessInitParameters `json:"unusedAccess,omitempty" tf:"unused_access,omitempty"`
}

func (*ConfigurationInitParameters) DeepCopy

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

func (*ConfigurationInitParameters) DeepCopyInto

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

type ConfigurationObservation

type ConfigurationObservation struct {

	// A block that specifies the configuration of an unused access analyzer for an AWS organization or account. Documented below
	UnusedAccess *UnusedAccessObservation `json:"unusedAccess,omitempty" tf:"unused_access,omitempty"`
}

func (*ConfigurationObservation) DeepCopy

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

func (*ConfigurationObservation) DeepCopyInto

func (in *ConfigurationObservation) DeepCopyInto(out *ConfigurationObservation)

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

type ConfigurationParameters

type ConfigurationParameters struct {

	// A block that specifies the configuration of an unused access analyzer for an AWS organization or account. Documented below
	// +kubebuilder:validation:Optional
	UnusedAccess *UnusedAccessParameters `json:"unusedAccess,omitempty" tf:"unused_access,omitempty"`
}

func (*ConfigurationParameters) DeepCopy

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

func (*ConfigurationParameters) DeepCopyInto

func (in *ConfigurationParameters) DeepCopyInto(out *ConfigurationParameters)

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

type UnusedAccessInitParameters

type UnusedAccessInitParameters struct {

	// The specified access age in days for which to generate findings for unused access.
	UnusedAccessAge *float64 `json:"unusedAccessAge,omitempty" tf:"unused_access_age,omitempty"`
}

func (*UnusedAccessInitParameters) DeepCopy

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

func (*UnusedAccessInitParameters) DeepCopyInto

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

type UnusedAccessObservation

type UnusedAccessObservation struct {

	// The specified access age in days for which to generate findings for unused access.
	UnusedAccessAge *float64 `json:"unusedAccessAge,omitempty" tf:"unused_access_age,omitempty"`
}

func (*UnusedAccessObservation) DeepCopy

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

func (*UnusedAccessObservation) DeepCopyInto

func (in *UnusedAccessObservation) DeepCopyInto(out *UnusedAccessObservation)

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

type UnusedAccessParameters

type UnusedAccessParameters struct {

	// The specified access age in days for which to generate findings for unused access.
	// +kubebuilder:validation:Optional
	UnusedAccessAge *float64 `json:"unusedAccessAge,omitempty" tf:"unused_access_age,omitempty"`
}

func (*UnusedAccessParameters) DeepCopy

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

func (*UnusedAccessParameters) DeepCopyInto

func (in *UnusedAccessParameters) DeepCopyInto(out *UnusedAccessParameters)

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