S3StorageSchema
Hierarchy
- BaseResourceSchema
- S3StorageSchema
Index
Properties
inheritedlocalResourceId
The ID the resource was created with, unique within its scope.
inheritedparents
The resources this one is built on top of.
properties
Input properties.
properties.awsAccountId- The AWS account id.properties.awsRegionId- The AWS region id.properties.blockPublicAccess- Blocks every public ACL and public policy on the bucket.properties.Bucket- The name of the bucket.properties.corsRules- The rules letting a page on another origin call the bucket. See S3StorageCorsRuleSchema for options.properties.lifecycleRules- The rules expiring the bucket's objects. See S3StorageLifecycleRuleSchema for options.properties.permissions- The permissions for the bucket. See S3StoragePermissionSchema for options.
Type declaration
awsAccountId: string
awsRegionId: string
blockPublicAccess: boolean
Bucket: string
corsRules: S3StorageCorsRuleSchema[]
lifecycleRules: S3StorageLifecycleRuleSchema[]
permissions: S3StoragePermissionSchema[]
inheritedresourceId
The ID of the resource, unique across the infrastructure: its localResourceId, followed by a hash
of its scope when it has one.
response
Saved response.
response.Arn- The ARN of the bucket.response.awsRegionId- The AWS region id.response.Bucket- The name of the bucket, as terraform created it.response.RegionalDomainName- The bucket's REST endpoint, which is what a CloudFront origin points at.
Type declaration
optionalArn?: string
optionalawsRegionId?: string
optionalBucket?: string
optionalRegionalDomainName?: string
inheritedscope
The contexts of the models the resource is placed under, derived from where the node creating it sits in the model graph. Octo sets it; a resource created outside a model action has none.
sourcePathDigests
Type declaration
[remotePath string]: string
inheritedtags
The tags applied to the resource.
Type declaration
[key string]: string
S3StorageSchemais the schema of theS3Storageresource: an S3 bucket holding files. Terraform provisions it asaws_s3_bucket,aws_s3_bucket_public_access_blockwhen public access is blocked, oneaws_s3_objectper uploaded file, andaws_s3_bucket_policyonce a principal is admitted,aws_s3_bucket_cors_configurationonce it has a CORS rule, andaws_s3_bucket_lifecycle_configurationonce it has a lifecycle rule.Resources/S3Storage
parents - The principals admitted to the bucket.
resourceId - The resource id is of format
bucket-<bucket-name>