Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudtrail.aws.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type DataResourceObservation
- type DataResourceParameters
- type EventSelectorObservation
- type EventSelectorParameters
- type InsightSelectorObservation
- type InsightSelectorParameters
- type Trail
- func (in *Trail) DeepCopy() *Trail
- func (in *Trail) DeepCopyInto(out *Trail)
- func (in *Trail) DeepCopyObject() runtime.Object
- func (mg *Trail) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Trail) GetConnectionDetailsMapping() map[string]string
- func (mg *Trail) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Trail) GetID() string
- func (tr *Trail) GetObservation() (map[string]interface{}, error)
- func (tr *Trail) GetParameters() (map[string]interface{}, error)
- func (mg *Trail) GetProviderConfigReference() *xpv1.Reference
- func (mg *Trail) GetProviderReference() *xpv1.Reference
- func (mg *Trail) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Trail) GetTerraformResourceType() string
- func (tr *Trail) GetTerraformSchemaVersion() int
- func (mg *Trail) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Trail) LateInitialize(attrs []byte) (bool, error)
- func (mg *Trail) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Trail) SetConditions(c ...xpv1.Condition)
- func (mg *Trail) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Trail) SetObservation(obs map[string]interface{}) error
- func (tr *Trail) SetParameters(params map[string]interface{}) error
- func (mg *Trail) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Trail) SetProviderReference(r *xpv1.Reference)
- func (mg *Trail) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Trail) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TrailList
- type TrailObservation
- type TrailParameters
- type TrailSpec
- type TrailStatus
Constants ¶
const ( CRDGroup = "cloudtrail.aws.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
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 ¶
func (in *DataResourceObservation) DeepCopy() *DataResourceObservation
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 ¶
func (in *DataResourceParameters) DeepCopy() *DataResourceParameters
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 ¶
func (in *EventSelectorObservation) DeepCopy() *EventSelectorObservation
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 ¶
func (in *EventSelectorParameters) DeepCopy() *EventSelectorParameters
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 ¶
func (in *InsightSelectorObservation) DeepCopy() *InsightSelectorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightSelectorObservation.
func (*InsightSelectorObservation) DeepCopyInto ¶
func (in *InsightSelectorObservation) DeepCopyInto(out *InsightSelectorObservation)
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 ¶
func (in *InsightSelectorParameters) DeepCopy() *InsightSelectorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InsightSelectorParameters.
func (*InsightSelectorParameters) DeepCopyInto ¶
func (in *InsightSelectorParameters) DeepCopyInto(out *InsightSelectorParameters)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trail.
func (*Trail) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trail) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Trail
func (*Trail) GetDeletionPolicy ¶
func (mg *Trail) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Trail.
func (*Trail) GetObservation ¶
GetObservation of this Trail
func (*Trail) GetParameters ¶
GetParameters of this Trail
func (*Trail) GetProviderConfigReference ¶
GetProviderConfigReference of this Trail.
func (*Trail) GetProviderReference ¶
GetProviderReference of this Trail. Deprecated: Use GetProviderConfigReference.
func (*Trail) GetPublishConnectionDetailsTo ¶
func (mg *Trail) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Trail.
func (*Trail) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Trail
func (*Trail) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Trail) GetWriteConnectionSecretToReference ¶
func (mg *Trail) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Trail.
func (*Trail) LateInitialize ¶
LateInitialize this Trail using its observed tfState. returns True if there are any spec changes for the resource.
func (*Trail) ResolveReferences ¶
ResolveReferences of this Trail.
func (*Trail) SetConditions ¶
SetConditions of this Trail.
func (*Trail) SetDeletionPolicy ¶
func (mg *Trail) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Trail.
func (*Trail) SetObservation ¶
SetObservation for this Trail
func (*Trail) SetParameters ¶
SetParameters for this Trail
func (*Trail) SetProviderConfigReference ¶
SetProviderConfigReference of this Trail.
func (*Trail) SetProviderReference ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrailList.
func (*TrailList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TrailList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrailSpec.
func (*TrailSpec) DeepCopyInto ¶
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.