v1alpha1

package
v0.5.0-preview Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=cloudtrail.aws.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "cloudtrail.aws.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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 (
	Trail_Kind             = "Trail"
	Trail_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Trail_Kind}.String()
	Trail_KindAPIVersion   = Trail_Kind + "." + CRDGroupVersion.String()
	Trail_GroupVersionKind = CRDGroupVersion.WithKind(Trail_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DataResourceObservation

type DataResourceObservation struct {
}

func (*DataResourceObservation) DeepCopy

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

func (*DataResourceObservation) DeepCopyInto

func (in *DataResourceObservation) DeepCopyInto(out *DataResourceObservation)

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

type DataResourceParameters

type DataResourceParameters struct {

	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`

	// +kubebuilder:validation:Required
	Values []*string `json:"values" tf:"values,omitempty"`
}

func (*DataResourceParameters) DeepCopy

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

func (*DataResourceParameters) DeepCopyInto

func (in *DataResourceParameters) DeepCopyInto(out *DataResourceParameters)

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

type EventSelectorObservation

type EventSelectorObservation struct {
}

func (*EventSelectorObservation) DeepCopy

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

func (*EventSelectorObservation) DeepCopyInto

func (in *EventSelectorObservation) DeepCopyInto(out *EventSelectorObservation)

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

type EventSelectorParameters

type EventSelectorParameters struct {

	// +kubebuilder:validation:Optional
	DataResource []DataResourceParameters `json:"dataResource,omitempty" tf:"data_resource,omitempty"`

	// +kubebuilder:validation:Optional
	IncludeManagementEvents *bool `json:"includeManagementEvents,omitempty" tf:"include_management_events,omitempty"`

	// +kubebuilder:validation:Optional
	ReadWriteType *string `json:"readWriteType,omitempty" tf:"read_write_type,omitempty"`
}

func (*EventSelectorParameters) DeepCopy

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

func (*EventSelectorParameters) DeepCopyInto

func (in *EventSelectorParameters) DeepCopyInto(out *EventSelectorParameters)

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

type InsightSelectorObservation

type InsightSelectorObservation struct {
}

func (*InsightSelectorObservation) DeepCopy

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

func (*InsightSelectorObservation) DeepCopyInto

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

type InsightSelectorParameters

type InsightSelectorParameters struct {

	// +kubebuilder:validation:Required
	InsightType *string `json:"insightType" tf:"insight_type,omitempty"`
}

func (*InsightSelectorParameters) DeepCopy

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

func (*InsightSelectorParameters) DeepCopyInto

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

type Trail

type Trail struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TrailSpec   `json:"spec"`
	Status            TrailStatus `json:"status,omitempty"`
}

Trail is the Schema for the Trails API +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,awsjet}

func (*Trail) DeepCopy

func (in *Trail) DeepCopy() *Trail

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

func (*Trail) DeepCopyInto

func (in *Trail) DeepCopyInto(out *Trail)

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

func (*Trail) DeepCopyObject

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

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

func (*Trail) GetCondition

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

GetCondition of this Trail.

func (*Trail) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Trail

func (*Trail) GetDeletionPolicy

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

GetDeletionPolicy of this Trail.

func (*Trail) GetID

func (tr *Trail) GetID() string

GetID returns ID of underlying Terraform resource of this Trail

func (*Trail) GetObservation

func (tr *Trail) GetObservation() (map[string]interface{}, error)

GetObservation of this Trail

func (*Trail) GetParameters

func (tr *Trail) GetParameters() (map[string]interface{}, error)

GetParameters of this Trail

func (*Trail) GetProviderConfigReference

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

GetProviderConfigReference of this Trail.

func (*Trail) GetProviderReference

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

GetProviderReference of this Trail. Deprecated: Use GetProviderConfigReference.

func (*Trail) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Trail.

func (*Trail) GetTerraformResourceType

func (mg *Trail) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Trail

func (*Trail) GetTerraformSchemaVersion

func (tr *Trail) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Trail) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Trail.

func (*Trail) LateInitialize

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

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

func (*Trail) ResolveReferences

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

ResolveReferences of this Trail.

func (*Trail) SetConditions

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

SetConditions of this Trail.

func (*Trail) SetDeletionPolicy

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

SetDeletionPolicy of this Trail.

func (*Trail) SetObservation

func (tr *Trail) SetObservation(obs map[string]interface{}) error

SetObservation for this Trail

func (*Trail) SetParameters

func (tr *Trail) SetParameters(params map[string]interface{}) error

SetParameters for this Trail

func (*Trail) SetProviderConfigReference

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

SetProviderConfigReference of this Trail.

func (*Trail) SetProviderReference

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

SetProviderReference of this Trail. Deprecated: Use SetProviderConfigReference.

func (*Trail) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Trail.

func (*Trail) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Trail.

type TrailList

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

TrailList contains a list of Trails

func (*TrailList) DeepCopy

func (in *TrailList) DeepCopy() *TrailList

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

func (*TrailList) DeepCopyInto

func (in *TrailList) DeepCopyInto(out *TrailList)

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

func (*TrailList) DeepCopyObject

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

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

func (*TrailList) GetItems

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

GetItems of this TrailList.

type TrailObservation

type TrailObservation struct {
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	HomeRegion *string `json:"homeRegion,omitempty" tf:"home_region,omitempty"`

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

	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*TrailObservation) DeepCopy

func (in *TrailObservation) DeepCopy() *TrailObservation

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

func (*TrailObservation) DeepCopyInto

func (in *TrailObservation) DeepCopyInto(out *TrailObservation)

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

type TrailParameters

type TrailParameters struct {

	// +kubebuilder:validation:Optional
	CloudWatchLogsGroupArn *string `json:"cloudWatchLogsGroupArn,omitempty" tf:"cloud_watch_logs_group_arn,omitempty"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-aws/apis/iam/v1alpha2.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane-contrib/provider-jet-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	CloudWatchLogsRoleArn *string `json:"cloudWatchLogsRoleArn,omitempty" tf:"cloud_watch_logs_role_arn,omitempty"`

	// +kubebuilder:validation:Optional
	CloudWatchLogsRoleArnRef *v1.Reference `json:"cloudWatchLogsRoleArnRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	CloudWatchLogsRoleArnSelector *v1.Selector `json:"cloudWatchLogsRoleArnSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	EnableLogFileValidation *bool `json:"enableLogFileValidation,omitempty" tf:"enable_log_file_validation,omitempty"`

	// +kubebuilder:validation:Optional
	EnableLogging *bool `json:"enableLogging,omitempty" tf:"enable_logging,omitempty"`

	// +kubebuilder:validation:Optional
	EventSelector []EventSelectorParameters `json:"eventSelector,omitempty" tf:"event_selector,omitempty"`

	// +kubebuilder:validation:Optional
	IncludeGlobalServiceEvents *bool `json:"includeGlobalServiceEvents,omitempty" tf:"include_global_service_events,omitempty"`

	// +kubebuilder:validation:Optional
	InsightSelector []InsightSelectorParameters `json:"insightSelector,omitempty" tf:"insight_selector,omitempty"`

	// +kubebuilder:validation:Optional
	IsMultiRegionTrail *bool `json:"isMultiRegionTrail,omitempty" tf:"is_multi_region_trail,omitempty"`

	// +kubebuilder:validation:Optional
	IsOrganizationTrail *bool `json:"isOrganizationTrail,omitempty" tf:"is_organization_trail,omitempty"`

	// +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-jet-aws/apis/kms/v1alpha2.Key
	// +kubebuilder:validation:Optional
	KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"`

	// +kubebuilder:validation:Optional
	KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

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

	// +kubebuilder:validation:Required
	S3BucketName *string `json:"s3BucketName" tf:"s3_bucket_name,omitempty"`

	// +kubebuilder:validation:Optional
	S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"`

	// +kubebuilder:validation:Optional
	SnsTopicName *string `json:"snsTopicName,omitempty" tf:"sns_topic_name,omitempty"`

	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*TrailParameters) DeepCopy

func (in *TrailParameters) DeepCopy() *TrailParameters

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

func (*TrailParameters) DeepCopyInto

func (in *TrailParameters) DeepCopyInto(out *TrailParameters)

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

type TrailSpec

type TrailSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TrailParameters `json:"forProvider"`
}

TrailSpec defines the desired state of Trail

func (*TrailSpec) DeepCopy

func (in *TrailSpec) DeepCopy() *TrailSpec

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

func (*TrailSpec) DeepCopyInto

func (in *TrailSpec) DeepCopyInto(out *TrailSpec)

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

type TrailStatus

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

TrailStatus defines the observed state of Trail.

func (*TrailStatus) DeepCopy

func (in *TrailStatus) DeepCopy() *TrailStatus

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

func (*TrailStatus) DeepCopyInto

func (in *TrailStatus) DeepCopyInto(out *TrailStatus)

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