S3



A managed service that provides secure, durable, and scalable object storage for storing and retrieving any amount of data from anywhere on the web.


Example yaml file:


apiVersion: aws.boundless.software/v1alpha1
kind: S3
metadata:
  name: example-bucket
spec:
  provider:
    region: us-east-1
  bucket:
    bucketName: example-bucket
    encryptionKeyARN: "arn:aws:kms:region:accountid:key/key-id"
    locationConstraint: "us-east-1"
    acl: "private"
    website:
      IndexDocument: "index.html"
      ErrorDocument: "error.html"
    bucketPolicy:
      Version: "2012-10-17"
      Statement:
        - Sid: "PublicReadGetObject"
          Effect: "Allow"
          Principal: 
            AWS: "*"
          Action: 
            - "s3:GetObject"
          Resource: "arn:aws:s3:::example-bucket/*"
    tags:
      Environment: "production"
      Project: "example"

Inputs


S3Spec


NameTypeDescription
providerAwsProviderSpecProvider specifies the AWS provider settings
bucketS3BucketSpecBucket specifies the S3 bucket configuration

S3BucketSpec


NameTypeDescription
bucketName*stringName of the S3 bucket
encryptionKeyARNstringOptional ARN of the encryption key
bucketPolicyS3BucketPolicyOptional bucket policy configuration
websiteS3BucketWebsiteOptional website configuration for the bucket
locationConstraintstringOptional location constraint
aclstringOptional access control list
tagsmap[string]stringOptional key-value pair tags

S3BucketPolicy


NameTypeDescription
VersionstringVersion of the policy
Statement[]S3BucketPolicyActionList of policy actions

S3BucketPolicyAction


NameTypeDescription
SidstringStatement ID
EffectstringEffect (Allow/Deny)
Principalmap[string]stringThe principal the policy applies to
Action[]stringThe action to take
ResourcestringThe resource to apply the action to

S3BucketWebsite


NameTypeDescription
IndexDocumentstringThe index document for the website
ErrorDocumentstringThe error document for the website

Status


S3Status


NameTypeDescription
conditions[]metav1.ConditionList of conditions observed
bucketS3BucketStatusObserved state of the S3 bucket

S3BucketStatus


NameTypeDescription
conditions[]metav1.ConditionList of conditions observed
arnstringThe ARN of the S3 bucket
namestringThe name of the bucket
encryptionKeyARNstringThe ARN of the encryption key
policyS3BucketPolicyThe policy applied to the bucket
websiteS3BucketWebsiteThe website configuration of the bucket



Previous

<< EC2