v1beta1

package
v0.34.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	AssessmentTarget_Kind             = "AssessmentTarget"
	AssessmentTarget_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AssessmentTarget_Kind}.String()
	AssessmentTarget_KindAPIVersion   = AssessmentTarget_Kind + "." + CRDGroupVersion.String()
	AssessmentTarget_GroupVersionKind = CRDGroupVersion.WithKind(AssessmentTarget_Kind)
)

Repository type metadata.

View Source
var (
	AssessmentTemplate_Kind             = "AssessmentTemplate"
	AssessmentTemplate_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: AssessmentTemplate_Kind}.String()
	AssessmentTemplate_KindAPIVersion   = AssessmentTemplate_Kind + "." + CRDGroupVersion.String()
	AssessmentTemplate_GroupVersionKind = CRDGroupVersion.WithKind(AssessmentTemplate_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 (
	ResourceGroup_Kind             = "ResourceGroup"
	ResourceGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceGroup_Kind}.String()
	ResourceGroup_KindAPIVersion   = ResourceGroup_Kind + "." + CRDGroupVersion.String()
	ResourceGroup_GroupVersionKind = CRDGroupVersion.WithKind(ResourceGroup_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type AssessmentTarget

type AssessmentTarget struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssessmentTargetSpec   `json:"spec"`
	Status            AssessmentTargetStatus `json:"status,omitempty"`
}

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

func (*AssessmentTarget) DeepCopy

func (in *AssessmentTarget) DeepCopy() *AssessmentTarget

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

func (*AssessmentTarget) DeepCopyInto

func (in *AssessmentTarget) DeepCopyInto(out *AssessmentTarget)

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

func (*AssessmentTarget) DeepCopyObject

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

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

func (*AssessmentTarget) GetCondition

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

GetCondition of this AssessmentTarget.

func (*AssessmentTarget) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AssessmentTarget

func (*AssessmentTarget) GetDeletionPolicy

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

GetDeletionPolicy of this AssessmentTarget.

func (*AssessmentTarget) GetID

func (tr *AssessmentTarget) GetID() string

GetID returns ID of underlying Terraform resource of this AssessmentTarget

func (*AssessmentTarget) GetObservation

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

GetObservation of this AssessmentTarget

func (*AssessmentTarget) GetParameters

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

GetParameters of this AssessmentTarget

func (*AssessmentTarget) GetProviderConfigReference

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

GetProviderConfigReference of this AssessmentTarget.

func (*AssessmentTarget) GetProviderReference

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

GetProviderReference of this AssessmentTarget. Deprecated: Use GetProviderConfigReference.

func (*AssessmentTarget) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AssessmentTarget.

func (*AssessmentTarget) GetTerraformResourceType

func (mg *AssessmentTarget) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AssessmentTarget

func (*AssessmentTarget) GetTerraformSchemaVersion

func (tr *AssessmentTarget) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AssessmentTarget) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AssessmentTarget.

func (*AssessmentTarget) LateInitialize

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

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

func (*AssessmentTarget) ResolveReferences

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

ResolveReferences of this AssessmentTarget.

func (*AssessmentTarget) SetConditions

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

SetConditions of this AssessmentTarget.

func (*AssessmentTarget) SetDeletionPolicy

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

SetDeletionPolicy of this AssessmentTarget.

func (*AssessmentTarget) SetObservation

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

SetObservation for this AssessmentTarget

func (*AssessmentTarget) SetParameters

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

SetParameters for this AssessmentTarget

func (*AssessmentTarget) SetProviderConfigReference

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

SetProviderConfigReference of this AssessmentTarget.

func (*AssessmentTarget) SetProviderReference

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

SetProviderReference of this AssessmentTarget. Deprecated: Use SetProviderConfigReference.

func (*AssessmentTarget) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AssessmentTarget.

func (*AssessmentTarget) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AssessmentTarget.

type AssessmentTargetList

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

AssessmentTargetList contains a list of AssessmentTargets

func (*AssessmentTargetList) DeepCopy

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

func (*AssessmentTargetList) DeepCopyInto

func (in *AssessmentTargetList) DeepCopyInto(out *AssessmentTargetList)

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

func (*AssessmentTargetList) DeepCopyObject

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

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

func (*AssessmentTargetList) GetItems

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

GetItems of this AssessmentTargetList.

type AssessmentTargetObservation

type AssessmentTargetObservation struct {

	// The target assessment ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*AssessmentTargetObservation) DeepCopy

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

func (*AssessmentTargetObservation) DeepCopyInto

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

type AssessmentTargetParameters

type AssessmentTargetParameters struct {

	// The name of the assessment target.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,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:"-"`

	// Inspector Resource Group Amazon Resource Name (ARN) stating tags for instance matching. If not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/inspector/v1beta1.ResourceGroup
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ResourceGroupArn *string `json:"resourceGroupArn,omitempty" tf:"resource_group_arn,omitempty"`

	// Reference to a ResourceGroup in inspector to populate resourceGroupArn.
	// +kubebuilder:validation:Optional
	ResourceGroupArnRef *v1.Reference `json:"resourceGroupArnRef,omitempty" tf:"-"`

	// Selector for a ResourceGroup in inspector to populate resourceGroupArn.
	// +kubebuilder:validation:Optional
	ResourceGroupArnSelector *v1.Selector `json:"resourceGroupArnSelector,omitempty" tf:"-"`
}

func (*AssessmentTargetParameters) DeepCopy

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

func (*AssessmentTargetParameters) DeepCopyInto

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

type AssessmentTargetSpec

type AssessmentTargetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AssessmentTargetParameters `json:"forProvider"`
}

AssessmentTargetSpec defines the desired state of AssessmentTarget

func (*AssessmentTargetSpec) DeepCopy

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

func (*AssessmentTargetSpec) DeepCopyInto

func (in *AssessmentTargetSpec) DeepCopyInto(out *AssessmentTargetSpec)

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

type AssessmentTargetStatus

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

AssessmentTargetStatus defines the observed state of AssessmentTarget.

func (*AssessmentTargetStatus) DeepCopy

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

func (*AssessmentTargetStatus) DeepCopyInto

func (in *AssessmentTargetStatus) DeepCopyInto(out *AssessmentTargetStatus)

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

type AssessmentTemplate

type AssessmentTemplate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssessmentTemplateSpec   `json:"spec"`
	Status            AssessmentTemplateStatus `json:"status,omitempty"`
}

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

func (*AssessmentTemplate) DeepCopy

func (in *AssessmentTemplate) DeepCopy() *AssessmentTemplate

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

func (*AssessmentTemplate) DeepCopyInto

func (in *AssessmentTemplate) DeepCopyInto(out *AssessmentTemplate)

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

func (*AssessmentTemplate) DeepCopyObject

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

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

func (*AssessmentTemplate) GetCondition

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

GetCondition of this AssessmentTemplate.

func (*AssessmentTemplate) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this AssessmentTemplate

func (*AssessmentTemplate) GetDeletionPolicy

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

GetDeletionPolicy of this AssessmentTemplate.

func (*AssessmentTemplate) GetID

func (tr *AssessmentTemplate) GetID() string

GetID returns ID of underlying Terraform resource of this AssessmentTemplate

func (*AssessmentTemplate) GetObservation

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

GetObservation of this AssessmentTemplate

func (*AssessmentTemplate) GetParameters

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

GetParameters of this AssessmentTemplate

func (*AssessmentTemplate) GetProviderConfigReference

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

GetProviderConfigReference of this AssessmentTemplate.

func (*AssessmentTemplate) GetProviderReference

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

GetProviderReference of this AssessmentTemplate. Deprecated: Use GetProviderConfigReference.

func (*AssessmentTemplate) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this AssessmentTemplate.

func (*AssessmentTemplate) GetTerraformResourceType

func (mg *AssessmentTemplate) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this AssessmentTemplate

func (*AssessmentTemplate) GetTerraformSchemaVersion

func (tr *AssessmentTemplate) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*AssessmentTemplate) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this AssessmentTemplate.

func (*AssessmentTemplate) LateInitialize

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

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

func (*AssessmentTemplate) ResolveReferences

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

ResolveReferences of this AssessmentTemplate.

func (*AssessmentTemplate) SetConditions

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

SetConditions of this AssessmentTemplate.

func (*AssessmentTemplate) SetDeletionPolicy

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

SetDeletionPolicy of this AssessmentTemplate.

func (*AssessmentTemplate) SetObservation

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

SetObservation for this AssessmentTemplate

func (*AssessmentTemplate) SetParameters

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

SetParameters for this AssessmentTemplate

func (*AssessmentTemplate) SetProviderConfigReference

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

SetProviderConfigReference of this AssessmentTemplate.

func (*AssessmentTemplate) SetProviderReference

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

SetProviderReference of this AssessmentTemplate. Deprecated: Use SetProviderConfigReference.

func (*AssessmentTemplate) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this AssessmentTemplate.

func (*AssessmentTemplate) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this AssessmentTemplate.

type AssessmentTemplateList

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

AssessmentTemplateList contains a list of AssessmentTemplates

func (*AssessmentTemplateList) DeepCopy

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

func (*AssessmentTemplateList) DeepCopyInto

func (in *AssessmentTemplateList) DeepCopyInto(out *AssessmentTemplateList)

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

func (*AssessmentTemplateList) DeepCopyObject

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

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

func (*AssessmentTemplateList) GetItems

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

GetItems of this AssessmentTemplateList.

type AssessmentTemplateObservation

type AssessmentTemplateObservation struct {

	// The template assessment ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

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

func (*AssessmentTemplateObservation) DeepCopy

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

func (*AssessmentTemplateObservation) DeepCopyInto

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

type AssessmentTemplateParameters

type AssessmentTemplateParameters struct {

	// The duration of the inspector run.
	// +kubebuilder:validation:Required
	Duration *float64 `json:"duration" tf:"duration,omitempty"`

	// A block that enables sending notifications about a specified assessment template event to a designated SNS topic. See Event Subscriptions for details.
	// +kubebuilder:validation:Optional
	EventSubscription []EventSubscriptionParameters `json:"eventSubscription,omitempty" tf:"event_subscription,omitempty"`

	// The name of the assessment template.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,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:"-"`

	// The rules to be used during the run.
	// +kubebuilder:validation:Required
	RulesPackageArns []*string `json:"rulesPackageArns" tf:"rules_package_arns,omitempty"`

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

	// The assessment target ARN to attach the template to.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/inspector/v1beta1.AssessmentTarget
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	TargetArn *string `json:"targetArn,omitempty" tf:"target_arn,omitempty"`

	// Reference to a AssessmentTarget in inspector to populate targetArn.
	// +kubebuilder:validation:Optional
	TargetArnRef *v1.Reference `json:"targetArnRef,omitempty" tf:"-"`

	// Selector for a AssessmentTarget in inspector to populate targetArn.
	// +kubebuilder:validation:Optional
	TargetArnSelector *v1.Selector `json:"targetArnSelector,omitempty" tf:"-"`
}

func (*AssessmentTemplateParameters) DeepCopy

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

func (*AssessmentTemplateParameters) DeepCopyInto

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

type AssessmentTemplateSpec

type AssessmentTemplateSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     AssessmentTemplateParameters `json:"forProvider"`
}

AssessmentTemplateSpec defines the desired state of AssessmentTemplate

func (*AssessmentTemplateSpec) DeepCopy

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

func (*AssessmentTemplateSpec) DeepCopyInto

func (in *AssessmentTemplateSpec) DeepCopyInto(out *AssessmentTemplateSpec)

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

type AssessmentTemplateStatus

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

AssessmentTemplateStatus defines the observed state of AssessmentTemplate.

func (*AssessmentTemplateStatus) DeepCopy

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

func (*AssessmentTemplateStatus) DeepCopyInto

func (in *AssessmentTemplateStatus) DeepCopyInto(out *AssessmentTemplateStatus)

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

type EventSubscriptionObservation added in v0.29.0

type EventSubscriptionObservation struct {
}

func (*EventSubscriptionObservation) DeepCopy added in v0.29.0

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

func (*EventSubscriptionObservation) DeepCopyInto added in v0.29.0

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

type EventSubscriptionParameters added in v0.29.0

type EventSubscriptionParameters struct {

	// The event for which you want to receive SNS notifications. Valid values are ASSESSMENT_RUN_STARTED, ASSESSMENT_RUN_COMPLETED, ASSESSMENT_RUN_STATE_CHANGED, and FINDING_REPORTED.
	// +kubebuilder:validation:Required
	Event *string `json:"event" tf:"event,omitempty"`

	// The ARN of the SNS topic to which notifications are sent.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/sns/v1beta1.Topic
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	TopicArn *string `json:"topicArn,omitempty" tf:"topic_arn,omitempty"`

	// Reference to a Topic in sns to populate topicArn.
	// +kubebuilder:validation:Optional
	TopicArnRef *v1.Reference `json:"topicArnRef,omitempty" tf:"-"`

	// Selector for a Topic in sns to populate topicArn.
	// +kubebuilder:validation:Optional
	TopicArnSelector *v1.Selector `json:"topicArnSelector,omitempty" tf:"-"`
}

func (*EventSubscriptionParameters) DeepCopy added in v0.29.0

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

func (*EventSubscriptionParameters) DeepCopyInto added in v0.29.0

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

type ResourceGroup

type ResourceGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceGroupSpec   `json:"spec"`
	Status            ResourceGroupStatus `json:"status,omitempty"`
}

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

func (*ResourceGroup) DeepCopy

func (in *ResourceGroup) DeepCopy() *ResourceGroup

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

func (*ResourceGroup) DeepCopyInto

func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)

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

func (*ResourceGroup) DeepCopyObject

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

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

func (*ResourceGroup) GetCondition

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

GetCondition of this ResourceGroup.

func (*ResourceGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ResourceGroup

func (*ResourceGroup) GetDeletionPolicy

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

GetDeletionPolicy of this ResourceGroup.

func (*ResourceGroup) GetID

func (tr *ResourceGroup) GetID() string

GetID returns ID of underlying Terraform resource of this ResourceGroup

func (*ResourceGroup) GetObservation

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

GetObservation of this ResourceGroup

func (*ResourceGroup) GetParameters

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

GetParameters of this ResourceGroup

func (*ResourceGroup) GetProviderConfigReference

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

GetProviderConfigReference of this ResourceGroup.

func (*ResourceGroup) GetProviderReference

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

GetProviderReference of this ResourceGroup. Deprecated: Use GetProviderConfigReference.

func (*ResourceGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourceGroup.

func (*ResourceGroup) GetTerraformResourceType

func (mg *ResourceGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceGroup

func (*ResourceGroup) GetTerraformSchemaVersion

func (tr *ResourceGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceGroup.

func (*ResourceGroup) LateInitialize

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

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

func (*ResourceGroup) SetConditions

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

SetConditions of this ResourceGroup.

func (*ResourceGroup) SetDeletionPolicy

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

SetDeletionPolicy of this ResourceGroup.

func (*ResourceGroup) SetObservation

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

SetObservation for this ResourceGroup

func (*ResourceGroup) SetParameters

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

SetParameters for this ResourceGroup

func (*ResourceGroup) SetProviderConfigReference

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

SetProviderConfigReference of this ResourceGroup.

func (*ResourceGroup) SetProviderReference

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

SetProviderReference of this ResourceGroup. Deprecated: Use SetProviderConfigReference.

func (*ResourceGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ResourceGroup.

func (*ResourceGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ResourceGroup.

type ResourceGroupList

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

ResourceGroupList contains a list of ResourceGroups

func (*ResourceGroupList) DeepCopy

func (in *ResourceGroupList) DeepCopy() *ResourceGroupList

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

func (*ResourceGroupList) DeepCopyInto

func (in *ResourceGroupList) DeepCopyInto(out *ResourceGroupList)

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

func (*ResourceGroupList) DeepCopyObject

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

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

func (*ResourceGroupList) GetItems

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

GetItems of this ResourceGroupList.

type ResourceGroupObservation

type ResourceGroupObservation struct {

	// The resource group ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*ResourceGroupObservation) DeepCopy

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

func (*ResourceGroupObservation) DeepCopyInto

func (in *ResourceGroupObservation) DeepCopyInto(out *ResourceGroupObservation)

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

type ResourceGroupParameters

type ResourceGroupParameters struct {

	// 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:Required
	Tags map[string]*string `json:"tags" tf:"tags,omitempty"`
}

func (*ResourceGroupParameters) DeepCopy

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

func (*ResourceGroupParameters) DeepCopyInto

func (in *ResourceGroupParameters) DeepCopyInto(out *ResourceGroupParameters)

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

type ResourceGroupSpec

type ResourceGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourceGroupParameters `json:"forProvider"`
}

ResourceGroupSpec defines the desired state of ResourceGroup

func (*ResourceGroupSpec) DeepCopy

func (in *ResourceGroupSpec) DeepCopy() *ResourceGroupSpec

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

func (*ResourceGroupSpec) DeepCopyInto

func (in *ResourceGroupSpec) DeepCopyInto(out *ResourceGroupSpec)

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

type ResourceGroupStatus

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

ResourceGroupStatus defines the observed state of ResourceGroup.

func (*ResourceGroupStatus) DeepCopy

func (in *ResourceGroupStatus) DeepCopy() *ResourceGroupStatus

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

func (*ResourceGroupStatus) DeepCopyInto

func (in *ResourceGroupStatus) DeepCopyInto(out *ResourceGroupStatus)

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