aws-controllers-k8s/community

S3 BucketNotificationConfiguration CR

Opened this issue · 0 comments

Is your feature request related to a problem?
I need to be able to put bucket notification configurations independently of bucket creation. We have several buckets that are maintained outside of K8s (e.g. CloudFormation, Terraform, etc.) and migrating to ACK is not feasible.

Describe the solution you'd like
I would like a custom resource, under the S3 API, for BucketNotificationConfiguration:

BucketNotificationConfiguration

s3.services.k8s.aws/v1alpha1

Metadata

Property Value
Scope Namespaced
Kind BucketNotificationConfiguration
ListKind BucketNotificationConfigurationList
Plural bucketnotificationconfigurations
Singular bucketnotificationconfiguration
ShortName bnc

Spec

bucket: string
notificationConfiguration: 
  lambdaFunctionConfigurations:
    events:
    - string
    filter: 
      key: 
        filterRules:
        - name: string
          value: string
    id: string
    lambdaFunctionARN: string
  queueConfigurations:
    events:
    - string
    filter: 
      key: 
        filterRules:
        - name: string
          value: string
    id: string
    queueARN: string
  topicConfigurations:
    events:
    - string
    filter: 
      key: 
        filterRules:
        - name: string
          value: string
    id: string
    topicARN: string