Skip to main content

S3StorageSchema

The S3StorageSchema class is the schema for the S3Storage resource, which represents the AWS Simple Storage Service (S3) Bucket resource. This resource can create an S3 bucket in AWS using the AWS JavaScript SDK V3 API. See official sdk docs.

@group

Resources/S3Storage

@overrideProperty

parents - This resource has parents.

@overrideProperty

resourceId - The resource id is of format bucket-<bucket-name>

Hierarchy

  • BaseResourceSchema
    • S3StorageSchema

Index

Properties

inheritedparents

parents: IResourceReference[]

properties

properties: { awsAccountId: string; awsRegionId: string; Bucket: string; permissions: S3StoragePermissionSchema[] } = ...

Input properties.

  • properties.awsAccountId - The AWS account id.
  • properties.awsRegionId - The AWS region id.
  • properties.Bucket - The name of the bucket.
  • properties.permissions - The permissions for the bucket. See S3StoragePermissionSchema for options.

Type declaration

inheritedresourceId

resourceId: string

response

response: { Arn?: string } = ...

Saved response.

  • response.Arn - The ARN of the bucket.

Type declaration

  • optionalArn?: string

inheritedtags

tags: {}

Type declaration

  • [key string]: string