Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=cloudtrail.aws.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type AdvancedEventSelectorFieldSelectorObservation
- type AdvancedEventSelectorFieldSelectorParameters
- type AdvancedEventSelectorObservation
- type AdvancedEventSelectorParameters
- type DataResourceObservation
- type DataResourceParameters
- type EventDataStore
- func (in *EventDataStore) DeepCopy() *EventDataStore
- func (in *EventDataStore) DeepCopyInto(out *EventDataStore)
- func (in *EventDataStore) DeepCopyObject() runtime.Object
- func (mg *EventDataStore) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *EventDataStore) GetConnectionDetailsMapping() map[string]string
- func (mg *EventDataStore) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *EventDataStore) GetID() string
- func (mg *EventDataStore) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *EventDataStore) GetObservation() (map[string]any, error)
- func (tr *EventDataStore) GetParameters() (map[string]any, error)
- func (mg *EventDataStore) GetProviderConfigReference() *xpv1.Reference
- func (mg *EventDataStore) GetProviderReference() *xpv1.Reference
- func (mg *EventDataStore) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *EventDataStore) GetTerraformResourceType() string
- func (tr *EventDataStore) GetTerraformSchemaVersion() int
- func (mg *EventDataStore) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *EventDataStore) LateInitialize(attrs []byte) (bool, error)
- func (mg *EventDataStore) SetConditions(c ...xpv1.Condition)
- func (mg *EventDataStore) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *EventDataStore) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *EventDataStore) SetObservation(obs map[string]any) error
- func (tr *EventDataStore) SetParameters(params map[string]any) error
- func (mg *EventDataStore) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *EventDataStore) SetProviderReference(r *xpv1.Reference)
- func (mg *EventDataStore) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *EventDataStore) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type EventDataStoreAdvancedEventSelectorObservation
- type EventDataStoreAdvancedEventSelectorParameters
- type EventDataStoreList
- type EventDataStoreObservation
- type EventDataStoreParameters
- type EventDataStoreSpec
- type EventDataStoreStatus
- type EventSelectorObservation
- type EventSelectorParameters
- type FieldSelectorObservation
- type FieldSelectorParameters
- 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 (mg *Trail) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Trail) GetObservation() (map[string]any, error)
- func (tr *Trail) GetParameters() (map[string]any, 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 (mg *Trail) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Trail) SetObservation(obs map[string]any) error
- func (tr *Trail) SetParameters(params map[string]any) 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.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
var ( EventDataStore_Kind = "EventDataStore" EventDataStore_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: EventDataStore_Kind}.String() EventDataStore_KindAPIVersion = EventDataStore_Kind + "." + CRDGroupVersion.String() EventDataStore_GroupVersionKind = CRDGroupVersion.WithKind(EventDataStore_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
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 AdvancedEventSelectorFieldSelectorObservation ¶
type AdvancedEventSelectorFieldSelectorObservation struct { // A list of values that includes events that match the last few characters of the event record field specified as the value of field. EndsWith []*string `json:"endsWith,omitempty" tf:"ends_with,omitempty"` // A list of values that includes events that match the exact value of the event record field specified as the value of field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields. Equals []*string `json:"equals,omitempty" tf:"equals,omitempty"` // Specifies a field in an event record on which to filter events to be logged. You can specify only the following values: readOnly, eventSource, eventName, eventCategory, resources.type, resources.ARN. Field *string `json:"field,omitempty" tf:"field,omitempty"` // A list of values that excludes events that match the last few characters of the event record field specified as the value of field. NotEndsWith []*string `json:"notEndsWith,omitempty" tf:"not_ends_with,omitempty"` // A list of values that excludes events that match the exact value of the event record field specified as the value of field. NotEquals []*string `json:"notEquals,omitempty" tf:"not_equals,omitempty"` // A list of values that excludes events that match the first few characters of the event record field specified as the value of field. NotStartsWith []*string `json:"notStartsWith,omitempty" tf:"not_starts_with,omitempty"` // A list of values that includes events that match the first few characters of the event record field specified as the value of field. StartsWith []*string `json:"startsWith,omitempty" tf:"starts_with,omitempty"` }
func (*AdvancedEventSelectorFieldSelectorObservation) DeepCopy ¶
func (in *AdvancedEventSelectorFieldSelectorObservation) DeepCopy() *AdvancedEventSelectorFieldSelectorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedEventSelectorFieldSelectorObservation.
func (*AdvancedEventSelectorFieldSelectorObservation) DeepCopyInto ¶
func (in *AdvancedEventSelectorFieldSelectorObservation) DeepCopyInto(out *AdvancedEventSelectorFieldSelectorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedEventSelectorFieldSelectorParameters ¶
type AdvancedEventSelectorFieldSelectorParameters struct { // A list of values that includes events that match the last few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional EndsWith []*string `json:"endsWith,omitempty" tf:"ends_with,omitempty"` // A list of values that includes events that match the exact value of the event record field specified as the value of field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields. // +kubebuilder:validation:Optional Equals []*string `json:"equals,omitempty" tf:"equals,omitempty"` // Specifies a field in an event record on which to filter events to be logged. You can specify only the following values: readOnly, eventSource, eventName, eventCategory, resources.type, resources.ARN. // +kubebuilder:validation:Optional Field *string `json:"field,omitempty" tf:"field,omitempty"` // A list of values that excludes events that match the last few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional NotEndsWith []*string `json:"notEndsWith,omitempty" tf:"not_ends_with,omitempty"` // A list of values that excludes events that match the exact value of the event record field specified as the value of field. // +kubebuilder:validation:Optional NotEquals []*string `json:"notEquals,omitempty" tf:"not_equals,omitempty"` // A list of values that excludes events that match the first few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional NotStartsWith []*string `json:"notStartsWith,omitempty" tf:"not_starts_with,omitempty"` // A list of values that includes events that match the first few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional StartsWith []*string `json:"startsWith,omitempty" tf:"starts_with,omitempty"` }
func (*AdvancedEventSelectorFieldSelectorParameters) DeepCopy ¶
func (in *AdvancedEventSelectorFieldSelectorParameters) DeepCopy() *AdvancedEventSelectorFieldSelectorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedEventSelectorFieldSelectorParameters.
func (*AdvancedEventSelectorFieldSelectorParameters) DeepCopyInto ¶
func (in *AdvancedEventSelectorFieldSelectorParameters) DeepCopyInto(out *AdvancedEventSelectorFieldSelectorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedEventSelectorObservation ¶
type AdvancedEventSelectorObservation struct { // Specifies the selector statements in an advanced event selector. Fields documented below. FieldSelector []FieldSelectorObservation `json:"fieldSelector,omitempty" tf:"field_selector,omitempty"` // Name of the trail. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*AdvancedEventSelectorObservation) DeepCopy ¶
func (in *AdvancedEventSelectorObservation) DeepCopy() *AdvancedEventSelectorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedEventSelectorObservation.
func (*AdvancedEventSelectorObservation) DeepCopyInto ¶
func (in *AdvancedEventSelectorObservation) DeepCopyInto(out *AdvancedEventSelectorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AdvancedEventSelectorParameters ¶
type AdvancedEventSelectorParameters struct { // Specifies the selector statements in an advanced event selector. Fields documented below. // +kubebuilder:validation:Required FieldSelector []FieldSelectorParameters `json:"fieldSelector" tf:"field_selector,omitempty"` // Name of the trail. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*AdvancedEventSelectorParameters) DeepCopy ¶
func (in *AdvancedEventSelectorParameters) DeepCopy() *AdvancedEventSelectorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedEventSelectorParameters.
func (*AdvancedEventSelectorParameters) DeepCopyInto ¶
func (in *AdvancedEventSelectorParameters) DeepCopyInto(out *AdvancedEventSelectorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataResourceObservation ¶
type DataResourceObservation struct { // Resource type in which you want to log data events. You can specify only the following value: "AWS::S3::Object", "AWS::Lambda::Function" and "AWS::DynamoDB::Table". Type *string `json:"type,omitempty" tf:"type,omitempty"` // List of ARN strings or partial ARN strings to specify selectors for data audit events over data resources. ARN list is specific to single-valued type. For example, arn:aws:s3:::<bucket name>/ for all objects in a bucket, arn:aws:s3:::<bucket name>/key for specific objects, arn:aws:lambda for all lambda events within an account, arn:aws:lambda:<region>:<account number>:function:<function name> for a specific Lambda function, arn:aws:dynamodb for all DDB events for all tables within an account, or arn:aws:dynamodb:<region>:<account number>:table/<table name> for a specific DynamoDB table. Values []*string `json:"values,omitempty" tf:"values,omitempty"` }
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 { // Resource type in which you want to log data events. You can specify only the following value: "AWS::S3::Object", "AWS::Lambda::Function" and "AWS::DynamoDB::Table". // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // List of ARN strings or partial ARN strings to specify selectors for data audit events over data resources. ARN list is specific to single-valued type. For example, arn:aws:s3:::<bucket name>/ for all objects in a bucket, arn:aws:s3:::<bucket name>/key for specific objects, arn:aws:lambda for all lambda events within an account, arn:aws:lambda:<region>:<account number>:function:<function name> for a specific Lambda function, arn:aws:dynamodb for all DDB events for all tables within an account, or arn:aws:dynamodb:<region>:<account number>:table/<table name> for a specific DynamoDB table. // +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 EventDataStore ¶
type EventDataStore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter" Spec EventDataStoreSpec `json:"spec"` Status EventDataStoreStatus `json:"status,omitempty"` }
EventDataStore is the Schema for the EventDataStores API. Provides a CloudTrail Event Data Store 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 (*EventDataStore) DeepCopy ¶
func (in *EventDataStore) DeepCopy() *EventDataStore
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStore.
func (*EventDataStore) DeepCopyInto ¶
func (in *EventDataStore) DeepCopyInto(out *EventDataStore)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventDataStore) DeepCopyObject ¶
func (in *EventDataStore) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EventDataStore) GetCondition ¶
func (mg *EventDataStore) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this EventDataStore.
func (*EventDataStore) GetConnectionDetailsMapping ¶
func (tr *EventDataStore) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this EventDataStore
func (*EventDataStore) GetDeletionPolicy ¶
func (mg *EventDataStore) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this EventDataStore.
func (*EventDataStore) GetID ¶
func (tr *EventDataStore) GetID() string
GetID returns ID of underlying Terraform resource of this EventDataStore
func (*EventDataStore) GetManagementPolicy ¶
func (mg *EventDataStore) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this EventDataStore.
func (*EventDataStore) GetObservation ¶
func (tr *EventDataStore) GetObservation() (map[string]any, error)
GetObservation of this EventDataStore
func (*EventDataStore) GetParameters ¶
func (tr *EventDataStore) GetParameters() (map[string]any, error)
GetParameters of this EventDataStore
func (*EventDataStore) GetProviderConfigReference ¶
func (mg *EventDataStore) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this EventDataStore.
func (*EventDataStore) GetProviderReference ¶
func (mg *EventDataStore) GetProviderReference() *xpv1.Reference
GetProviderReference of this EventDataStore. Deprecated: Use GetProviderConfigReference.
func (*EventDataStore) GetPublishConnectionDetailsTo ¶
func (mg *EventDataStore) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this EventDataStore.
func (*EventDataStore) GetTerraformResourceType ¶
func (mg *EventDataStore) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this EventDataStore
func (*EventDataStore) GetTerraformSchemaVersion ¶
func (tr *EventDataStore) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*EventDataStore) GetWriteConnectionSecretToReference ¶
func (mg *EventDataStore) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this EventDataStore.
func (*EventDataStore) LateInitialize ¶
func (tr *EventDataStore) LateInitialize(attrs []byte) (bool, error)
LateInitialize this EventDataStore using its observed tfState. returns True if there are any spec changes for the resource.
func (*EventDataStore) SetConditions ¶
func (mg *EventDataStore) SetConditions(c ...xpv1.Condition)
SetConditions of this EventDataStore.
func (*EventDataStore) SetDeletionPolicy ¶
func (mg *EventDataStore) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this EventDataStore.
func (*EventDataStore) SetManagementPolicy ¶
func (mg *EventDataStore) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this EventDataStore.
func (*EventDataStore) SetObservation ¶
func (tr *EventDataStore) SetObservation(obs map[string]any) error
SetObservation for this EventDataStore
func (*EventDataStore) SetParameters ¶
func (tr *EventDataStore) SetParameters(params map[string]any) error
SetParameters for this EventDataStore
func (*EventDataStore) SetProviderConfigReference ¶
func (mg *EventDataStore) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this EventDataStore.
func (*EventDataStore) SetProviderReference ¶
func (mg *EventDataStore) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this EventDataStore. Deprecated: Use SetProviderConfigReference.
func (*EventDataStore) SetPublishConnectionDetailsTo ¶
func (mg *EventDataStore) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this EventDataStore.
func (*EventDataStore) SetWriteConnectionSecretToReference ¶
func (mg *EventDataStore) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this EventDataStore.
type EventDataStoreAdvancedEventSelectorObservation ¶
type EventDataStoreAdvancedEventSelectorObservation struct { // Specifies the selector statements in an advanced event selector. Fields documented below. FieldSelector []AdvancedEventSelectorFieldSelectorObservation `json:"fieldSelector,omitempty" tf:"field_selector,omitempty"` // The name of the event data store. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*EventDataStoreAdvancedEventSelectorObservation) DeepCopy ¶
func (in *EventDataStoreAdvancedEventSelectorObservation) DeepCopy() *EventDataStoreAdvancedEventSelectorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStoreAdvancedEventSelectorObservation.
func (*EventDataStoreAdvancedEventSelectorObservation) DeepCopyInto ¶
func (in *EventDataStoreAdvancedEventSelectorObservation) DeepCopyInto(out *EventDataStoreAdvancedEventSelectorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventDataStoreAdvancedEventSelectorParameters ¶
type EventDataStoreAdvancedEventSelectorParameters struct { // Specifies the selector statements in an advanced event selector. Fields documented below. // +kubebuilder:validation:Optional FieldSelector []AdvancedEventSelectorFieldSelectorParameters `json:"fieldSelector,omitempty" tf:"field_selector,omitempty"` // The name of the event data store. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*EventDataStoreAdvancedEventSelectorParameters) DeepCopy ¶
func (in *EventDataStoreAdvancedEventSelectorParameters) DeepCopy() *EventDataStoreAdvancedEventSelectorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStoreAdvancedEventSelectorParameters.
func (*EventDataStoreAdvancedEventSelectorParameters) DeepCopyInto ¶
func (in *EventDataStoreAdvancedEventSelectorParameters) DeepCopyInto(out *EventDataStoreAdvancedEventSelectorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventDataStoreList ¶
type EventDataStoreList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EventDataStore `json:"items"` }
EventDataStoreList contains a list of EventDataStores
func (*EventDataStoreList) DeepCopy ¶
func (in *EventDataStoreList) DeepCopy() *EventDataStoreList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStoreList.
func (*EventDataStoreList) DeepCopyInto ¶
func (in *EventDataStoreList) DeepCopyInto(out *EventDataStoreList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventDataStoreList) DeepCopyObject ¶
func (in *EventDataStoreList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EventDataStoreList) GetItems ¶
func (l *EventDataStoreList) GetItems() []resource.Managed
GetItems of this EventDataStoreList.
type EventDataStoreObservation ¶
type EventDataStoreObservation struct { // The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide. AdvancedEventSelector []EventDataStoreAdvancedEventSelectorObservation `json:"advancedEventSelector,omitempty" tf:"advanced_event_selector,omitempty"` // ARN of the event data store. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // Name of the event data store. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created. Default: true. MultiRegionEnabled *bool `json:"multiRegionEnabled,omitempty" tf:"multi_region_enabled,omitempty"` // The name of the event data store. Name *string `json:"name,omitempty" tf:"name,omitempty"` // Specifies whether an event data store collects events logged for an organization in AWS Organizations. Default: false. OrganizationEnabled *bool `json:"organizationEnabled,omitempty" tf:"organization_enabled,omitempty"` // The retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years. Default: 2555. RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` // Key-value map of resource tags. Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"` // Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled. Default: true. TerminationProtectionEnabled *bool `json:"terminationProtectionEnabled,omitempty" tf:"termination_protection_enabled,omitempty"` }
func (*EventDataStoreObservation) DeepCopy ¶
func (in *EventDataStoreObservation) DeepCopy() *EventDataStoreObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStoreObservation.
func (*EventDataStoreObservation) DeepCopyInto ¶
func (in *EventDataStoreObservation) DeepCopyInto(out *EventDataStoreObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventDataStoreParameters ¶
type EventDataStoreParameters struct { // The advanced event selectors to use to select the events for the data store. For more information about how to use advanced event selectors, see Log events by using advanced event selectors in the CloudTrail User Guide. // +kubebuilder:validation:Optional AdvancedEventSelector []EventDataStoreAdvancedEventSelectorParameters `json:"advancedEventSelector,omitempty" tf:"advanced_event_selector,omitempty"` // Specifies whether the event data store includes events from all regions, or only from the region in which the event data store is created. Default: true. // +kubebuilder:validation:Optional MultiRegionEnabled *bool `json:"multiRegionEnabled,omitempty" tf:"multi_region_enabled,omitempty"` // The name of the event data store. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // Specifies whether an event data store collects events logged for an organization in AWS Organizations. Default: false. // +kubebuilder:validation:Optional OrganizationEnabled *bool `json:"organizationEnabled,omitempty" tf:"organization_enabled,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 retention period of the event data store, in days. You can set a retention period of up to 2555 days, the equivalent of seven years. Default: 2555. // +kubebuilder:validation:Optional RetentionPeriod *float64 `json:"retentionPeriod,omitempty" tf:"retention_period,omitempty"` // Key-value map of resource tags. // +kubebuilder:validation:Optional Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Specifies whether termination protection is enabled for the event data store. If termination protection is enabled, you cannot delete the event data store until termination protection is disabled. Default: true. // +kubebuilder:validation:Optional TerminationProtectionEnabled *bool `json:"terminationProtectionEnabled,omitempty" tf:"termination_protection_enabled,omitempty"` }
func (*EventDataStoreParameters) DeepCopy ¶
func (in *EventDataStoreParameters) DeepCopy() *EventDataStoreParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStoreParameters.
func (*EventDataStoreParameters) DeepCopyInto ¶
func (in *EventDataStoreParameters) DeepCopyInto(out *EventDataStoreParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventDataStoreSpec ¶
type EventDataStoreSpec struct { v1.ResourceSpec `json:",inline"` ForProvider EventDataStoreParameters `json:"forProvider"` }
EventDataStoreSpec defines the desired state of EventDataStore
func (*EventDataStoreSpec) DeepCopy ¶
func (in *EventDataStoreSpec) DeepCopy() *EventDataStoreSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStoreSpec.
func (*EventDataStoreSpec) DeepCopyInto ¶
func (in *EventDataStoreSpec) DeepCopyInto(out *EventDataStoreSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventDataStoreStatus ¶
type EventDataStoreStatus struct { v1.ResourceStatus `json:",inline"` AtProvider EventDataStoreObservation `json:"atProvider,omitempty"` }
EventDataStoreStatus defines the observed state of EventDataStore.
func (*EventDataStoreStatus) DeepCopy ¶
func (in *EventDataStoreStatus) DeepCopy() *EventDataStoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventDataStoreStatus.
func (*EventDataStoreStatus) DeepCopyInto ¶
func (in *EventDataStoreStatus) DeepCopyInto(out *EventDataStoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSelectorObservation ¶
type EventSelectorObservation struct { // Configuration block for data events. See details below. DataResource []DataResourceObservation `json:"dataResource,omitempty" tf:"data_resource,omitempty"` // A set of event sources to exclude. Valid values include: kms.amazonaws.com and rdsdata.amazonaws.com. include_management_events must be set totrue to allow this. ExcludeManagementEventSources []*string `json:"excludeManagementEventSources,omitempty" tf:"exclude_management_event_sources,omitempty"` // Whether to include management events for your trail. Defaults to true. IncludeManagementEvents *bool `json:"includeManagementEvents,omitempty" tf:"include_management_events,omitempty"` // Type of events to log. Valid values are ReadOnly, WriteOnly, All. Default value is All. ReadWriteType *string `json:"readWriteType,omitempty" tf:"read_write_type,omitempty"` }
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 { // Configuration block for data events. See details below. // +kubebuilder:validation:Optional DataResource []DataResourceParameters `json:"dataResource,omitempty" tf:"data_resource,omitempty"` // A set of event sources to exclude. Valid values include: kms.amazonaws.com and rdsdata.amazonaws.com. include_management_events must be set totrue to allow this. // +kubebuilder:validation:Optional ExcludeManagementEventSources []*string `json:"excludeManagementEventSources,omitempty" tf:"exclude_management_event_sources,omitempty"` // Whether to include management events for your trail. Defaults to true. // +kubebuilder:validation:Optional IncludeManagementEvents *bool `json:"includeManagementEvents,omitempty" tf:"include_management_events,omitempty"` // Type of events to log. Valid values are ReadOnly, WriteOnly, All. Default value is All. // +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 FieldSelectorObservation ¶
type FieldSelectorObservation struct { // A list of values that includes events that match the last few characters of the event record field specified as the value of field. EndsWith []*string `json:"endsWith,omitempty" tf:"ends_with,omitempty"` // A list of values that includes events that match the exact value of the event record field specified as the value of field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields. Equals []*string `json:"equals,omitempty" tf:"equals,omitempty"` // Field in an event record on which to filter events to be logged. You can specify only the following values: readOnly, eventSource, eventName, eventCategory, resources.type, resources.ARN. Field *string `json:"field,omitempty" tf:"field,omitempty"` // A list of values that excludes events that match the last few characters of the event record field specified as the value of field. NotEndsWith []*string `json:"notEndsWith,omitempty" tf:"not_ends_with,omitempty"` // A list of values that excludes events that match the exact value of the event record field specified as the value of field. NotEquals []*string `json:"notEquals,omitempty" tf:"not_equals,omitempty"` // A list of values that excludes events that match the first few characters of the event record field specified as the value of field. NotStartsWith []*string `json:"notStartsWith,omitempty" tf:"not_starts_with,omitempty"` // A list of values that includes events that match the first few characters of the event record field specified as the value of field. StartsWith []*string `json:"startsWith,omitempty" tf:"starts_with,omitempty"` }
func (*FieldSelectorObservation) DeepCopy ¶
func (in *FieldSelectorObservation) DeepCopy() *FieldSelectorObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldSelectorObservation.
func (*FieldSelectorObservation) DeepCopyInto ¶
func (in *FieldSelectorObservation) DeepCopyInto(out *FieldSelectorObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FieldSelectorParameters ¶
type FieldSelectorParameters struct { // A list of values that includes events that match the last few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional EndsWith []*string `json:"endsWith,omitempty" tf:"ends_with,omitempty"` // A list of values that includes events that match the exact value of the event record field specified as the value of field. This is the only valid operator that you can use with the readOnly, eventCategory, and resources.type fields. // +kubebuilder:validation:Optional Equals []*string `json:"equals,omitempty" tf:"equals,omitempty"` // Field in an event record on which to filter events to be logged. You can specify only the following values: readOnly, eventSource, eventName, eventCategory, resources.type, resources.ARN. // +kubebuilder:validation:Required Field *string `json:"field" tf:"field,omitempty"` // A list of values that excludes events that match the last few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional NotEndsWith []*string `json:"notEndsWith,omitempty" tf:"not_ends_with,omitempty"` // A list of values that excludes events that match the exact value of the event record field specified as the value of field. // +kubebuilder:validation:Optional NotEquals []*string `json:"notEquals,omitempty" tf:"not_equals,omitempty"` // A list of values that excludes events that match the first few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional NotStartsWith []*string `json:"notStartsWith,omitempty" tf:"not_starts_with,omitempty"` // A list of values that includes events that match the first few characters of the event record field specified as the value of field. // +kubebuilder:validation:Optional StartsWith []*string `json:"startsWith,omitempty" tf:"starts_with,omitempty"` }
func (*FieldSelectorParameters) DeepCopy ¶
func (in *FieldSelectorParameters) DeepCopy() *FieldSelectorParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FieldSelectorParameters.
func (*FieldSelectorParameters) DeepCopyInto ¶
func (in *FieldSelectorParameters) DeepCopyInto(out *FieldSelectorParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InsightSelectorObservation ¶
type InsightSelectorObservation struct { // Type of insights to log on a trail. Valid values are: ApiCallRateInsight and ApiErrorRateInsight. InsightType *string `json:"insightType,omitempty" tf:"insight_type,omitempty"` }
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 { // Type of insights to log on a trail. Valid values are: ApiCallRateInsight and ApiErrorRateInsight. // +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. Provides a CloudTrail 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 (*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) GetManagementPolicy ¶
func (mg *Trail) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy 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) SetManagementPolicy ¶
func (mg *Trail) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy 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 { // Specifies an advanced event selector for enabling data event logging. Fields documented below. Conflicts with event_selector. AdvancedEventSelector []AdvancedEventSelectorObservation `json:"advancedEventSelector,omitempty" tf:"advanced_event_selector,omitempty"` // ARN of the trail. Arn *string `json:"arn,omitempty" tf:"arn,omitempty"` // Log group name using an ARN that represents the log group to which CloudTrail logs will be delivered. Note that CloudTrail requires the Log Stream wildcard. CloudWatchLogsGroupArn *string `json:"cloudWatchLogsGroupArn,omitempty" tf:"cloud_watch_logs_group_arn,omitempty"` // Role for the CloudWatch Logs endpoint to assume to write to a user’s log group. CloudWatchLogsRoleArn *string `json:"cloudWatchLogsRoleArn,omitempty" tf:"cloud_watch_logs_role_arn,omitempty"` // Whether log file integrity validation is enabled. Defaults to false. EnableLogFileValidation *bool `json:"enableLogFileValidation,omitempty" tf:"enable_log_file_validation,omitempty"` // Enables logging for the trail. Defaults to true. Setting this to false will pause logging. EnableLogging *bool `json:"enableLogging,omitempty" tf:"enable_logging,omitempty"` // Specifies an event selector for enabling data event logging. Fields documented below. Please note the CloudTrail limits when configuring these. Conflicts with advanced_event_selector. EventSelector []EventSelectorObservation `json:"eventSelector,omitempty" tf:"event_selector,omitempty"` // Region in which the trail was created. HomeRegion *string `json:"homeRegion,omitempty" tf:"home_region,omitempty"` // Name of the trail. ID *string `json:"id,omitempty" tf:"id,omitempty"` // Whether the trail is publishing events from global services such as IAM to the log files. Defaults to true. IncludeGlobalServiceEvents *bool `json:"includeGlobalServiceEvents,omitempty" tf:"include_global_service_events,omitempty"` // Configuration block for identifying unusual operational activity. See details below. InsightSelector []InsightSelectorObservation `json:"insightSelector,omitempty" tf:"insight_selector,omitempty"` // Whether the trail is created in the current region or in all regions. Defaults to false. IsMultiRegionTrail *bool `json:"isMultiRegionTrail,omitempty" tf:"is_multi_region_trail,omitempty"` // Whether the trail is an AWS Organizations trail. Organization trails log events for the master account and all member accounts. Can only be created in the organization master account. Defaults to false. IsOrganizationTrail *bool `json:"isOrganizationTrail,omitempty" tf:"is_organization_trail,omitempty"` // KMS key ARN to use to encrypt the logs delivered by CloudTrail. KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` // Name of the S3 bucket designated for publishing log files. S3BucketName *string `json:"s3BucketName,omitempty" tf:"s3_bucket_name,omitempty"` // S3 key prefix that follows the name of the bucket you have designated for log file delivery. S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"` // Name of the Amazon SNS topic defined for notification of log file delivery. SnsTopicName *string `json:"snsTopicName,omitempty" tf:"sns_topic_name,omitempty"` // Key-value map of resource tags. Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"` // Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block. 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 { // Specifies an advanced event selector for enabling data event logging. Fields documented below. Conflicts with event_selector. // +kubebuilder:validation:Optional AdvancedEventSelector []AdvancedEventSelectorParameters `json:"advancedEventSelector,omitempty" tf:"advanced_event_selector,omitempty"` // Log group name using an ARN that represents the log group to which CloudTrail logs will be delivered. Note that CloudTrail requires the Log Stream wildcard. // +kubebuilder:validation:Optional CloudWatchLogsGroupArn *string `json:"cloudWatchLogsGroupArn,omitempty" tf:"cloud_watch_logs_group_arn,omitempty"` // Role for the CloudWatch Logs endpoint to assume to write to a user’s log group. // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/iam/v1beta1.Role // +crossplane:generate:reference:extractor=github.com/spirosco/upbound-provider-aws/config/common.ARNExtractor() // +kubebuilder:validation:Optional CloudWatchLogsRoleArn *string `json:"cloudWatchLogsRoleArn,omitempty" tf:"cloud_watch_logs_role_arn,omitempty"` // Reference to a Role in iam to populate cloudWatchLogsRoleArn. // +kubebuilder:validation:Optional CloudWatchLogsRoleArnRef *v1.Reference `json:"cloudWatchLogsRoleArnRef,omitempty" tf:"-"` // Selector for a Role in iam to populate cloudWatchLogsRoleArn. // +kubebuilder:validation:Optional CloudWatchLogsRoleArnSelector *v1.Selector `json:"cloudWatchLogsRoleArnSelector,omitempty" tf:"-"` // Whether log file integrity validation is enabled. Defaults to false. // +kubebuilder:validation:Optional EnableLogFileValidation *bool `json:"enableLogFileValidation,omitempty" tf:"enable_log_file_validation,omitempty"` // Enables logging for the trail. Defaults to true. Setting this to false will pause logging. // +kubebuilder:validation:Optional EnableLogging *bool `json:"enableLogging,omitempty" tf:"enable_logging,omitempty"` // Specifies an event selector for enabling data event logging. Fields documented below. Please note the CloudTrail limits when configuring these. Conflicts with advanced_event_selector. // +kubebuilder:validation:Optional EventSelector []EventSelectorParameters `json:"eventSelector,omitempty" tf:"event_selector,omitempty"` // Whether the trail is publishing events from global services such as IAM to the log files. Defaults to true. // +kubebuilder:validation:Optional IncludeGlobalServiceEvents *bool `json:"includeGlobalServiceEvents,omitempty" tf:"include_global_service_events,omitempty"` // Configuration block for identifying unusual operational activity. See details below. // +kubebuilder:validation:Optional InsightSelector []InsightSelectorParameters `json:"insightSelector,omitempty" tf:"insight_selector,omitempty"` // Whether the trail is created in the current region or in all regions. Defaults to false. // +kubebuilder:validation:Optional IsMultiRegionTrail *bool `json:"isMultiRegionTrail,omitempty" tf:"is_multi_region_trail,omitempty"` // Whether the trail is an AWS Organizations trail. Organization trails log events for the master account and all member accounts. Can only be created in the organization master account. Defaults to false. // +kubebuilder:validation:Optional IsOrganizationTrail *bool `json:"isOrganizationTrail,omitempty" tf:"is_organization_trail,omitempty"` // KMS key ARN to use to encrypt the logs delivered by CloudTrail. // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/kms/v1beta1.Key // +kubebuilder:validation:Optional KMSKeyID *string `json:"kmsKeyId,omitempty" tf:"kms_key_id,omitempty"` // Reference to a Key in kms to populate kmsKeyId. // +kubebuilder:validation:Optional KMSKeyIDRef *v1.Reference `json:"kmsKeyIdRef,omitempty" tf:"-"` // Selector for a Key in kms to populate kmsKeyId. // +kubebuilder:validation:Optional KMSKeyIDSelector *v1.Selector `json:"kmsKeyIdSelector,omitempty" tf:"-"` // 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:"-"` // Name of the S3 bucket designated for publishing log files. // +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/s3/v1beta1.Bucket // +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional S3BucketName *string `json:"s3BucketName,omitempty" tf:"s3_bucket_name,omitempty"` // Reference to a Bucket in s3 to populate s3BucketName. // +kubebuilder:validation:Optional S3BucketNameRef *v1.Reference `json:"s3BucketNameRef,omitempty" tf:"-"` // Selector for a Bucket in s3 to populate s3BucketName. // +kubebuilder:validation:Optional S3BucketNameSelector *v1.Selector `json:"s3BucketNameSelector,omitempty" tf:"-"` // S3 key prefix that follows the name of the bucket you have designated for log file delivery. // +kubebuilder:validation:Optional S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix,omitempty"` // Name of the Amazon SNS topic defined for notification of log file delivery. // +kubebuilder:validation:Optional SnsTopicName *string `json:"snsTopicName,omitempty" tf:"sns_topic_name,omitempty"` // Key-value map of resource tags. // +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.