S3

13 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

S3AccessGrant # CLOUD CONTROL · AWS::S3::AccessGrant

S3AccessGrant manages AWS::S3::AccessGrant through the AWS Cloud Control API.

kubectl get s3accessgrants · example on GitHub

Example

# S3AccessGrant — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3accessgrant
apiVersion: aws.konfig.io/v1alpha1
kind: S3AccessGrant
metadata:
  name: example-s3accessgrant
  namespace: default
spec:
  accessGrantsLocationConfiguration:
    s3SubPrefix: example
  accessGrantsLocationId: example-id
  applicationArn: arn:aws:iam::123456789012:role/example-role
  grantee:
    granteeIdentifier: example
    granteeType: IAM
  permission: READ
  providerRef:
    name: example-s3accessgrant
    region: us-east-1
  s3PrefixType: Object
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
accessGrantsLocationConfigurationobject—The configuration options of the grant location, which is the S3 path to the data to which you are granting access.
accessGrantsLocationConfiguration.s3SubPrefixstringyesThe S3 sub prefix of a registered location in your S3 Access Grants instance
accessGrantsLocationIdstringyesThe custom S3 location to be accessed by the grantee
applicationArnstring—The ARN of the application grantees will use to access the location
granteeobjectyesThe principal who will be granted permission to access S3.
grantee.granteeIdentifierstringyesThe unique identifier of the Grantee
grantee.granteeTypeenumyesConfigures the transfer acceleration state for an Amazon S3 bucket. Allowed: IAM, DIRECTORY_USER, DIRECTORY_GROUP
permissionenumyesThe level of access to be afforded to the grantee Allowed: READ, WRITE, READWRITE
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
s3PrefixTypeenum—The type of S3SubPrefix. Allowed: Object
tagsarray<object>—Create-only in AWS: changing it requires replacing the resource.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
accessGrantArnstring—The Amazon Resource Name (ARN) of the specified access grant.
accessGrantIdstring—The ID assigned to this access grant.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
grantScopestring—The S3 path of the data to which you are granting access.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

S3AccessGrantsInstance # CLOUD CONTROL · AWS::S3::AccessGrantsInstance

S3AccessGrantsInstance manages AWS::S3::AccessGrantsInstance through the AWS Cloud Control API.

kubectl get s3accessgrantsinstances · example on GitHub

Example

# S3AccessGrantsInstance — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3accessgrantsinstance
apiVersion: aws.konfig.io/v1alpha1
kind: S3AccessGrantsInstance
metadata:
  name: example-s3accessgrantsinstance
  namespace: default
spec:
  identityCenterArn: arn:aws:iam::123456789012:role/example-role
  providerRef:
    name: example-s3accessgrantsinstance
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
identityCenterArnstring—The Amazon Resource Name (ARN) of the specified AWS Identity Center.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—Create-only in AWS: changing it requires replacing the resource.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
accessGrantsInstanceArnstring—The Amazon Resource Name (ARN) of the specified Access Grants instance.
accessGrantsInstanceIdstring—A unique identifier for the specified access grants instance.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

S3AccessGrantsLocation # CLOUD CONTROL · AWS::S3::AccessGrantsLocation

S3AccessGrantsLocation manages AWS::S3::AccessGrantsLocation through the AWS Cloud Control API.

kubectl get s3accessgrantslocations · example on GitHub

Example

# S3AccessGrantsLocation — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3accessgrantslocation
apiVersion: aws.konfig.io/v1alpha1
kind: S3AccessGrantsLocation
metadata:
  name: example-s3accessgrantslocation
  namespace: default
spec:
  iamRoleArn: arn:aws:iam::123456789012:role/example-role
  locationScope: example
  providerRef:
    name: example-s3accessgrantslocation
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
iamRoleArnstringyesThe Amazon Resource Name (ARN) of the access grant location's associated IAM role.
locationScopestringyesDescriptor for where the location actually points
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—Create-only in AWS: changing it requires replacing the resource.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
accessGrantsLocationArnstring—The Amazon Resource Name (ARN) of the specified Access Grants location.
accessGrantsLocationIdstring—The unique identifier for the specified Access Grants location.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

S3Bucket # GA

S3Bucket is the Schema for managing S3 Buckets.

kubectl get s3buckets · example on GitHub

Example

# S3Bucket — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3bucket
apiVersion: aws.konfig.io/v1alpha1
kind: S3Bucket
metadata:
  name: example-s3bucket
  namespace: default
spec:
  accelerateStatus: Enabled
  blockPublicAccess:
    blockPublicAcls: false
    blockPublicPolicy: false
    ignorePublicAcls: false
    restrictPublicBuckets: false
  bucketName: example-s3bucket
  corsRules:
  - allowedHeaders:
    - example
    allowedMethods:
    - example
    allowedOrigins:
    - example
    exposeHeaders:
    - example
    maxAgeSeconds: 300
  lifecycleRules:
  - abortIncompleteMultipartUploadDays: 7
    expirationDate: example
    expirationDays: 7
    noncurrentVersionExpirationDays: 7
    noncurrentVersionTransitions:
    - noncurrentDays: 7
      storageClass: example
    prefix: example
    status: Enabled
    transitions:
    - date: example
      days: 7
      storageClass: example
  loggingConfig:
    targetBucket: example
    targetPrefix: example
  notificationConfig:
    eventBridgeEnabled: true
    lambdaFunctionConfigurations:
    - events:
      - example
      filterPrefix: example
      filterSuffix: example
      lambdaFunctionArn: arn:aws:iam::123456789012:role/example-role
    queueConfigurations:
    - events:
      - example
      filterPrefix: example
      filterSuffix: example
      queueArn: arn:aws:iam::123456789012:role/example-role
    topicConfigurations:
    - events:
      - example
      filterPrefix: example
      filterSuffix: example
      topicArn: arn:aws:iam::123456789012:role/example-role
  objectLockConfig:
    objectLockEnabled: true
    rule:
      defaultRetention:
        days: 7
        mode: GOVERNANCE
        years: 1
  providerRef:
    name: example-s3bucket
    region: us-east-1
  region: us-east-1
  serverSideEncryption:
    kmsKeyId: arn:aws:kms:us-east-1:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab
    sseAlgorithm: example
  tags:
    environment: dev
    team: platform
  versioning: true
  websiteConfig:
    errorDocument: example
    indexDocument: example
    redirectAllTo:
      hostName: example-s3bucket
      protocol: example
    routingRules:
    - redirect:
        hostName: example-s3bucket
        httpRedirectCode: example
        protocol: example
        replaceKeyPrefixWith: example
        replaceKeyWith: example

Spec

FieldTypeRequiredDescription
accelerateStatusenum—AccelerateStatus enables S3 Transfer Acceleration: Enabled or Suspended. Allowed: Enabled, Suspended
blockPublicAccessobject—BlockPublicAccess configures S3 Block Public Access settings.
blockPublicAccess.blockPublicAclsboolean—BlockPublicAcls blocks public ACLs.
blockPublicAccess.blockPublicPolicyboolean—BlockPublicPolicy blocks public bucket policies.
blockPublicAccess.ignorePublicAclsboolean—IgnorePublicAcls ignores existing public ACLs.
blockPublicAccess.restrictPublicBucketsboolean—RestrictPublicBuckets restricts public bucket access.
bucketNamestringyesBucketName is the globally unique name of the bucket.
corsRulesarray<object>—CORSRules configures cross-origin resource sharing.
corsRules[].allowedHeadersarray<string>—AllowedHeaders specifies which headers are allowed in a pre-flight request.
corsRules[].allowedMethodsarray<string>yesAllowedMethods specifies the HTTP methods allowed (GET, PUT, POST, DELETE, HEAD).
corsRules[].allowedOriginsarray<string>yesAllowedOrigins specifies the origins that are allowed.
corsRules[].exposeHeadersarray<string>—ExposeHeaders specifies headers the browser can access.
corsRules[].idstring—ID is an optional unique identifier for the rule.
corsRules[].maxAgeSecondsinteger—MaxAgeSeconds specifies how long the browser can cache the preflight response.
lifecycleRulesarray<object>—LifecycleRules configures lifecycle management for objects in the bucket.
lifecycleRules[].abortIncompleteMultipartUploadDaysinteger—AbortIncompleteMultipartUploadDays cancels incomplete multipart uploads after this many days.
lifecycleRules[].expirationDatestring—ExpirationDate is the ISO 8601 date for expiration.
lifecycleRules[].expirationDaysinteger—ExpirationDays is the number of days before objects expire.
lifecycleRules[].idstring—ID is a unique identifier for the rule.
lifecycleRules[].noncurrentVersionExpirationDaysinteger—NoncurrentVersionExpirationDays is the number of days before noncurrent versions expire.
lifecycleRules[].noncurrentVersionTransitionsarray<object>—NoncurrentVersionTransitions defines storage class transitions for noncurrent versions.
lifecycleRules[].noncurrentVersionTransitions[].noncurrentDaysinteger—NoncurrentDays is the number of days before transitioning.
lifecycleRules[].noncurrentVersionTransitions[].storageClassstringyesStorageClass is the target storage class.
lifecycleRules[].prefixstring—Prefix is the object key prefix to apply the rule to.
lifecycleRules[].statusenumyesStatus is Enabled or Disabled. Allowed: Enabled, Disabled
lifecycleRules[].transitionsarray<object>—Transitions defines storage class transitions.
lifecycleRules[].transitions[].datestring—Date is an ISO 8601 date for the transition.
lifecycleRules[].transitions[].daysinteger—Days is the number of days after object creation.
lifecycleRules[].transitions[].storageClassstringyesStorageClass is the target storage class (e.g.
loggingConfigobject—LoggingConfig configures S3 server access logging.
loggingConfig.targetBucketstringyesTargetBucket is the bucket that receives access logs.
loggingConfig.targetPrefixstring—TargetPrefix is the prefix for log object keys.
notificationConfigobject—NotificationConfig configures event notifications.
notificationConfig.eventBridgeEnabledboolean—EventBridgeEnabled enables routing events to Amazon EventBridge.
notificationConfig.lambdaFunctionConfigurationsarray<object>—LambdaFunctionConfigurations configures Lambda function notifications.
notificationConfig.lambdaFunctionConfigurations[].eventsarray<string>yesEvents is the list of S3 event types that trigger the notification.
notificationConfig.lambdaFunctionConfigurations[].filterPrefixstring—FilterPrefix restricts notifications to keys with this prefix.
notificationConfig.lambdaFunctionConfigurations[].filterSuffixstring—FilterSuffix restricts notifications to keys with this suffix.
notificationConfig.lambdaFunctionConfigurations[].idstring—ID is an optional unique identifier.
notificationConfig.lambdaFunctionConfigurations[].lambdaFunctionArnstringyesLambdaFunctionARN is the ARN of the Lambda function.
notificationConfig.queueConfigurationsarray<object>—QueueConfigurations configures SQS queue notifications.
notificationConfig.queueConfigurations[].eventsarray<string>yesEvents is the list of S3 event types that trigger the notification.
notificationConfig.queueConfigurations[].filterPrefixstring—FilterPrefix restricts notifications to keys with this prefix.
notificationConfig.queueConfigurations[].filterSuffixstring—FilterSuffix restricts notifications to keys with this suffix.
notificationConfig.queueConfigurations[].idstring—ID is an optional unique identifier.
notificationConfig.queueConfigurations[].queueArnstringyesQueueARN is the ARN of the SQS queue.
notificationConfig.topicConfigurationsarray<object>—TopicConfigurations configures SNS topic notifications.
notificationConfig.topicConfigurations[].eventsarray<string>yesEvents is the list of S3 event types that trigger the notification.
notificationConfig.topicConfigurations[].filterPrefixstring—FilterPrefix restricts notifications to keys with this prefix.
notificationConfig.topicConfigurations[].filterSuffixstring—FilterSuffix restricts notifications to keys with this suffix.
notificationConfig.topicConfigurations[].idstring—ID is an optional unique identifier.
notificationConfig.topicConfigurations[].topicArnstringyesTopicARN is the ARN of the SNS topic.
objectLockConfigobject—ObjectLockConfig configures S3 Object Lock.
objectLockConfig.objectLockEnabledbooleanyesObjectLockEnabled enables Object Lock.
objectLockConfig.ruleobject—Rule is the default retention rule.
objectLockConfig.rule.defaultRetentionobjectyesDefaultRetention is the default retention settings.
objectLockConfig.rule.defaultRetention.daysinteger—Days is the retention period in days.
objectLockConfig.rule.defaultRetention.modeenumyesMode is GOVERNANCE or COMPLIANCE. Allowed: GOVERNANCE, COMPLIANCE
objectLockConfig.rule.defaultRetention.yearsinteger—Years is the retention period in years.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
regionstring—Region is the AWS region where the bucket is created.
serverSideEncryptionobject—ServerSideEncryption configures default SSE for new objects.
serverSideEncryption.kmsKeyIdstring—KMSKeyID is the KMS key ARN or ID (only for aws:kms).
serverSideEncryption.sseAlgorithmstringyesSSEAlgorithm is the server-side encryption algorithm: AES256 or aws:kms.
tagsmap<string>—Tags are AWS resource tags to apply.
versioningboolean—Versioning enables S3 versioning on the bucket.
websiteConfigobject—WebsiteConfig configures static website hosting.
websiteConfig.errorDocumentstring—ErrorDocument is the key name used for 4XX errors.
websiteConfig.indexDocumentstring—IndexDocument is the suffix for the index document (e.g.
websiteConfig.redirectAllToobject—RedirectAllTo redirects all requests to another hostname.
websiteConfig.redirectAllTo.hostNamestringyesHostName is the hostname to redirect to.
websiteConfig.redirectAllTo.protocolstring—Protocol is http or https.
websiteConfig.routingRulesarray<object>—RoutingRules defines conditional redirect rules.
websiteConfig.routingRules[].conditionobject—Condition is the condition that triggers this rule.
websiteConfig.routingRules[].condition.httpErrorCodeReturnedEqualsstring—HttpErrorCodeReturnedEquals triggers the rule when this HTTP error code is returned.
websiteConfig.routingRules[].condition.keyPrefixEqualsstring—KeyPrefixEquals triggers the rule when the key prefix matches.
websiteConfig.routingRules[].redirectobjectyesRedirect defines where to redirect matching requests.
websiteConfig.routingRules[].redirect.hostNamestring—HostName replaces the hostname in the redirect.
websiteConfig.routingRules[].redirect.httpRedirectCodestring—HttpRedirectCode is the HTTP redirect code (default 301).
websiteConfig.routingRules[].redirect.protocolstring—Protocol is http or https.
websiteConfig.routingRules[].redirect.replaceKeyPrefixWithstring—ReplaceKeyPrefixWith replaces the key prefix in the redirect.
websiteConfig.routingRules[].redirect.replaceKeyWithstring—ReplaceKeyWith replaces the entire key in the redirect.

Status

FieldTypeRequiredDescription
arnstring—ARN is the Amazon Resource Name of the bucket.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
domainNamestring—DomainName is the bucket's regional domain name.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
websiteEndpointstring—WebsiteEndpoint is the website endpoint URL when website hosting is enabled.

S3BucketCORS # GA

S3BucketCORS is the Schema for managing S3 bucket CORS configurations.

kubectl get s3bucketcorses · example on GitHub

Example

# S3BucketCORS — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3bucketcors
apiVersion: aws.konfig.io/v1alpha1
kind: S3BucketCORS
metadata:
  name: example-s3bucketcors
  namespace: default
spec:
  bucketName: example-s3bucketcors
  corsRules:
  - allowedHeaders:
    - example
    allowedMethods:
    - example
    allowedOrigins:
    - example
    exposeHeaders:
    - example
    maxAgeSeconds: 300
  providerRef:
    name: example-s3bucketcors
    region: us-east-1

Spec

FieldTypeRequiredDescription
bucketNamestringyesBucketName is the name of the S3 bucket.
corsRulesarray<object>yesCORSRules are the CORS rules to apply.
corsRules[].allowedHeadersarray<string>—AllowedHeaders specifies which headers are allowed in a pre-flight request.
corsRules[].allowedMethodsarray<string>yesAllowedMethods specifies the HTTP methods allowed (GET, PUT, POST, DELETE, HEAD).
corsRules[].allowedOriginsarray<string>yesAllowedOrigins specifies the origins that are allowed.
corsRules[].exposeHeadersarray<string>—ExposeHeaders specifies headers the browser can access.
corsRules[].idstring—ID is an optional unique identifier for the rule.
corsRules[].maxAgeSecondsinteger—MaxAgeSeconds specifies how long the browser can cache the preflight response.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

S3BucketLifecycle # GA

S3BucketLifecycle is the Schema for managing S3 bucket lifecycle configurations.

kubectl get s3bucketlifecycles · example on GitHub

Example

# S3BucketLifecycle — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3bucketlifecycle
apiVersion: aws.konfig.io/v1alpha1
kind: S3BucketLifecycle
metadata:
  name: example-s3bucketlifecycle
  namespace: default
spec:
  bucketName: example-s3bucketlifecycle
  providerRef:
    name: example-s3bucketlifecycle
    region: us-east-1
  rules:
  - abortIncompleteMultipartUploadDays: 7
    expirationDate: example
    expirationDays: 7
    noncurrentVersionExpirationDays: 7
    noncurrentVersionTransitions:
    - noncurrentDays: 7
      storageClass: example
    prefix: example
    status: Enabled
    transitions:
    - date: example
      days: 7
      storageClass: example

Spec

FieldTypeRequiredDescription
bucketNamestringyesBucketName is the name of the S3 bucket.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
rulesarray<object>yesRules are the lifecycle rules to apply.
rules[].abortIncompleteMultipartUploadDaysinteger—AbortIncompleteMultipartUploadDays cancels incomplete multipart uploads after this many days.
rules[].expirationDatestring—ExpirationDate is the ISO 8601 date for expiration.
rules[].expirationDaysinteger—ExpirationDays is the number of days before objects expire.
rules[].idstring—ID is a unique identifier for the rule.
rules[].noncurrentVersionExpirationDaysinteger—NoncurrentVersionExpirationDays is the number of days before noncurrent versions expire.
rules[].noncurrentVersionTransitionsarray<object>—NoncurrentVersionTransitions defines storage class transitions for noncurrent versions.
rules[].noncurrentVersionTransitions[].noncurrentDaysinteger—NoncurrentDays is the number of days before transitioning.
rules[].noncurrentVersionTransitions[].storageClassstringyesStorageClass is the target storage class.
rules[].prefixstring—Prefix is the object key prefix to apply the rule to.
rules[].statusenumyesStatus is Enabled or Disabled. Allowed: Enabled, Disabled
rules[].transitionsarray<object>—Transitions defines storage class transitions.
rules[].transitions[].datestring—Date is an ISO 8601 date for the transition.
rules[].transitions[].daysinteger—Days is the number of days after object creation.
rules[].transitions[].storageClassstringyesStorageClass is the target storage class (e.g.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

S3BucketNotification # GA

S3BucketNotification is the Schema for managing S3 bucket notification configurations.

kubectl get s3bucketnotifications · example on GitHub

Example

# S3BucketNotification — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3bucketnotification
apiVersion: aws.konfig.io/v1alpha1
kind: S3BucketNotification
metadata:
  name: example-s3bucketnotification
  namespace: default
spec:
  bucketName: example-s3bucketnotification
  eventBridgeEnabled: true
  lambdaFunctionConfigurations:
  - events:
    - example
    lambdaFunctionArn: arn:aws:iam::123456789012:role/example-role
  providerRef:
    name: example-s3bucketnotification
    region: us-east-1
  queueConfigurations:
  - events:
    - example
    queueArn: arn:aws:iam::123456789012:role/example-role
  topicConfigurations:
  - events:
    - example
    topicArn: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
bucketNamestringyesBucketName is the name of the S3 bucket.
eventBridgeEnabledboolean—EventBridgeEnabled enables delivery of all events to Amazon EventBridge.
lambdaFunctionConfigurationsarray<object>—LambdaFunctionConfigurations are Lambda function notification configurations.
lambdaFunctionConfigurations[].eventsarray<string>yesEvents is the list of S3 events that trigger this notification.
lambdaFunctionConfigurations[].idstring—ID is an optional unique identifier for this configuration.
lambdaFunctionConfigurations[].lambdaFunctionArnstringyesLambdaFunctionARN is the ARN of the Lambda function.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
queueConfigurationsarray<object>—QueueConfigurations are SQS queue notification configurations.
queueConfigurations[].eventsarray<string>yesEvents is the list of S3 events that trigger this notification.
queueConfigurations[].idstring—ID is an optional unique identifier for this configuration.
queueConfigurations[].queueArnstringyesQueueARN is the ARN of the SQS queue.
topicConfigurationsarray<object>—TopicConfigurations are SNS topic notification configurations.
topicConfigurations[].eventsarray<string>yesEvents is the list of S3 events that trigger this notification.
topicConfigurations[].idstring—ID is an optional unique identifier for this configuration.
topicConfigurations[].topicArnstringyesTopicARN is the ARN of the SNS topic.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

S3BucketPolicy # GA

S3BucketPolicy is the Schema for managing S3 Bucket Policies.

kubectl get s3bucketpolicies · example on GitHub

Example

# S3BucketPolicy — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3bucketpolicy
apiVersion: aws.konfig.io/v1alpha1
kind: S3BucketPolicy
metadata:
  name: example-s3bucketpolicy
  namespace: default
spec:
  bucketRef:
    bucketName: example-s3bucketpolicy
    name: example-s3bucketpolicy
  policyDocument: '{"Version": "2012-10-17", "Statement": [{"Effect": "Allow", "Action": ["s3:GetObject"],
    "Resource": "*"}]}'
  providerRef:
    name: example-s3bucketpolicy
    region: us-east-1

Spec

FieldTypeRequiredDescription
bucketRefobjectyesBucketRef references the target bucket.
bucketRef.bucketNamestring—BucketName is a direct S3 bucket name (bypasses CR lookup).
bucketRef.namestring—Name is the name of an S3Bucket CR in the same namespace.
policyDocumentstringyesPolicyDocument is the JSON IAM resource policy to attach to the bucket.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

S3BucketReplication # GA

S3BucketReplication is the Schema for managing S3 bucket replication configurations.

kubectl get s3bucketreplications · example on GitHub

Example

# S3BucketReplication — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3bucketreplication
apiVersion: aws.konfig.io/v1alpha1
kind: S3BucketReplication
metadata:
  name: example-s3bucketreplication
  namespace: default
spec:
  bucketName: example-s3bucketreplication
  providerRef:
    name: example-s3bucketreplication
    region: us-east-1
  roleArn: arn:aws:iam::123456789012:role/example-role
  rules:
  - destination:
      account: example
      bucket: example
      storageClass: example
    prefix: example
    priority: 1
    status: Enabled

Spec

FieldTypeRequiredDescription
bucketNamestringyesBucketName is the name of the source S3 bucket.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
roleArnstringyesRoleARN is the IAM role ARN that S3 assumes for replication.
rulesarray<object>yesRules are the replication rules.
rules[].destinationobjectyesDestination is the destination configuration for the rule.
rules[].destination.accountstring—Account is the destination account ID for cross-account replication.
rules[].destination.bucketstringyesBucket is the ARN of the destination bucket.
rules[].destination.storageClassstring—StorageClass overrides the storage class of replicated objects.
rules[].idstring—ID is an optional unique identifier for this rule.
rules[].prefixstring—Prefix filters objects for replication by key prefix.
rules[].priorityinteger—Priority is used when multiple rules apply to the same object.
rules[].statusenumyesStatus indicates whether the rule is enabled. Allowed: Enabled, Disabled

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

S3MultiRegionAccessPoint # CLOUD CONTROL · AWS::S3::MultiRegionAccessPoint

S3MultiRegionAccessPoint manages AWS::S3::MultiRegionAccessPoint through the AWS Cloud Control API.

kubectl get s3multiregionaccesspoints · example on GitHub

Example

# S3MultiRegionAccessPoint — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3multiregionaccesspoint
apiVersion: aws.konfig.io/v1alpha1
kind: S3MultiRegionAccessPoint
metadata:
  name: example-s3multiregionaccesspoint
  namespace: default
spec:
  name: example-s3multiregionaccesspoint
  providerRef:
    name: example-s3multiregionaccesspoint
    region: us-east-1
  publicAccessBlockConfiguration:
    blockPublicAcls: false
    blockPublicPolicy: false
    ignorePublicAcls: false
    restrictPublicBuckets: false
  regions:
  - bucket: example
    bucketAccountId: '123456789012'

Spec

FieldTypeRequiredDescription
namestring—The name you want to assign to this Multi Region Access Point.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
publicAccessBlockConfigurationobject—The PublicAccessBlock configuration that you want to apply to this Multi Region Access Point.
publicAccessBlockConfiguration.blockPublicAclsboolean—Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account.
publicAccessBlockConfiguration.blockPublicPolicyboolean—Specifies whether Amazon S3 should block public bucket policies for buckets in this account.
publicAccessBlockConfiguration.ignorePublicAclsboolean—Specifies whether Amazon S3 should ignore public ACLs for buckets in this account.
publicAccessBlockConfiguration.restrictPublicBucketsboolean—Specifies whether Amazon S3 should restrict public bucket policies for this bucket.
regionsarray<object>yesThe list of buckets that you want to associate this Multi Region Access Point with.
regions[].bucketstringyes
regions[].bucketAccountIdstring—

Status

FieldTypeRequiredDescription
aliasstring—The alias is a unique identifier to, and is part of the public DNS name for this Multi Region Access Point Read-only: reported by AWS after creation.
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
createdAtstring—The timestamp of the when the Multi Region Access Point is created Read-only: reported by AWS after creation.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

S3MultiRegionAccessPointPolicy # CLOUD CONTROL · AWS::S3::MultiRegionAccessPointPolicy

S3MultiRegionAccessPointPolicy manages AWS::S3::MultiRegionAccessPointPolicy through the AWS Cloud Control API.

kubectl get s3multiregionaccesspointpolicies · example on GitHub

Example

# S3MultiRegionAccessPointPolicy — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3multiregionaccesspointpolicy
apiVersion: aws.konfig.io/v1alpha1
kind: S3MultiRegionAccessPointPolicy
metadata:
  name: example-s3multiregionaccesspointpolicy
  namespace: default
spec:
  mrapName: example-s3multiregionaccesspointpolicy
  providerRef:
    name: example-s3multiregionaccesspointpolicy
    region: us-east-1

Spec

FieldTypeRequiredDescription
mrapNamestringyesThe name of the Multi Region Access Point to apply policy Create-only in AWS: changing it requires replacing the resource.
policyobjectyesPolicy document to apply to a Multi Region Access Point
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
policyStatusobject—The Policy Status associated with this Multi Region Access Point Read-only: reported by AWS after creation.
policyStatus.isPublicenumyesSpecifies whether the policy is public or not. Allowed: True, False
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

S3StorageLens # CLOUD CONTROL · AWS::S3::StorageLens

S3StorageLens manages AWS::S3::StorageLens through the AWS Cloud Control API.

kubectl get s3storagelens · example on GitHub

Example

# S3StorageLens — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3storagelens
apiVersion: aws.konfig.io/v1alpha1
kind: S3StorageLens
metadata:
  name: example-s3storagelens
  namespace: default
spec:
  providerRef:
    name: example-s3storagelens
    region: us-east-1
  storageLensConfiguration:
    accountLevel:
      activityMetrics:
        isEnabled: true
      advancedCostOptimizationMetrics:
        isEnabled: true
      advancedDataProtectionMetrics:
        isEnabled: true
      advancedPerformanceMetrics:
        isEnabled: true
      detailedStatusCodesMetrics:
        isEnabled: true
    awsOrg:
      name: example-awsorg
    dataExport:
      cloudWatchMetrics:
        isEnabled: true
      s3BucketDestination:
        accountId: '123456789012'
        arn: arn:aws:iam::123456789012:role/example-role
        format: CSV
        outputSchemaVersion: V_1
        prefix: example
      storageLensTableDestination:
        isEnabled: true
    exclude:
      buckets:
      - example
      regions:
      - example
    expandedPrefixesDataExport:
      s3BucketDestination:
        accountId: '123456789012'
        arn: arn:aws:iam::123456789012:role/example-role
        format: CSV
        outputSchemaVersion: V_1
        prefix: example
      storageLensTableDestination:
        isEnabled: true
    id: example-id
    include:
      buckets:
      - example
      regions:
      - example
    isEnabled: true
    prefixDelimiter: example
    storageLensArn: arn:aws:iam::123456789012:role/example-role
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
storageLensConfigurationobjectyesS3StorageLensStorageLensConfiguration is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevelobjectyesS3StorageLensAccountLevel is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.activityMetricsobject—S3StorageLensActivityMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.activityMetrics.isEnabledboolean—Specifies whether activity metrics are enabled or disabled.
storageLensConfiguration.accountLevel.advancedCostOptimizationMetricsobject—S3StorageLensAdvancedCostOptimizationMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.advancedCostOptimizationMetrics.isEnabledboolean—Specifies whether advanced cost optimization metrics are enabled or disabled.
storageLensConfiguration.accountLevel.advancedDataProtectionMetricsobject—S3StorageLensAdvancedDataProtectionMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.advancedDataProtectionMetrics.isEnabledboolean—Specifies whether advanced data protection metrics are enabled or disabled.
storageLensConfiguration.accountLevel.advancedPerformanceMetricsobject—S3StorageLensAdvancedPerformanceMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.advancedPerformanceMetrics.isEnabledboolean—Specifies whether the Advanced Performance Metrics is enabled or disabled.
storageLensConfiguration.accountLevel.bucketLevelobjectyesS3StorageLensBucketLevel is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.activityMetricsobject—S3StorageLensActivityMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.activityMetrics.isEnabledboolean—Specifies whether activity metrics are enabled or disabled.
storageLensConfiguration.accountLevel.bucketLevel.advancedCostOptimizationMetricsobject—S3StorageLensAdvancedCostOptimizationMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.advancedCostOptimizationMetrics.isEnabledboolean—Specifies whether advanced cost optimization metrics are enabled or disabled.
storageLensConfiguration.accountLevel.bucketLevel.advancedDataProtectionMetricsobject—S3StorageLensAdvancedDataProtectionMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.advancedDataProtectionMetrics.isEnabledboolean—Specifies whether advanced data protection metrics are enabled or disabled.
storageLensConfiguration.accountLevel.bucketLevel.advancedPerformanceMetricsobject—S3StorageLensAdvancedPerformanceMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.advancedPerformanceMetrics.isEnabledboolean—Specifies whether the Advanced Performance Metrics is enabled or disabled.
storageLensConfiguration.accountLevel.bucketLevel.detailedStatusCodesMetricsobject—S3StorageLensDetailedStatusCodesMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.detailedStatusCodesMetrics.isEnabledboolean—Specifies whether detailed status codes metrics are enabled or disabled.
storageLensConfiguration.accountLevel.bucketLevel.prefixLevelobject—S3StorageLensPrefixLevel is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.prefixLevel.storageMetricsobjectyesS3StorageLensPrefixLevelStorageMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.bucketLevel.prefixLevel.storageMetrics.isEnabledboolean—Specifies whether prefix-level storage metrics are enabled or disabled.
storageLensConfiguration.accountLevel.bucketLevel.prefixLevel.storageMetrics.selectionCriteriaobject—S3StorageLensSelectionCriteria is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.detailedStatusCodesMetricsobject—S3StorageLensDetailedStatusCodesMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.detailedStatusCodesMetrics.isEnabledboolean—Specifies whether detailed status codes metrics are enabled or disabled.
storageLensConfiguration.accountLevel.storageLensGroupLevelobject—S3StorageLensStorageLensGroupLevel is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.storageLensGroupLevel.storageLensGroupSelectionCriteriaobject—S3StorageLensStorageLensGroupSelectionCriteria is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.accountLevel.storageLensGroupLevel.storageLensGroupSelectionCriteria.excludearray<string>—
storageLensConfiguration.accountLevel.storageLensGroupLevel.storageLensGroupSelectionCriteria.includearray<string>—
storageLensConfiguration.awsOrgobject—S3StorageLensAwsOrg is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.awsOrg.arnstringyes
storageLensConfiguration.dataExportobject—S3StorageLensDataExport is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.dataExport.cloudWatchMetricsobject—S3StorageLensCloudWatchMetrics is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.dataExport.cloudWatchMetrics.isEnabledbooleanyesSpecifies whether CloudWatch metrics are enabled or disabled.
storageLensConfiguration.dataExport.s3BucketDestinationobject—S3StorageLensS3BucketDestination is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.dataExport.s3BucketDestination.accountIdstringyesThe AWS account ID that owns the destination S3 bucket.
storageLensConfiguration.dataExport.s3BucketDestination.arnstringyesThe ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
storageLensConfiguration.dataExport.s3BucketDestination.encryptionobject—
storageLensConfiguration.dataExport.s3BucketDestination.formatenumyesSpecifies the file format to use when exporting Amazon S3 Storage Lens metrics export. Allowed: CSV, Parquet
storageLensConfiguration.dataExport.s3BucketDestination.outputSchemaVersionenumyesThe version of the output schema to use when exporting Amazon S3 Storage Lens metrics. Allowed: V_1
storageLensConfiguration.dataExport.s3BucketDestination.prefixstring—The prefix to use for Amazon S3 Storage Lens export.
storageLensConfiguration.dataExport.storageLensTableDestinationobject—S3StorageLensStorageLensTableDestination is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.dataExport.storageLensTableDestination.encryptionobject—
storageLensConfiguration.dataExport.storageLensTableDestination.isEnabledbooleanyesSpecifies whether the export to S3 Tables is enabled or disabled.
storageLensConfiguration.excludeobject—S3StorageLensBucketsAndRegions is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.exclude.bucketsarray<string>—
storageLensConfiguration.exclude.regionsarray<string>—
storageLensConfiguration.expandedPrefixesDataExportobject—S3StorageLensStorageLensExpandedPrefixesDataExport is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.expandedPrefixesDataExport.s3BucketDestinationobject—S3StorageLensS3BucketDestination is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.expandedPrefixesDataExport.s3BucketDestination.accountIdstringyesThe AWS account ID that owns the destination S3 bucket.
storageLensConfiguration.expandedPrefixesDataExport.s3BucketDestination.arnstringyesThe ARN of the bucket to which Amazon S3 Storage Lens exports will be placed.
storageLensConfiguration.expandedPrefixesDataExport.s3BucketDestination.encryptionobject—
storageLensConfiguration.expandedPrefixesDataExport.s3BucketDestination.formatenumyesSpecifies the file format to use when exporting Amazon S3 Storage Lens metrics export. Allowed: CSV, Parquet
storageLensConfiguration.expandedPrefixesDataExport.s3BucketDestination.outputSchemaVersionenumyesThe version of the output schema to use when exporting Amazon S3 Storage Lens metrics. Allowed: V_1
storageLensConfiguration.expandedPrefixesDataExport.s3BucketDestination.prefixstring—The prefix to use for Amazon S3 Storage Lens export.
storageLensConfiguration.expandedPrefixesDataExport.storageLensTableDestinationobject—S3StorageLensStorageLensTableDestination is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.expandedPrefixesDataExport.storageLensTableDestination.encryptionobject—
storageLensConfiguration.expandedPrefixesDataExport.storageLensTableDestination.isEnabledbooleanyesSpecifies whether the export to S3 Tables is enabled or disabled.
storageLensConfiguration.idstringyes
storageLensConfiguration.includeobject—S3StorageLensBucketsAndRegions is a nested property type of AWS::S3::StorageLens.
storageLensConfiguration.include.bucketsarray<string>—
storageLensConfiguration.include.regionsarray<string>—
storageLensConfiguration.isEnabledbooleanyesSpecifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
storageLensConfiguration.prefixDelimiterstring—The delimiter to divide S3 key into hierarchy of prefixes.
storageLensConfiguration.storageLensArnstring—The ARN for the Amazon S3 Storage Lens configuration.
tagsarray<object>—A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

S3StorageLensGroup # CLOUD CONTROL · AWS::S3::StorageLensGroup

S3StorageLensGroup manages AWS::S3::StorageLensGroup through the AWS Cloud Control API.

kubectl get s3storagelensgroups · example on GitHub

Example

# S3StorageLensGroup — S3
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/s3.html#s3storagelensgroup
apiVersion: aws.konfig.io/v1alpha1
kind: S3StorageLensGroup
metadata:
  name: example-s3storagelensgroup
  namespace: default
spec:
  filter:
    and:
      matchAnyPrefix:
      - example
      matchAnySuffix:
      - example
      matchAnyTag:
      - key: example
        value: example
      matchObjectAge:
        daysGreaterThan: 1
        daysLessThan: 1
      matchObjectSize:
        bytesGreaterThan: 1
        bytesLessThan: 1
    matchAnyPrefix:
    - example
    matchAnySuffix:
    - example
    matchAnyTag:
    - key: example
      value: example
    matchObjectAge:
      daysGreaterThan: 1
      daysLessThan: 1
    matchObjectSize:
      bytesGreaterThan: 1
      bytesLessThan: 1
    or:
      matchAnyPrefix:
      - example
      matchAnySuffix:
      - example
      matchAnyTag:
      - key: example
        value: example
      matchObjectAge:
        daysGreaterThan: 1
        daysLessThan: 1
      matchObjectSize:
        bytesGreaterThan: 1
        bytesLessThan: 1
  name: example-s3storagelensgroup
  providerRef:
    name: example-s3storagelensgroup
    region: us-east-1
  tags:
  - key: example
    value: example

Spec

FieldTypeRequiredDescription
filterobjectyesS3StorageLensGroupFilter is a nested property type of AWS::S3::StorageLensGroup.
filter.andobject—S3StorageLensGroupAnd is a nested property type of AWS::S3::StorageLensGroup.
filter.and.matchAnyPrefixarray<string>—
filter.and.matchAnySuffixarray<string>—
filter.and.matchAnyTagarray<object>—
filter.and.matchAnyTag[].keystringyes
filter.and.matchAnyTag[].valuestringyes
filter.and.matchObjectAgeobject—S3StorageLensGroupMatchObjectAge is a nested property type of AWS::S3::StorageLensGroup.
filter.and.matchObjectAge.daysGreaterThaninteger—Minimum object age to which the rule applies.
filter.and.matchObjectAge.daysLessThaninteger—Maximum object age to which the rule applies.
filter.and.matchObjectSizeobject—S3StorageLensGroupMatchObjectSize is a nested property type of AWS::S3::StorageLensGroup.
filter.and.matchObjectSize.bytesGreaterThaninteger—Minimum object size to which the rule applies.
filter.and.matchObjectSize.bytesLessThaninteger—Maximum object size to which the rule applies.
filter.matchAnyPrefixarray<string>—
filter.matchAnySuffixarray<string>—
filter.matchAnyTagarray<object>—
filter.matchAnyTag[].keystringyes
filter.matchAnyTag[].valuestringyes
filter.matchObjectAgeobject—S3StorageLensGroupMatchObjectAge is a nested property type of AWS::S3::StorageLensGroup.
filter.matchObjectAge.daysGreaterThaninteger—Minimum object age to which the rule applies.
filter.matchObjectAge.daysLessThaninteger—Maximum object age to which the rule applies.
filter.matchObjectSizeobject—S3StorageLensGroupMatchObjectSize is a nested property type of AWS::S3::StorageLensGroup.
filter.matchObjectSize.bytesGreaterThaninteger—Minimum object size to which the rule applies.
filter.matchObjectSize.bytesLessThaninteger—Maximum object size to which the rule applies.
filter.orobject—S3StorageLensGroupOr is a nested property type of AWS::S3::StorageLensGroup.
filter.or.matchAnyPrefixarray<string>—
filter.or.matchAnySuffixarray<string>—
filter.or.matchAnyTagarray<object>—
filter.or.matchAnyTag[].keystringyes
filter.or.matchAnyTag[].valuestringyes
filter.or.matchObjectAgeobject—S3StorageLensGroupMatchObjectAge is a nested property type of AWS::S3::StorageLensGroup.
filter.or.matchObjectAge.daysGreaterThaninteger—Minimum object age to which the rule applies.
filter.or.matchObjectAge.daysLessThaninteger—Maximum object age to which the rule applies.
filter.or.matchObjectSizeobject—S3StorageLensGroupMatchObjectSize is a nested property type of AWS::S3::StorageLensGroup.
filter.or.matchObjectSize.bytesGreaterThaninteger—Minimum object size to which the rule applies.
filter.or.matchObjectSize.bytesLessThaninteger—Maximum object size to which the rule applies.
namestringyesCreate-only in AWS: changing it requires replacing the resource.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
tagsarray<object>—A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
tags[].keystringyes
tags[].valuestringyes

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.
storageLensGroupArnstring—The ARN for the Amazon S3 Storage Lens Group.