Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=accessanalyzer.aws.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type Analyzer
- func (in *Analyzer) DeepCopy() *Analyzer
- func (in *Analyzer) DeepCopyInto(out *Analyzer)
- func (in *Analyzer) DeepCopyObject() runtime.Object
- func (mg *Analyzer) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Analyzer) GetConnectionDetailsMapping() map[string]string
- func (mg *Analyzer) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Analyzer) GetID() string
- func (tr *Analyzer) GetInitParameters() (map[string]any, error)
- func (mg *Analyzer) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Analyzer) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Analyzer) GetObservation() (map[string]any, error)
- func (tr *Analyzer) GetParameters() (map[string]any, error)
- func (mg *Analyzer) GetProviderConfigReference() *xpv1.Reference
- func (mg *Analyzer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Analyzer) GetTerraformResourceType() string
- func (tr *Analyzer) GetTerraformSchemaVersion() int
- func (mg *Analyzer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Analyzer) Hub()
- func (tr *Analyzer) LateInitialize(attrs []byte) (bool, error)
- func (mg *Analyzer) SetConditions(c ...xpv1.Condition)
- func (mg *Analyzer) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Analyzer) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Analyzer) SetObservation(obs map[string]any) error
- func (tr *Analyzer) SetParameters(params map[string]any) error
- func (mg *Analyzer) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Analyzer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Analyzer) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AnalyzerInitParameters
- type AnalyzerList
- type AnalyzerObservation
- type AnalyzerParameters
- type AnalyzerSpec
- type AnalyzerStatus
- type ConfigurationInitParameters
- type ConfigurationObservation
- type ConfigurationParameters
- type UnusedAccessInitParameters
- type UnusedAccessObservation
- type UnusedAccessParameters
Constants ¶
const ( CRDGroup = "accessanalyzer.aws.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Analyzer.
func (*Analyzer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Analyzer) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Analyzer
func (*Analyzer) GetDeletionPolicy ¶
func (mg *Analyzer) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Analyzer.
func (*Analyzer) GetInitParameters ¶
GetInitParameters of this Analyzer
func (*Analyzer) GetManagementPolicies ¶
func (mg *Analyzer) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Analyzer.
func (*Analyzer) GetMergedParameters ¶
GetInitParameters of this Analyzer
func (*Analyzer) GetObservation ¶
GetObservation of this Analyzer
func (*Analyzer) GetParameters ¶
GetParameters of this Analyzer
func (*Analyzer) GetProviderConfigReference ¶
GetProviderConfigReference of this Analyzer.
func (*Analyzer) GetPublishConnectionDetailsTo ¶
func (mg *Analyzer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Analyzer.
func (*Analyzer) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Analyzer
func (*Analyzer) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Analyzer) GetWriteConnectionSecretToReference ¶
func (mg *Analyzer) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Analyzer.
func (*Analyzer) LateInitialize ¶
LateInitialize this Analyzer using its observed tfState. returns True if there are any spec changes for the resource.
func (*Analyzer) SetConditions ¶
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 ¶
SetObservation for this Analyzer
func (*Analyzer) SetParameters ¶
SetParameters for this Analyzer
func (*Analyzer) SetProviderConfigReference ¶
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 ¶
func (in *AnalyzerInitParameters) DeepCopy() *AnalyzerInitParameters
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 ¶
func (in *ConfigurationInitParameters) DeepCopy() *ConfigurationInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigurationInitParameters.
func (*ConfigurationInitParameters) DeepCopyInto ¶
func (in *ConfigurationInitParameters) DeepCopyInto(out *ConfigurationInitParameters)
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 ¶
func (in *ConfigurationObservation) DeepCopy() *ConfigurationObservation
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 ¶
func (in *ConfigurationParameters) DeepCopy() *ConfigurationParameters
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 ¶
func (in *UnusedAccessInitParameters) DeepCopy() *UnusedAccessInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnusedAccessInitParameters.
func (*UnusedAccessInitParameters) DeepCopyInto ¶
func (in *UnusedAccessInitParameters) DeepCopyInto(out *UnusedAccessInitParameters)
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 ¶
func (in *UnusedAccessObservation) DeepCopy() *UnusedAccessObservation
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 ¶
func (in *UnusedAccessParameters) DeepCopy() *UnusedAccessParameters
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.