v1beta1

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Detector_Kind             = "Detector"
	Detector_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Detector_Kind}.String()
	Detector_KindAPIVersion   = Detector_Kind + "." + CRDGroupVersion.String()
	Detector_GroupVersionKind = CRDGroupVersion.WithKind(Detector_Kind)
)

Repository type metadata.

View Source
var (
	Filter_Kind             = "Filter"
	Filter_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Filter_Kind}.String()
	Filter_KindAPIVersion   = Filter_Kind + "." + CRDGroupVersion.String()
	Filter_GroupVersionKind = CRDGroupVersion.WithKind(Filter_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 (
	Member_Kind             = "Member"
	Member_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Member_Kind}.String()
	Member_KindAPIVersion   = Member_Kind + "." + CRDGroupVersion.String()
	Member_GroupVersionKind = CRDGroupVersion.WithKind(Member_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AuditLogsInitParameters added in v0.38.0

type AuditLogsInitParameters struct {

	// If true, enables Malware Protection as data source for the detector.
	// Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
}

func (*AuditLogsInitParameters) DeepCopy added in v0.38.0

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

func (*AuditLogsInitParameters) DeepCopyInto added in v0.38.0

func (in *AuditLogsInitParameters) DeepCopyInto(out *AuditLogsInitParameters)

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

type AuditLogsObservation added in v0.29.0

type AuditLogsObservation struct {

	// If true, enables Malware Protection as data source for the detector.
	// Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
}

func (*AuditLogsObservation) DeepCopy added in v0.29.0

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

func (*AuditLogsObservation) DeepCopyInto added in v0.29.0

func (in *AuditLogsObservation) DeepCopyInto(out *AuditLogsObservation)

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

type AuditLogsParameters added in v0.29.0

type AuditLogsParameters struct {

	// If true, enables Malware Protection as data source for the detector.
	// Defaults to true.
	// +kubebuilder:validation:Optional
	Enable *bool `json:"enable" tf:"enable,omitempty"`
}

func (*AuditLogsParameters) DeepCopy added in v0.29.0

func (in *AuditLogsParameters) DeepCopy() *AuditLogsParameters

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

func (*AuditLogsParameters) DeepCopyInto added in v0.29.0

func (in *AuditLogsParameters) DeepCopyInto(out *AuditLogsParameters)

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

type CriterionInitParameters added in v0.38.0

type CriterionInitParameters struct {

	// List of string values to be evaluated.
	Equals []*string `json:"equals,omitempty" tf:"equals,omitempty"`

	// The name of the field to be evaluated. The full list of field names can be found in AWS documentation.
	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	GreaterThan *string `json:"greaterThan,omitempty" tf:"greater_than,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	GreaterThanOrEqual *string `json:"greaterThanOrEqual,omitempty" tf:"greater_than_or_equal,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	LessThan *string `json:"lessThan,omitempty" tf:"less_than,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	LessThanOrEqual *string `json:"lessThanOrEqual,omitempty" tf:"less_than_or_equal,omitempty"`

	// List of string values to be evaluated.
	NotEquals []*string `json:"notEquals,omitempty" tf:"not_equals,omitempty"`
}

func (*CriterionInitParameters) DeepCopy added in v0.38.0

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

func (*CriterionInitParameters) DeepCopyInto added in v0.38.0

func (in *CriterionInitParameters) DeepCopyInto(out *CriterionInitParameters)

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

type CriterionObservation

type CriterionObservation struct {

	// List of string values to be evaluated.
	Equals []*string `json:"equals,omitempty" tf:"equals,omitempty"`

	// The name of the field to be evaluated. The full list of field names can be found in AWS documentation.
	Field *string `json:"field,omitempty" tf:"field,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	GreaterThan *string `json:"greaterThan,omitempty" tf:"greater_than,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	GreaterThanOrEqual *string `json:"greaterThanOrEqual,omitempty" tf:"greater_than_or_equal,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	LessThan *string `json:"lessThan,omitempty" tf:"less_than,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	LessThanOrEqual *string `json:"lessThanOrEqual,omitempty" tf:"less_than_or_equal,omitempty"`

	// List of string values to be evaluated.
	NotEquals []*string `json:"notEquals,omitempty" tf:"not_equals,omitempty"`
}

func (*CriterionObservation) DeepCopy

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

func (*CriterionObservation) DeepCopyInto

func (in *CriterionObservation) DeepCopyInto(out *CriterionObservation)

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

type CriterionParameters

type CriterionParameters struct {

	// List of string values to be evaluated.
	// +kubebuilder:validation:Optional
	Equals []*string `json:"equals,omitempty" tf:"equals,omitempty"`

	// The name of the field to be evaluated. The full list of field names can be found in AWS documentation.
	// +kubebuilder:validation:Optional
	Field *string `json:"field" tf:"field,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	// +kubebuilder:validation:Optional
	GreaterThan *string `json:"greaterThan,omitempty" tf:"greater_than,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	// +kubebuilder:validation:Optional
	GreaterThanOrEqual *string `json:"greaterThanOrEqual,omitempty" tf:"greater_than_or_equal,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	// +kubebuilder:validation:Optional
	LessThan *string `json:"lessThan,omitempty" tf:"less_than,omitempty"`

	// A value to be evaluated. Accepts either an integer or a date in RFC 3339 format.
	// +kubebuilder:validation:Optional
	LessThanOrEqual *string `json:"lessThanOrEqual,omitempty" tf:"less_than_or_equal,omitempty"`

	// List of string values to be evaluated.
	// +kubebuilder:validation:Optional
	NotEquals []*string `json:"notEquals,omitempty" tf:"not_equals,omitempty"`
}

func (*CriterionParameters) DeepCopy

func (in *CriterionParameters) DeepCopy() *CriterionParameters

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

func (*CriterionParameters) DeepCopyInto

func (in *CriterionParameters) DeepCopyInto(out *CriterionParameters)

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

type DatasourcesInitParameters added in v0.38.0

type DatasourcesInitParameters struct {

	// Configures Kubernetes protection.
	// See Kubernetes and Kubernetes Audit Logs below for more details.
	Kubernetes []KubernetesInitParameters `json:"kubernetes,omitempty" tf:"kubernetes,omitempty"`

	// Configures Malware Protection.
	// See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
	MalwareProtection []MalwareProtectionInitParameters `json:"malwareProtection,omitempty" tf:"malware_protection,omitempty"`

	// Configures S3 protection.
	// See S3 Logs below for more details.
	S3Logs []S3LogsInitParameters `json:"s3Logs,omitempty" tf:"s3_logs,omitempty"`
}

func (*DatasourcesInitParameters) DeepCopy added in v0.38.0

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

func (*DatasourcesInitParameters) DeepCopyInto added in v0.38.0

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

type DatasourcesObservation

type DatasourcesObservation struct {

	// Configures Kubernetes protection.
	// See Kubernetes and Kubernetes Audit Logs below for more details.
	Kubernetes []KubernetesObservation `json:"kubernetes,omitempty" tf:"kubernetes,omitempty"`

	// Configures Malware Protection.
	// See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
	MalwareProtection []MalwareProtectionObservation `json:"malwareProtection,omitempty" tf:"malware_protection,omitempty"`

	// Configures S3 protection.
	// See S3 Logs below for more details.
	S3Logs []S3LogsObservation `json:"s3Logs,omitempty" tf:"s3_logs,omitempty"`
}

func (*DatasourcesObservation) DeepCopy

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

func (*DatasourcesObservation) DeepCopyInto

func (in *DatasourcesObservation) DeepCopyInto(out *DatasourcesObservation)

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

type DatasourcesParameters

type DatasourcesParameters struct {

	// Configures Kubernetes protection.
	// See Kubernetes and Kubernetes Audit Logs below for more details.
	// +kubebuilder:validation:Optional
	Kubernetes []KubernetesParameters `json:"kubernetes,omitempty" tf:"kubernetes,omitempty"`

	// Configures Malware Protection.
	// See Malware Protection, Scan EC2 instance with findings and EBS volumes below for more details.
	// +kubebuilder:validation:Optional
	MalwareProtection []MalwareProtectionParameters `json:"malwareProtection,omitempty" tf:"malware_protection,omitempty"`

	// Configures S3 protection.
	// See S3 Logs below for more details.
	// +kubebuilder:validation:Optional
	S3Logs []S3LogsParameters `json:"s3Logs,omitempty" tf:"s3_logs,omitempty"`
}

func (*DatasourcesParameters) DeepCopy

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

func (*DatasourcesParameters) DeepCopyInto

func (in *DatasourcesParameters) DeepCopyInto(out *DatasourcesParameters)

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

type Detector

type Detector struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DetectorSpec   `json:"spec"`
	Status            DetectorStatus `json:"status,omitempty"`
}

Detector is the Schema for the Detectors API. Provides a resource to manage an Amazon GuardDuty detector +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 (*Detector) DeepCopy

func (in *Detector) DeepCopy() *Detector

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

func (*Detector) DeepCopyInto

func (in *Detector) DeepCopyInto(out *Detector)

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

func (*Detector) DeepCopyObject

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

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

func (*Detector) GetCondition

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

GetCondition of this Detector.

func (*Detector) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Detector

func (*Detector) GetDeletionPolicy

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

GetDeletionPolicy of this Detector.

func (*Detector) GetID

func (tr *Detector) GetID() string

GetID returns ID of underlying Terraform resource of this Detector

func (*Detector) GetInitParameters added in v0.38.0

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

GetInitParameters of this Detector

func (*Detector) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Detector.

func (*Detector) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Detector

func (*Detector) GetObservation

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

GetObservation of this Detector

func (*Detector) GetParameters

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

GetParameters of this Detector

func (*Detector) GetProviderConfigReference

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

GetProviderConfigReference of this Detector.

func (*Detector) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Detector.

func (*Detector) GetTerraformResourceType

func (mg *Detector) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Detector

func (*Detector) GetTerraformSchemaVersion

func (tr *Detector) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Detector) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Detector.

func (*Detector) Hub added in v0.47.2

func (tr *Detector) Hub()

Hub marks this type as a conversion hub.

func (*Detector) LateInitialize

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

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

func (*Detector) SetConditions

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

SetConditions of this Detector.

func (*Detector) SetDeletionPolicy

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

SetDeletionPolicy of this Detector.

func (*Detector) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Detector.

func (*Detector) SetObservation

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

SetObservation for this Detector

func (*Detector) SetParameters

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

SetParameters for this Detector

func (*Detector) SetProviderConfigReference

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

SetProviderConfigReference of this Detector.

func (*Detector) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Detector.

func (*Detector) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Detector.

type DetectorInitParameters added in v0.38.0

type DetectorInitParameters struct {

	// Describes which data sources will be enabled for the detector. See Data Sources below for more details. Deprecated in favor of aws_guardduty_detector_feature resources.
	Datasources []DatasourcesInitParameters `json:"datasources,omitempty" tf:"datasources,omitempty"`

	// Enable monitoring and feedback reporting. Setting to false is equivalent to "suspending" GuardDuty. Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`

	// Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to SIX_HOURS. Valid values for standalone and primary accounts: FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS. See AWS Documentation for more information.
	FindingPublishingFrequency *string `json:"findingPublishingFrequency,omitempty" tf:"finding_publishing_frequency,omitempty"`

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

func (*DetectorInitParameters) DeepCopy added in v0.38.0

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

func (*DetectorInitParameters) DeepCopyInto added in v0.38.0

func (in *DetectorInitParameters) DeepCopyInto(out *DetectorInitParameters)

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

type DetectorList

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

DetectorList contains a list of Detectors

func (*DetectorList) DeepCopy

func (in *DetectorList) DeepCopy() *DetectorList

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

func (*DetectorList) DeepCopyInto

func (in *DetectorList) DeepCopyInto(out *DetectorList)

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

func (*DetectorList) DeepCopyObject

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

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

func (*DetectorList) GetItems

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

GetItems of this DetectorList.

type DetectorObservation

type DetectorObservation struct {

	// The AWS account ID of the GuardDuty detector
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Amazon Resource Name (ARN) of the GuardDuty detector
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Describes which data sources will be enabled for the detector. See Data Sources below for more details. Deprecated in favor of aws_guardduty_detector_feature resources.
	Datasources []DatasourcesObservation `json:"datasources,omitempty" tf:"datasources,omitempty"`

	// Enable monitoring and feedback reporting. Setting to false is equivalent to "suspending" GuardDuty. Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`

	// Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to SIX_HOURS. Valid values for standalone and primary accounts: FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS. See AWS Documentation for more information.
	FindingPublishingFrequency *string `json:"findingPublishingFrequency,omitempty" tf:"finding_publishing_frequency,omitempty"`

	// The ID of the GuardDuty detector
	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"`

	// A 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"`
}

func (*DetectorObservation) DeepCopy

func (in *DetectorObservation) DeepCopy() *DetectorObservation

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

func (*DetectorObservation) DeepCopyInto

func (in *DetectorObservation) DeepCopyInto(out *DetectorObservation)

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

type DetectorParameters

type DetectorParameters struct {

	// Describes which data sources will be enabled for the detector. See Data Sources below for more details. Deprecated in favor of aws_guardduty_detector_feature resources.
	// +kubebuilder:validation:Optional
	Datasources []DatasourcesParameters `json:"datasources,omitempty" tf:"datasources,omitempty"`

	// Enable monitoring and feedback reporting. Setting to false is equivalent to "suspending" GuardDuty. Defaults to true.
	// +kubebuilder:validation:Optional
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`

	// Specifies the frequency of notifications sent for subsequent finding occurrences. If the detector is a GuardDuty member account, the value is determined by the GuardDuty primary account and cannot be modified, otherwise defaults to SIX_HOURS. Valid values for standalone and primary accounts: FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS. See AWS Documentation for more information.
	// +kubebuilder:validation:Optional
	FindingPublishingFrequency *string `json:"findingPublishingFrequency,omitempty" tf:"finding_publishing_frequency,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"`
}

func (*DetectorParameters) DeepCopy

func (in *DetectorParameters) DeepCopy() *DetectorParameters

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

func (*DetectorParameters) DeepCopyInto

func (in *DetectorParameters) DeepCopyInto(out *DetectorParameters)

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

type DetectorSpec

type DetectorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DetectorParameters `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 DetectorInitParameters `json:"initProvider,omitempty"`
}

DetectorSpec defines the desired state of Detector

func (*DetectorSpec) DeepCopy

func (in *DetectorSpec) DeepCopy() *DetectorSpec

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

func (*DetectorSpec) DeepCopyInto

func (in *DetectorSpec) DeepCopyInto(out *DetectorSpec)

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

type DetectorStatus

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

DetectorStatus defines the observed state of Detector.

func (*DetectorStatus) DeepCopy

func (in *DetectorStatus) DeepCopy() *DetectorStatus

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

func (*DetectorStatus) DeepCopyInto

func (in *DetectorStatus) DeepCopyInto(out *DetectorStatus)

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

type EBSVolumesInitParameters added in v0.38.0

type EBSVolumesInitParameters struct {

	// If true, enables Malware Protection as data source for the detector.
	// Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
}

func (*EBSVolumesInitParameters) DeepCopy added in v0.38.0

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

func (*EBSVolumesInitParameters) DeepCopyInto added in v0.38.0

func (in *EBSVolumesInitParameters) DeepCopyInto(out *EBSVolumesInitParameters)

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

type EBSVolumesObservation added in v0.29.0

type EBSVolumesObservation struct {

	// If true, enables Malware Protection as data source for the detector.
	// Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
}

func (*EBSVolumesObservation) DeepCopy added in v0.29.0

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

func (*EBSVolumesObservation) DeepCopyInto added in v0.29.0

func (in *EBSVolumesObservation) DeepCopyInto(out *EBSVolumesObservation)

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

type EBSVolumesParameters added in v0.29.0

type EBSVolumesParameters struct {

	// If true, enables Malware Protection as data source for the detector.
	// Defaults to true.
	// +kubebuilder:validation:Optional
	Enable *bool `json:"enable" tf:"enable,omitempty"`
}

func (*EBSVolumesParameters) DeepCopy added in v0.29.0

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

func (*EBSVolumesParameters) DeepCopyInto added in v0.29.0

func (in *EBSVolumesParameters) DeepCopyInto(out *EBSVolumesParameters)

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

type Filter

type Filter struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.findingCriteria) || (has(self.initProvider) && has(self.initProvider.findingCriteria))",message="spec.forProvider.findingCriteria is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rank) || (has(self.initProvider) && has(self.initProvider.rank))",message="spec.forProvider.rank is a required parameter"
	Spec   FilterSpec   `json:"spec"`
	Status FilterStatus `json:"status,omitempty"`
}

Filter is the Schema for the Filters API. Provides a resource to manage a GuardDuty filter +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 (*Filter) DeepCopy

func (in *Filter) DeepCopy() *Filter

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

func (*Filter) DeepCopyInto

func (in *Filter) DeepCopyInto(out *Filter)

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

func (*Filter) DeepCopyObject

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

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

func (*Filter) GetCondition

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

GetCondition of this Filter.

func (*Filter) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Filter

func (*Filter) GetDeletionPolicy

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

GetDeletionPolicy of this Filter.

func (*Filter) GetID

func (tr *Filter) GetID() string

GetID returns ID of underlying Terraform resource of this Filter

func (*Filter) GetInitParameters added in v0.38.0

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

GetInitParameters of this Filter

func (*Filter) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Filter.

func (*Filter) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Filter

func (*Filter) GetObservation

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

GetObservation of this Filter

func (*Filter) GetParameters

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

GetParameters of this Filter

func (*Filter) GetProviderConfigReference

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

GetProviderConfigReference of this Filter.

func (*Filter) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Filter.

func (*Filter) GetTerraformResourceType

func (mg *Filter) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Filter

func (*Filter) GetTerraformSchemaVersion

func (tr *Filter) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Filter) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Filter.

func (*Filter) Hub added in v0.47.2

func (tr *Filter) Hub()

Hub marks this type as a conversion hub.

func (*Filter) LateInitialize

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

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

func (*Filter) ResolveReferences

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

func (*Filter) SetConditions

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

SetConditions of this Filter.

func (*Filter) SetDeletionPolicy

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

SetDeletionPolicy of this Filter.

func (*Filter) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Filter.

func (*Filter) SetObservation

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

SetObservation for this Filter

func (*Filter) SetParameters

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

SetParameters for this Filter

func (*Filter) SetProviderConfigReference

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

SetProviderConfigReference of this Filter.

func (*Filter) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Filter.

func (*Filter) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Filter.

type FilterInitParameters added in v0.38.0

type FilterInitParameters struct {

	// Specifies the action that is to be applied to the findings that match the filter. Can be one of ARCHIVE or NOOP.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Description of the filter.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Represents the criteria to be used in the filter for querying findings. Contains one or more criterion blocks, documented below.
	FindingCriteria []FindingCriteriaInitParameters `json:"findingCriteria,omitempty" tf:"finding_criteria,omitempty"`

	// Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
	Rank *float64 `json:"rank,omitempty" tf:"rank,omitempty"`

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

func (*FilterInitParameters) DeepCopy added in v0.38.0

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

func (*FilterInitParameters) DeepCopyInto added in v0.38.0

func (in *FilterInitParameters) DeepCopyInto(out *FilterInitParameters)

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

type FilterList

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

FilterList contains a list of Filters

func (*FilterList) DeepCopy

func (in *FilterList) DeepCopy() *FilterList

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

func (*FilterList) DeepCopyInto

func (in *FilterList) DeepCopyInto(out *FilterList)

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

func (*FilterList) DeepCopyObject

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

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

func (*FilterList) GetItems

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

GetItems of this FilterList.

type FilterObservation

type FilterObservation struct {

	// Specifies the action that is to be applied to the findings that match the filter. Can be one of ARCHIVE or NOOP.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

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

	// Description of the filter.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ID of a GuardDuty detector, attached to your account.
	DetectorID *string `json:"detectorId,omitempty" tf:"detector_id,omitempty"`

	// Represents the criteria to be used in the filter for querying findings. Contains one or more criterion blocks, documented below.
	FindingCriteria []FindingCriteriaObservation `json:"findingCriteria,omitempty" tf:"finding_criteria,omitempty"`

	// A compound field, consisting of the ID of the GuardDuty detector and the name of the filter.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
	Rank *float64 `json:"rank,omitempty" tf:"rank,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	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.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*FilterObservation) DeepCopy

func (in *FilterObservation) DeepCopy() *FilterObservation

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

func (*FilterObservation) DeepCopyInto

func (in *FilterObservation) DeepCopyInto(out *FilterObservation)

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

type FilterParameters

type FilterParameters struct {

	// Specifies the action that is to be applied to the findings that match the filter. Can be one of ARCHIVE or NOOP.
	// +kubebuilder:validation:Optional
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// Description of the filter.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// ID of a GuardDuty detector, attached to your account.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/guardduty/v1beta1.Detector
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DetectorID *string `json:"detectorId,omitempty" tf:"detector_id,omitempty"`

	// Reference to a Detector in guardduty to populate detectorId.
	// +kubebuilder:validation:Optional
	DetectorIDRef *v1.Reference `json:"detectorIdRef,omitempty" tf:"-"`

	// Selector for a Detector in guardduty to populate detectorId.
	// +kubebuilder:validation:Optional
	DetectorIDSelector *v1.Selector `json:"detectorIdSelector,omitempty" tf:"-"`

	// Represents the criteria to be used in the filter for querying findings. Contains one or more criterion blocks, documented below.
	// +kubebuilder:validation:Optional
	FindingCriteria []FindingCriteriaParameters `json:"findingCriteria,omitempty" tf:"finding_criteria,omitempty"`

	// Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.
	// +kubebuilder:validation:Optional
	Rank *float64 `json:"rank,omitempty" tf:"rank,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"`
}

func (*FilterParameters) DeepCopy

func (in *FilterParameters) DeepCopy() *FilterParameters

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

func (*FilterParameters) DeepCopyInto

func (in *FilterParameters) DeepCopyInto(out *FilterParameters)

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

type FilterSpec

type FilterSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FilterParameters `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 FilterInitParameters `json:"initProvider,omitempty"`
}

FilterSpec defines the desired state of Filter

func (*FilterSpec) DeepCopy

func (in *FilterSpec) DeepCopy() *FilterSpec

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

func (*FilterSpec) DeepCopyInto

func (in *FilterSpec) DeepCopyInto(out *FilterSpec)

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

type FilterStatus

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

FilterStatus defines the observed state of Filter.

func (*FilterStatus) DeepCopy

func (in *FilterStatus) DeepCopy() *FilterStatus

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

func (*FilterStatus) DeepCopyInto

func (in *FilterStatus) DeepCopyInto(out *FilterStatus)

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

type FindingCriteriaInitParameters added in v0.38.0

type FindingCriteriaInitParameters struct {
	Criterion []CriterionInitParameters `json:"criterion,omitempty" tf:"criterion,omitempty"`
}

func (*FindingCriteriaInitParameters) DeepCopy added in v0.38.0

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

func (*FindingCriteriaInitParameters) DeepCopyInto added in v0.38.0

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

type FindingCriteriaObservation

type FindingCriteriaObservation struct {
	Criterion []CriterionObservation `json:"criterion,omitempty" tf:"criterion,omitempty"`
}

func (*FindingCriteriaObservation) DeepCopy

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

func (*FindingCriteriaObservation) DeepCopyInto

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

type FindingCriteriaParameters

type FindingCriteriaParameters struct {

	// +kubebuilder:validation:Optional
	Criterion []CriterionParameters `json:"criterion" tf:"criterion,omitempty"`
}

func (*FindingCriteriaParameters) DeepCopy

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

func (*FindingCriteriaParameters) DeepCopyInto

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

type KubernetesInitParameters added in v0.38.0

type KubernetesInitParameters struct {

	// Configures Kubernetes audit logs as a data source for Kubernetes protection.
	// See Kubernetes Audit Logs below for more details.
	AuditLogs []AuditLogsInitParameters `json:"auditLogs,omitempty" tf:"audit_logs,omitempty"`
}

func (*KubernetesInitParameters) DeepCopy added in v0.38.0

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

func (*KubernetesInitParameters) DeepCopyInto added in v0.38.0

func (in *KubernetesInitParameters) DeepCopyInto(out *KubernetesInitParameters)

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

type KubernetesObservation added in v0.29.0

type KubernetesObservation struct {

	// Configures Kubernetes audit logs as a data source for Kubernetes protection.
	// See Kubernetes Audit Logs below for more details.
	AuditLogs []AuditLogsObservation `json:"auditLogs,omitempty" tf:"audit_logs,omitempty"`
}

func (*KubernetesObservation) DeepCopy added in v0.29.0

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

func (*KubernetesObservation) DeepCopyInto added in v0.29.0

func (in *KubernetesObservation) DeepCopyInto(out *KubernetesObservation)

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

type KubernetesParameters added in v0.29.0

type KubernetesParameters struct {

	// Configures Kubernetes audit logs as a data source for Kubernetes protection.
	// See Kubernetes Audit Logs below for more details.
	// +kubebuilder:validation:Optional
	AuditLogs []AuditLogsParameters `json:"auditLogs" tf:"audit_logs,omitempty"`
}

func (*KubernetesParameters) DeepCopy added in v0.29.0

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

func (*KubernetesParameters) DeepCopyInto added in v0.29.0

func (in *KubernetesParameters) DeepCopyInto(out *KubernetesParameters)

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

type MalwareProtectionInitParameters added in v0.38.0

type MalwareProtectionInitParameters struct {

	// Configure whether Malware Protection is enabled as data source for EC2 instances with findings for the detector.
	// See Scan EC2 instance with findings below for more details.
	ScanEC2InstanceWithFindings []ScanEC2InstanceWithFindingsInitParameters `json:"scanEc2InstanceWithFindings,omitempty" tf:"scan_ec2_instance_with_findings,omitempty"`
}

func (*MalwareProtectionInitParameters) DeepCopy added in v0.38.0

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

func (*MalwareProtectionInitParameters) DeepCopyInto added in v0.38.0

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

type MalwareProtectionObservation added in v0.29.0

type MalwareProtectionObservation struct {

	// Configure whether Malware Protection is enabled as data source for EC2 instances with findings for the detector.
	// See Scan EC2 instance with findings below for more details.
	ScanEC2InstanceWithFindings []ScanEC2InstanceWithFindingsObservation `json:"scanEc2InstanceWithFindings,omitempty" tf:"scan_ec2_instance_with_findings,omitempty"`
}

func (*MalwareProtectionObservation) DeepCopy added in v0.29.0

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

func (*MalwareProtectionObservation) DeepCopyInto added in v0.29.0

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

type MalwareProtectionParameters added in v0.29.0

type MalwareProtectionParameters struct {

	// Configure whether Malware Protection is enabled as data source for EC2 instances with findings for the detector.
	// See Scan EC2 instance with findings below for more details.
	// +kubebuilder:validation:Optional
	ScanEC2InstanceWithFindings []ScanEC2InstanceWithFindingsParameters `json:"scanEc2InstanceWithFindings" tf:"scan_ec2_instance_with_findings,omitempty"`
}

func (*MalwareProtectionParameters) DeepCopy added in v0.29.0

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

func (*MalwareProtectionParameters) DeepCopyInto added in v0.29.0

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

type Member

type Member struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter"
	Spec   MemberSpec   `json:"spec"`
	Status MemberStatus `json:"status,omitempty"`
}

Member is the Schema for the Members API. Provides a resource to manage a GuardDuty member +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 (*Member) DeepCopy

func (in *Member) DeepCopy() *Member

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

func (*Member) DeepCopyInto

func (in *Member) DeepCopyInto(out *Member)

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

func (*Member) DeepCopyObject

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

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

func (*Member) GetCondition

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

GetCondition of this Member.

func (*Member) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Member

func (*Member) GetDeletionPolicy

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

GetDeletionPolicy of this Member.

func (*Member) GetID

func (tr *Member) GetID() string

GetID returns ID of underlying Terraform resource of this Member

func (*Member) GetInitParameters added in v0.38.0

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

GetInitParameters of this Member

func (*Member) GetManagementPolicies added in v0.38.0

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

GetManagementPolicies of this Member.

func (*Member) GetMergedParameters added in v0.44.0

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

GetInitParameters of this Member

func (*Member) GetObservation

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

GetObservation of this Member

func (*Member) GetParameters

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

GetParameters of this Member

func (*Member) GetProviderConfigReference

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

GetProviderConfigReference of this Member.

func (*Member) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Member.

func (*Member) GetTerraformResourceType

func (mg *Member) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Member

func (*Member) GetTerraformSchemaVersion

func (tr *Member) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Member) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Member.

func (*Member) Hub added in v0.47.2

func (tr *Member) Hub()

Hub marks this type as a conversion hub.

func (*Member) LateInitialize

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

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

func (*Member) ResolveReferences

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

ResolveReferences of this Member.

func (*Member) SetConditions

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

SetConditions of this Member.

func (*Member) SetDeletionPolicy

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

SetDeletionPolicy of this Member.

func (*Member) SetManagementPolicies added in v0.38.0

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

SetManagementPolicies of this Member.

func (*Member) SetObservation

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

SetObservation for this Member

func (*Member) SetParameters

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

SetParameters for this Member

func (*Member) SetProviderConfigReference

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

SetProviderConfigReference of this Member.

func (*Member) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Member.

func (*Member) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Member.

type MemberInitParameters added in v0.38.0

type MemberInitParameters struct {

	// AWS account ID for member account.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/guardduty/v1beta1.Detector
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("account_id",true)
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Detector in guardduty to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Detector in guardduty to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// The detector ID of the GuardDuty account where you want to create member accounts.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/guardduty/v1beta1.Detector
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	DetectorID *string `json:"detectorId,omitempty" tf:"detector_id,omitempty"`

	// Reference to a Detector in guardduty to populate detectorId.
	// +kubebuilder:validation:Optional
	DetectorIDRef *v1.Reference `json:"detectorIdRef,omitempty" tf:"-"`

	// Selector for a Detector in guardduty to populate detectorId.
	// +kubebuilder:validation:Optional
	DetectorIDSelector *v1.Selector `json:"detectorIdSelector,omitempty" tf:"-"`

	// Boolean whether an email notification is sent to the accounts. Defaults to false.
	DisableEmailNotification *bool `json:"disableEmailNotification,omitempty" tf:"disable_email_notification,omitempty"`

	// Email address for member account.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Message for invitation.
	InvitationMessage *string `json:"invitationMessage,omitempty" tf:"invitation_message,omitempty"`

	// Boolean whether to invite the account to GuardDuty as a member. Defaults to false.
	Invite *bool `json:"invite,omitempty" tf:"invite,omitempty"`
}

func (*MemberInitParameters) DeepCopy added in v0.38.0

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

func (*MemberInitParameters) DeepCopyInto added in v0.38.0

func (in *MemberInitParameters) DeepCopyInto(out *MemberInitParameters)

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

type MemberList

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

MemberList contains a list of Members

func (*MemberList) DeepCopy

func (in *MemberList) DeepCopy() *MemberList

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

func (*MemberList) DeepCopyInto

func (in *MemberList) DeepCopyInto(out *MemberList)

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

func (*MemberList) DeepCopyObject

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

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

func (*MemberList) GetItems

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

GetItems of this MemberList.

type MemberObservation

type MemberObservation struct {

	// AWS account ID for member account.
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// The detector ID of the GuardDuty account where you want to create member accounts.
	DetectorID *string `json:"detectorId,omitempty" tf:"detector_id,omitempty"`

	// Boolean whether an email notification is sent to the accounts. Defaults to false.
	DisableEmailNotification *bool `json:"disableEmailNotification,omitempty" tf:"disable_email_notification,omitempty"`

	// Email address for member account.
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// The ID of the GuardDuty member
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Message for invitation.
	InvitationMessage *string `json:"invitationMessage,omitempty" tf:"invitation_message,omitempty"`

	// Boolean whether to invite the account to GuardDuty as a member. Defaults to false.
	Invite *bool `json:"invite,omitempty" tf:"invite,omitempty"`

	// The status of the relationship between the member account and its primary account. More information can be found in Amazon GuardDuty API Reference.
	RelationshipStatus *string `json:"relationshipStatus,omitempty" tf:"relationship_status,omitempty"`
}

func (*MemberObservation) DeepCopy

func (in *MemberObservation) DeepCopy() *MemberObservation

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

func (*MemberObservation) DeepCopyInto

func (in *MemberObservation) DeepCopyInto(out *MemberObservation)

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

type MemberParameters

type MemberParameters struct {

	// AWS account ID for member account.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/guardduty/v1beta1.Detector
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("account_id",true)
	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// Reference to a Detector in guardduty to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDRef *v1.Reference `json:"accountIdRef,omitempty" tf:"-"`

	// Selector for a Detector in guardduty to populate accountId.
	// +kubebuilder:validation:Optional
	AccountIDSelector *v1.Selector `json:"accountIdSelector,omitempty" tf:"-"`

	// The detector ID of the GuardDuty account where you want to create member accounts.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/guardduty/v1beta1.Detector
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DetectorID *string `json:"detectorId,omitempty" tf:"detector_id,omitempty"`

	// Reference to a Detector in guardduty to populate detectorId.
	// +kubebuilder:validation:Optional
	DetectorIDRef *v1.Reference `json:"detectorIdRef,omitempty" tf:"-"`

	// Selector for a Detector in guardduty to populate detectorId.
	// +kubebuilder:validation:Optional
	DetectorIDSelector *v1.Selector `json:"detectorIdSelector,omitempty" tf:"-"`

	// Boolean whether an email notification is sent to the accounts. Defaults to false.
	// +kubebuilder:validation:Optional
	DisableEmailNotification *bool `json:"disableEmailNotification,omitempty" tf:"disable_email_notification,omitempty"`

	// Email address for member account.
	// +kubebuilder:validation:Optional
	Email *string `json:"email,omitempty" tf:"email,omitempty"`

	// Message for invitation.
	// +kubebuilder:validation:Optional
	InvitationMessage *string `json:"invitationMessage,omitempty" tf:"invitation_message,omitempty"`

	// Boolean whether to invite the account to GuardDuty as a member. Defaults to false.
	// +kubebuilder:validation:Optional
	Invite *bool `json:"invite,omitempty" tf:"invite,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:"-"`
}

func (*MemberParameters) DeepCopy

func (in *MemberParameters) DeepCopy() *MemberParameters

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

func (*MemberParameters) DeepCopyInto

func (in *MemberParameters) DeepCopyInto(out *MemberParameters)

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

type MemberSpec

type MemberSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     MemberParameters `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 MemberInitParameters `json:"initProvider,omitempty"`
}

MemberSpec defines the desired state of Member

func (*MemberSpec) DeepCopy

func (in *MemberSpec) DeepCopy() *MemberSpec

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

func (*MemberSpec) DeepCopyInto

func (in *MemberSpec) DeepCopyInto(out *MemberSpec)

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

type MemberStatus

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

MemberStatus defines the observed state of Member.

func (*MemberStatus) DeepCopy

func (in *MemberStatus) DeepCopy() *MemberStatus

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

func (*MemberStatus) DeepCopyInto

func (in *MemberStatus) DeepCopyInto(out *MemberStatus)

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

type S3LogsInitParameters added in v0.38.0

type S3LogsInitParameters struct {

	// If true, enables S3 protection.
	// Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
}

func (*S3LogsInitParameters) DeepCopy added in v0.38.0

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

func (*S3LogsInitParameters) DeepCopyInto added in v0.38.0

func (in *S3LogsInitParameters) DeepCopyInto(out *S3LogsInitParameters)

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

type S3LogsObservation

type S3LogsObservation struct {

	// If true, enables S3 protection.
	// Defaults to true.
	Enable *bool `json:"enable,omitempty" tf:"enable,omitempty"`
}

func (*S3LogsObservation) DeepCopy

func (in *S3LogsObservation) DeepCopy() *S3LogsObservation

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

func (*S3LogsObservation) DeepCopyInto

func (in *S3LogsObservation) DeepCopyInto(out *S3LogsObservation)

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

type S3LogsParameters

type S3LogsParameters struct {

	// If true, enables S3 protection.
	// Defaults to true.
	// +kubebuilder:validation:Optional
	Enable *bool `json:"enable" tf:"enable,omitempty"`
}

func (*S3LogsParameters) DeepCopy

func (in *S3LogsParameters) DeepCopy() *S3LogsParameters

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

func (*S3LogsParameters) DeepCopyInto

func (in *S3LogsParameters) DeepCopyInto(out *S3LogsParameters)

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

type ScanEC2InstanceWithFindingsInitParameters added in v0.38.0

type ScanEC2InstanceWithFindingsInitParameters struct {

	// Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings.
	// See EBS volumes below for more details.
	EBSVolumes []EBSVolumesInitParameters `json:"ebsVolumes,omitempty" tf:"ebs_volumes,omitempty"`
}

func (*ScanEC2InstanceWithFindingsInitParameters) DeepCopy added in v0.38.0

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

func (*ScanEC2InstanceWithFindingsInitParameters) DeepCopyInto added in v0.38.0

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

type ScanEC2InstanceWithFindingsObservation added in v0.29.0

type ScanEC2InstanceWithFindingsObservation struct {

	// Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings.
	// See EBS volumes below for more details.
	EBSVolumes []EBSVolumesObservation `json:"ebsVolumes,omitempty" tf:"ebs_volumes,omitempty"`
}

func (*ScanEC2InstanceWithFindingsObservation) DeepCopy added in v0.29.0

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

func (*ScanEC2InstanceWithFindingsObservation) DeepCopyInto added in v0.29.0

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

type ScanEC2InstanceWithFindingsParameters added in v0.29.0

type ScanEC2InstanceWithFindingsParameters struct {

	// Configure whether scanning EBS volumes is enabled as data source for the detector for instances with findings.
	// See EBS volumes below for more details.
	// +kubebuilder:validation:Optional
	EBSVolumes []EBSVolumesParameters `json:"ebsVolumes" tf:"ebs_volumes,omitempty"`
}

func (*ScanEC2InstanceWithFindingsParameters) DeepCopy added in v0.29.0

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

func (*ScanEC2InstanceWithFindingsParameters) DeepCopyInto added in v0.29.0

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