Documentation ¶
Index ¶
- func NewS3ServicesK8SAwsBucketV1Alpha1Manifest() datasource.DataSource
- type S3ServicesK8SAwsBucketV1Alpha1Manifest
- func (r *S3ServicesK8SAwsBucketV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *S3ServicesK8SAwsBucketV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *S3ServicesK8SAwsBucketV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type S3ServicesK8SAwsBucketV1Alpha1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewS3ServicesK8SAwsBucketV1Alpha1Manifest ¶
func NewS3ServicesK8SAwsBucketV1Alpha1Manifest() datasource.DataSource
Types ¶
type S3ServicesK8SAwsBucketV1Alpha1Manifest ¶
type S3ServicesK8SAwsBucketV1Alpha1Manifest struct{}
func (*S3ServicesK8SAwsBucketV1Alpha1Manifest) Metadata ¶
func (r *S3ServicesK8SAwsBucketV1Alpha1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*S3ServicesK8SAwsBucketV1Alpha1Manifest) Read ¶
func (r *S3ServicesK8SAwsBucketV1Alpha1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*S3ServicesK8SAwsBucketV1Alpha1Manifest) Schema ¶
func (r *S3ServicesK8SAwsBucketV1Alpha1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type S3ServicesK8SAwsBucketV1Alpha1ManifestData ¶
type S3ServicesK8SAwsBucketV1Alpha1ManifestData struct { YAML types.String `tfsdk:"yaml" json:"-"` ApiVersion *string `tfsdk:"-" json:"apiVersion"` Kind *string `tfsdk:"-" json:"kind"` Metadata struct { Name string `tfsdk:"name" json:"name"` Namespace string `tfsdk:"namespace" json:"namespace"` Labels map[string]string `tfsdk:"labels" json:"labels,omitempty"` Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"` } `tfsdk:"metadata" json:"metadata"` Spec *struct { Accelerate *struct { Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"accelerate" json:"accelerate,omitempty"` Acl *string `tfsdk:"acl" json:"acl,omitempty"` Analytics *[]struct { Filter *struct { And *struct { Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tags *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"and" json:"and,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tag *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tag" json:"tag,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` StorageClassAnalysis *struct { DataExport *struct { Destination *struct { S3BucketDestination *struct { Bucket *string `tfsdk:"bucket" json:"bucket,omitempty"` BucketAccountID *string `tfsdk:"bucket_account_id" json:"bucketAccountID,omitempty"` Format *string `tfsdk:"format" json:"format,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` } `tfsdk:"s3_bucket_destination" json:"s3BucketDestination,omitempty"` } `tfsdk:"destination" json:"destination,omitempty"` OutputSchemaVersion *string `tfsdk:"output_schema_version" json:"outputSchemaVersion,omitempty"` } `tfsdk:"data_export" json:"dataExport,omitempty"` } `tfsdk:"storage_class_analysis" json:"storageClassAnalysis,omitempty"` } `tfsdk:"analytics" json:"analytics,omitempty"` Cors *struct { CorsRules *[]struct { AllowedHeaders *[]string `tfsdk:"allowed_headers" json:"allowedHeaders,omitempty"` AllowedMethods *[]string `tfsdk:"allowed_methods" json:"allowedMethods,omitempty"` AllowedOrigins *[]string `tfsdk:"allowed_origins" json:"allowedOrigins,omitempty"` ExposeHeaders *[]string `tfsdk:"expose_headers" json:"exposeHeaders,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` MaxAgeSeconds *int64 `tfsdk:"max_age_seconds" json:"maxAgeSeconds,omitempty"` } `tfsdk:"cors_rules" json:"corsRules,omitempty"` } `tfsdk:"cors" json:"cors,omitempty"` CreateBucketConfiguration *struct { LocationConstraint *string `tfsdk:"location_constraint" json:"locationConstraint,omitempty"` } `tfsdk:"create_bucket_configuration" json:"createBucketConfiguration,omitempty"` Encryption *struct { Rules *[]struct { ApplyServerSideEncryptionByDefault *struct { KmsMasterKeyID *string `tfsdk:"kms_master_key_id" json:"kmsMasterKeyID,omitempty"` SseAlgorithm *string `tfsdk:"sse_algorithm" json:"sseAlgorithm,omitempty"` } `tfsdk:"apply_server_side_encryption_by_default" json:"applyServerSideEncryptionByDefault,omitempty"` BucketKeyEnabled *bool `tfsdk:"bucket_key_enabled" json:"bucketKeyEnabled,omitempty"` } `tfsdk:"rules" json:"rules,omitempty"` } `tfsdk:"encryption" json:"encryption,omitempty"` GrantFullControl *string `tfsdk:"grant_full_control" json:"grantFullControl,omitempty"` GrantRead *string `tfsdk:"grant_read" json:"grantRead,omitempty"` GrantReadACP *string `tfsdk:"grant_read_acp" json:"grantReadACP,omitempty"` GrantWrite *string `tfsdk:"grant_write" json:"grantWrite,omitempty"` GrantWriteACP *string `tfsdk:"grant_write_acp" json:"grantWriteACP,omitempty"` IntelligentTiering *[]struct { Filter *struct { And *struct { Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tags *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"and" json:"and,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tag *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tag" json:"tag,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` Status *string `tfsdk:"status" json:"status,omitempty"` Tierings *[]struct { AccessTier *string `tfsdk:"access_tier" json:"accessTier,omitempty"` Days *int64 `tfsdk:"days" json:"days,omitempty"` } `tfsdk:"tierings" json:"tierings,omitempty"` } `tfsdk:"intelligent_tiering" json:"intelligentTiering,omitempty"` Inventory *[]struct { Destination *struct { S3BucketDestination *struct { AccountID *string `tfsdk:"account_id" json:"accountID,omitempty"` Bucket *string `tfsdk:"bucket" json:"bucket,omitempty"` Encryption *struct { SseKMS *struct { KeyID *string `tfsdk:"key_id" json:"keyID,omitempty"` } `tfsdk:"sse_kms" json:"sseKMS,omitempty"` } `tfsdk:"encryption" json:"encryption,omitempty"` Format *string `tfsdk:"format" json:"format,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` } `tfsdk:"s3_bucket_destination" json:"s3BucketDestination,omitempty"` } `tfsdk:"destination" json:"destination,omitempty"` Filter *struct { Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` IncludedObjectVersions *string `tfsdk:"included_object_versions" json:"includedObjectVersions,omitempty"` IsEnabled *bool `tfsdk:"is_enabled" json:"isEnabled,omitempty"` OptionalFields *[]string `tfsdk:"optional_fields" json:"optionalFields,omitempty"` Schedule *struct { Frequency *string `tfsdk:"frequency" json:"frequency,omitempty"` } `tfsdk:"schedule" json:"schedule,omitempty"` } `tfsdk:"inventory" json:"inventory,omitempty"` Lifecycle *struct { Rules *[]struct { AbortIncompleteMultipartUpload *struct { DaysAfterInitiation *int64 `tfsdk:"days_after_initiation" json:"daysAfterInitiation,omitempty"` } `tfsdk:"abort_incomplete_multipart_upload" json:"abortIncompleteMultipartUpload,omitempty"` Expiration *struct { Date *string `tfsdk:"date" json:"date,omitempty"` Days *int64 `tfsdk:"days" json:"days,omitempty"` ExpiredObjectDeleteMarker *bool `tfsdk:"expired_object_delete_marker" json:"expiredObjectDeleteMarker,omitempty"` } `tfsdk:"expiration" json:"expiration,omitempty"` Filter *struct { And *struct { ObjectSizeGreaterThan *int64 `tfsdk:"object_size_greater_than" json:"objectSizeGreaterThan,omitempty"` ObjectSizeLessThan *int64 `tfsdk:"object_size_less_than" json:"objectSizeLessThan,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tags *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"and" json:"and,omitempty"` ObjectSizeGreaterThan *int64 `tfsdk:"object_size_greater_than" json:"objectSizeGreaterThan,omitempty"` ObjectSizeLessThan *int64 `tfsdk:"object_size_less_than" json:"objectSizeLessThan,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tag *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tag" json:"tag,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` NoncurrentVersionExpiration *struct { NewerNoncurrentVersions *int64 `tfsdk:"newer_noncurrent_versions" json:"newerNoncurrentVersions,omitempty"` NoncurrentDays *int64 `tfsdk:"noncurrent_days" json:"noncurrentDays,omitempty"` } `tfsdk:"noncurrent_version_expiration" json:"noncurrentVersionExpiration,omitempty"` NoncurrentVersionTransitions *[]struct { NewerNoncurrentVersions *int64 `tfsdk:"newer_noncurrent_versions" json:"newerNoncurrentVersions,omitempty"` NoncurrentDays *int64 `tfsdk:"noncurrent_days" json:"noncurrentDays,omitempty"` StorageClass *string `tfsdk:"storage_class" json:"storageClass,omitempty"` } `tfsdk:"noncurrent_version_transitions" json:"noncurrentVersionTransitions,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Status *string `tfsdk:"status" json:"status,omitempty"` Transitions *[]struct { Date *string `tfsdk:"date" json:"date,omitempty"` Days *int64 `tfsdk:"days" json:"days,omitempty"` StorageClass *string `tfsdk:"storage_class" json:"storageClass,omitempty"` } `tfsdk:"transitions" json:"transitions,omitempty"` } `tfsdk:"rules" json:"rules,omitempty"` } `tfsdk:"lifecycle" json:"lifecycle,omitempty"` Logging *struct { LoggingEnabled *struct { TargetBucket *string `tfsdk:"target_bucket" json:"targetBucket,omitempty"` TargetGrants *[]struct { Grantee *struct { DisplayName *string `tfsdk:"display_name" json:"displayName,omitempty"` EmailAddress *string `tfsdk:"email_address" json:"emailAddress,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` Type_ *string `tfsdk:"type_" json:"type_,omitempty"` URI *string `tfsdk:"u_ri" json:"uRI,omitempty"` } `tfsdk:"grantee" json:"grantee,omitempty"` Permission *string `tfsdk:"permission" json:"permission,omitempty"` } `tfsdk:"target_grants" json:"targetGrants,omitempty"` TargetPrefix *string `tfsdk:"target_prefix" json:"targetPrefix,omitempty"` } `tfsdk:"logging_enabled" json:"loggingEnabled,omitempty"` } `tfsdk:"logging" json:"logging,omitempty"` Metrics *[]struct { Filter *struct { AccessPointARN *string `tfsdk:"access_point_arn" json:"accessPointARN,omitempty"` And *struct { AccessPointARN *string `tfsdk:"access_point_arn" json:"accessPointARN,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tags *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"and" json:"and,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tag *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tag" json:"tag,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` } `tfsdk:"metrics" json:"metrics,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Notification *struct { LambdaFunctionConfigurations *[]struct { Events *[]string `tfsdk:"events" json:"events,omitempty"` Filter *struct { Key *struct { FilterRules *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"filter_rules" json:"filterRules,omitempty"` } `tfsdk:"key" json:"key,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` LambdaFunctionARN *string `tfsdk:"lambda_function_arn" json:"lambdaFunctionARN,omitempty"` } `tfsdk:"lambda_function_configurations" json:"lambdaFunctionConfigurations,omitempty"` QueueConfigurations *[]struct { Events *[]string `tfsdk:"events" json:"events,omitempty"` Filter *struct { Key *struct { FilterRules *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"filter_rules" json:"filterRules,omitempty"` } `tfsdk:"key" json:"key,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` QueueARN *string `tfsdk:"queue_arn" json:"queueARN,omitempty"` } `tfsdk:"queue_configurations" json:"queueConfigurations,omitempty"` TopicConfigurations *[]struct { Events *[]string `tfsdk:"events" json:"events,omitempty"` Filter *struct { Key *struct { FilterRules *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"filter_rules" json:"filterRules,omitempty"` } `tfsdk:"key" json:"key,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` TopicARN *string `tfsdk:"topic_arn" json:"topicARN,omitempty"` } `tfsdk:"topic_configurations" json:"topicConfigurations,omitempty"` } `tfsdk:"notification" json:"notification,omitempty"` ObjectLockEnabledForBucket *bool `tfsdk:"object_lock_enabled_for_bucket" json:"objectLockEnabledForBucket,omitempty"` ObjectOwnership *string `tfsdk:"object_ownership" json:"objectOwnership,omitempty"` OwnershipControls *struct { Rules *[]struct { ObjectOwnership *string `tfsdk:"object_ownership" json:"objectOwnership,omitempty"` } `tfsdk:"rules" json:"rules,omitempty"` } `tfsdk:"ownership_controls" json:"ownershipControls,omitempty"` Policy *string `tfsdk:"policy" json:"policy,omitempty"` PublicAccessBlock *struct { BlockPublicACLs *bool `tfsdk:"block_public_ac_ls" json:"blockPublicACLs,omitempty"` BlockPublicPolicy *bool `tfsdk:"block_public_policy" json:"blockPublicPolicy,omitempty"` IgnorePublicACLs *bool `tfsdk:"ignore_public_ac_ls" json:"ignorePublicACLs,omitempty"` RestrictPublicBuckets *bool `tfsdk:"restrict_public_buckets" json:"restrictPublicBuckets,omitempty"` } `tfsdk:"public_access_block" json:"publicAccessBlock,omitempty"` Replication *struct { Role *string `tfsdk:"role" json:"role,omitempty"` Rules *[]struct { DeleteMarkerReplication *struct { Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"delete_marker_replication" json:"deleteMarkerReplication,omitempty"` Destination *struct { AccessControlTranslation *struct { Owner *string `tfsdk:"owner" json:"owner,omitempty"` } `tfsdk:"access_control_translation" json:"accessControlTranslation,omitempty"` Account *string `tfsdk:"account" json:"account,omitempty"` Bucket *string `tfsdk:"bucket" json:"bucket,omitempty"` EncryptionConfiguration *struct { ReplicaKMSKeyID *string `tfsdk:"replica_kms_key_id" json:"replicaKMSKeyID,omitempty"` } `tfsdk:"encryption_configuration" json:"encryptionConfiguration,omitempty"` Metrics *struct { EventThreshold *struct { Minutes *int64 `tfsdk:"minutes" json:"minutes,omitempty"` } `tfsdk:"event_threshold" json:"eventThreshold,omitempty"` Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"metrics" json:"metrics,omitempty"` ReplicationTime *struct { Status *string `tfsdk:"status" json:"status,omitempty"` Time *struct { Minutes *int64 `tfsdk:"minutes" json:"minutes,omitempty"` } `tfsdk:"time" json:"time,omitempty"` } `tfsdk:"replication_time" json:"replicationTime,omitempty"` StorageClass *string `tfsdk:"storage_class" json:"storageClass,omitempty"` } `tfsdk:"destination" json:"destination,omitempty"` ExistingObjectReplication *struct { Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"existing_object_replication" json:"existingObjectReplication,omitempty"` Filter *struct { And *struct { Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tags *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tags" json:"tags,omitempty"` } `tfsdk:"and" json:"and,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Tag *struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tag" json:"tag,omitempty"` } `tfsdk:"filter" json:"filter,omitempty"` Id *string `tfsdk:"id" json:"id,omitempty"` Prefix *string `tfsdk:"prefix" json:"prefix,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` SourceSelectionCriteria *struct { ReplicaModifications *struct { Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"replica_modifications" json:"replicaModifications,omitempty"` SseKMSEncryptedObjects *struct { Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"sse_kms_encrypted_objects" json:"sseKMSEncryptedObjects,omitempty"` } `tfsdk:"source_selection_criteria" json:"sourceSelectionCriteria,omitempty"` Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"rules" json:"rules,omitempty"` } `tfsdk:"replication" json:"replication,omitempty"` RequestPayment *struct { Payer *string `tfsdk:"payer" json:"payer,omitempty"` } `tfsdk:"request_payment" json:"requestPayment,omitempty"` Tagging *struct { TagSet *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tag_set" json:"tagSet,omitempty"` } `tfsdk:"tagging" json:"tagging,omitempty"` Versioning *struct { Status *string `tfsdk:"status" json:"status,omitempty"` } `tfsdk:"versioning" json:"versioning,omitempty"` Website *struct { ErrorDocument *struct { Key *string `tfsdk:"key" json:"key,omitempty"` } `tfsdk:"error_document" json:"errorDocument,omitempty"` IndexDocument *struct { Suffix *string `tfsdk:"suffix" json:"suffix,omitempty"` } `tfsdk:"index_document" json:"indexDocument,omitempty"` RedirectAllRequestsTo *struct { HostName *string `tfsdk:"host_name" json:"hostName,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` } `tfsdk:"redirect_all_requests_to" json:"redirectAllRequestsTo,omitempty"` RoutingRules *[]struct { Condition *struct { HttpErrorCodeReturnedEquals *string `tfsdk:"http_error_code_returned_equals" json:"httpErrorCodeReturnedEquals,omitempty"` KeyPrefixEquals *string `tfsdk:"key_prefix_equals" json:"keyPrefixEquals,omitempty"` } `tfsdk:"condition" json:"condition,omitempty"` Redirect *struct { HostName *string `tfsdk:"host_name" json:"hostName,omitempty"` HttpRedirectCode *string `tfsdk:"http_redirect_code" json:"httpRedirectCode,omitempty"` Protocol *string `tfsdk:"protocol" json:"protocol,omitempty"` ReplaceKeyPrefixWith *string `tfsdk:"replace_key_prefix_with" json:"replaceKeyPrefixWith,omitempty"` ReplaceKeyWith *string `tfsdk:"replace_key_with" json:"replaceKeyWith,omitempty"` } `tfsdk:"redirect" json:"redirect,omitempty"` } `tfsdk:"routing_rules" json:"routingRules,omitempty"` } `tfsdk:"website" json:"website,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.