Documentation ¶
Index ¶
- type Args
- type CorsRule
- type CorsRuleAttributes
- func (cr CorsRuleAttributes) AllowedHeaders() terra.ListValue[terra.StringValue]
- func (cr CorsRuleAttributes) AllowedMethods() terra.ListValue[terra.StringValue]
- func (cr CorsRuleAttributes) AllowedOrigins() terra.ListValue[terra.StringValue]
- func (cr CorsRuleAttributes) ExposeHeaders() terra.ListValue[terra.StringValue]
- func (cr CorsRuleAttributes) InternalRef() (terra.Reference, error)
- func (cr CorsRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CorsRuleAttributes) InternalWithRef(ref terra.Reference) CorsRuleAttributes
- func (cr CorsRuleAttributes) MaxAgeSeconds() terra.NumberValue
- type CorsRuleState
- type DataArgs
- type DataSource
- type Grant
- type GrantAttributes
- func (g GrantAttributes) Id() terra.StringValue
- func (g GrantAttributes) InternalRef() (terra.Reference, error)
- func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes
- func (g GrantAttributes) Permissions() terra.SetValue[terra.StringValue]
- func (g GrantAttributes) Type() terra.StringValue
- func (g GrantAttributes) Uri() terra.StringValue
- type GrantState
- type LifecycleRule
- type LifecycleRuleAttributes
- func (lr LifecycleRuleAttributes) AbortIncompleteMultipartUploadDays() terra.NumberValue
- func (lr LifecycleRuleAttributes) Enabled() terra.BoolValue
- func (lr LifecycleRuleAttributes) Expiration() terra.ListValue[LifecycleRuleExpirationAttributes]
- func (lr LifecycleRuleAttributes) Id() terra.StringValue
- func (lr LifecycleRuleAttributes) InternalRef() (terra.Reference, error)
- func (lr LifecycleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lr LifecycleRuleAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleAttributes
- func (lr LifecycleRuleAttributes) NoncurrentVersionExpiration() terra.ListValue[LifecycleRuleNoncurrentVersionExpirationAttributes]
- func (lr LifecycleRuleAttributes) NoncurrentVersionTransition() terra.SetValue[LifecycleRuleNoncurrentVersionTransitionAttributes]
- func (lr LifecycleRuleAttributes) Prefix() terra.StringValue
- func (lr LifecycleRuleAttributes) Tags() terra.MapValue[terra.StringValue]
- func (lr LifecycleRuleAttributes) Transition() terra.SetValue[LifecycleRuleTransitionAttributes]
- type LifecycleRuleExpiration
- type LifecycleRuleExpirationAttributes
- func (e LifecycleRuleExpirationAttributes) Date() terra.StringValue
- func (e LifecycleRuleExpirationAttributes) Days() terra.NumberValue
- func (e LifecycleRuleExpirationAttributes) ExpiredObjectDeleteMarker() terra.BoolValue
- func (e LifecycleRuleExpirationAttributes) InternalRef() (terra.Reference, error)
- func (e LifecycleRuleExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e LifecycleRuleExpirationAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleExpirationAttributes
- type LifecycleRuleExpirationState
- type LifecycleRuleNoncurrentVersionExpiration
- type LifecycleRuleNoncurrentVersionExpirationAttributes
- func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) Days() terra.NumberValue
- func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) InternalRef() (terra.Reference, error)
- func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleNoncurrentVersionExpirationAttributes
- type LifecycleRuleNoncurrentVersionExpirationState
- type LifecycleRuleNoncurrentVersionTransition
- type LifecycleRuleNoncurrentVersionTransitionAttributes
- func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) Days() terra.NumberValue
- func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) InternalRef() (terra.Reference, error)
- func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleNoncurrentVersionTransitionAttributes
- func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) StorageClass() terra.StringValue
- type LifecycleRuleNoncurrentVersionTransitionState
- type LifecycleRuleState
- type LifecycleRuleTransition
- type LifecycleRuleTransitionAttributes
- func (t LifecycleRuleTransitionAttributes) Date() terra.StringValue
- func (t LifecycleRuleTransitionAttributes) Days() terra.NumberValue
- func (t LifecycleRuleTransitionAttributes) InternalRef() (terra.Reference, error)
- func (t LifecycleRuleTransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t LifecycleRuleTransitionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleTransitionAttributes
- func (t LifecycleRuleTransitionAttributes) StorageClass() terra.StringValue
- type LifecycleRuleTransitionState
- type Logging
- type LoggingAttributes
- func (l LoggingAttributes) InternalRef() (terra.Reference, error)
- func (l LoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l LoggingAttributes) InternalWithRef(ref terra.Reference) LoggingAttributes
- func (l LoggingAttributes) TargetBucket() terra.StringValue
- func (l LoggingAttributes) TargetPrefix() terra.StringValue
- type LoggingState
- type ObjectLockConfiguration
- type ObjectLockConfigurationAttributes
- func (olc ObjectLockConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (olc ObjectLockConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (olc ObjectLockConfigurationAttributes) InternalWithRef(ref terra.Reference) ObjectLockConfigurationAttributes
- func (olc ObjectLockConfigurationAttributes) ObjectLockEnabled() terra.StringValue
- func (olc ObjectLockConfigurationAttributes) Rule() terra.ListValue[ObjectLockConfigurationRuleAttributes]
- type ObjectLockConfigurationRule
- type ObjectLockConfigurationRuleAttributes
- func (r ObjectLockConfigurationRuleAttributes) DefaultRetention() terra.ListValue[ObjectLockConfigurationRuleDefaultRetentionAttributes]
- func (r ObjectLockConfigurationRuleAttributes) InternalRef() (terra.Reference, error)
- func (r ObjectLockConfigurationRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ObjectLockConfigurationRuleAttributes) InternalWithRef(ref terra.Reference) ObjectLockConfigurationRuleAttributes
- type ObjectLockConfigurationRuleDefaultRetention
- type ObjectLockConfigurationRuleDefaultRetentionAttributes
- func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) Days() terra.NumberValue
- func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalRef() (terra.Reference, error)
- func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalWithRef(ref terra.Reference) ObjectLockConfigurationRuleDefaultRetentionAttributes
- func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) Mode() terra.StringValue
- func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) Years() terra.NumberValue
- type ObjectLockConfigurationRuleDefaultRetentionState
- type ObjectLockConfigurationRuleState
- type ObjectLockConfigurationState
- type ReplicationConfiguration
- type ReplicationConfigurationAttributes
- func (rc ReplicationConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (rc ReplicationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ReplicationConfigurationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationAttributes
- func (rc ReplicationConfigurationAttributes) Role() terra.StringValue
- func (rc ReplicationConfigurationAttributes) Rules() terra.SetValue[ReplicationConfigurationRulesAttributes]
- type ReplicationConfigurationRules
- type ReplicationConfigurationRulesAttributes
- func (r ReplicationConfigurationRulesAttributes) DeleteMarkerReplicationStatus() terra.StringValue
- func (r ReplicationConfigurationRulesAttributes) Destination() terra.ListValue[ReplicationConfigurationRulesDestinationAttributes]
- func (r ReplicationConfigurationRulesAttributes) Filter() terra.ListValue[ReplicationConfigurationRulesFilterAttributes]
- func (r ReplicationConfigurationRulesAttributes) Id() terra.StringValue
- func (r ReplicationConfigurationRulesAttributes) InternalRef() (terra.Reference, error)
- func (r ReplicationConfigurationRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ReplicationConfigurationRulesAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesAttributes
- func (r ReplicationConfigurationRulesAttributes) Prefix() terra.StringValue
- func (r ReplicationConfigurationRulesAttributes) Priority() terra.NumberValue
- func (r ReplicationConfigurationRulesAttributes) SourceSelectionCriteria() ...
- func (r ReplicationConfigurationRulesAttributes) Status() terra.StringValue
- type ReplicationConfigurationRulesDestination
- type ReplicationConfigurationRulesDestinationAccessControlTranslation
- type ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes
- func (act ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalRef() (terra.Reference, error)
- func (act ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (act ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes
- func (act ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) Owner() terra.StringValue
- type ReplicationConfigurationRulesDestinationAccessControlTranslationState
- type ReplicationConfigurationRulesDestinationAttributes
- func (d ReplicationConfigurationRulesDestinationAttributes) AccessControlTranslation() ...
- func (d ReplicationConfigurationRulesDestinationAttributes) AccountId() terra.StringValue
- func (d ReplicationConfigurationRulesDestinationAttributes) Bucket() terra.StringValue
- func (d ReplicationConfigurationRulesDestinationAttributes) InternalRef() (terra.Reference, error)
- func (d ReplicationConfigurationRulesDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d ReplicationConfigurationRulesDestinationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesDestinationAttributes
- func (d ReplicationConfigurationRulesDestinationAttributes) Metrics() terra.ListValue[ReplicationConfigurationRulesDestinationMetricsAttributes]
- func (d ReplicationConfigurationRulesDestinationAttributes) ReplicaKmsKeyId() terra.StringValue
- func (d ReplicationConfigurationRulesDestinationAttributes) ReplicationTime() ...
- func (d ReplicationConfigurationRulesDestinationAttributes) StorageClass() terra.StringValue
- type ReplicationConfigurationRulesDestinationMetrics
- type ReplicationConfigurationRulesDestinationMetricsAttributes
- func (m ReplicationConfigurationRulesDestinationMetricsAttributes) InternalRef() (terra.Reference, error)
- func (m ReplicationConfigurationRulesDestinationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m ReplicationConfigurationRulesDestinationMetricsAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesDestinationMetricsAttributes
- func (m ReplicationConfigurationRulesDestinationMetricsAttributes) Minutes() terra.NumberValue
- func (m ReplicationConfigurationRulesDestinationMetricsAttributes) Status() terra.StringValue
- type ReplicationConfigurationRulesDestinationMetricsState
- type ReplicationConfigurationRulesDestinationReplicationTime
- type ReplicationConfigurationRulesDestinationReplicationTimeAttributes
- func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalRef() (terra.Reference, error)
- func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesDestinationReplicationTimeAttributes
- func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) Minutes() terra.NumberValue
- func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) Status() terra.StringValue
- type ReplicationConfigurationRulesDestinationReplicationTimeState
- type ReplicationConfigurationRulesDestinationState
- type ReplicationConfigurationRulesFilter
- type ReplicationConfigurationRulesFilterAttributes
- func (f ReplicationConfigurationRulesFilterAttributes) InternalRef() (terra.Reference, error)
- func (f ReplicationConfigurationRulesFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f ReplicationConfigurationRulesFilterAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesFilterAttributes
- func (f ReplicationConfigurationRulesFilterAttributes) Prefix() terra.StringValue
- func (f ReplicationConfigurationRulesFilterAttributes) Tags() terra.MapValue[terra.StringValue]
- type ReplicationConfigurationRulesFilterState
- type ReplicationConfigurationRulesSourceSelectionCriteria
- type ReplicationConfigurationRulesSourceSelectionCriteriaAttributes
- func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalRef() (terra.Reference, error)
- func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesSourceSelectionCriteriaAttributes
- func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) SseKmsEncryptedObjects() ...
- type ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjects
- type ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes
- func (skeo ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) Enabled() terra.BoolValue
- func (skeo ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalRef() (terra.Reference, error)
- func (skeo ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (skeo ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalWithRef(ref terra.Reference) ...
- type ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsState
- type ReplicationConfigurationRulesSourceSelectionCriteriaState
- type ReplicationConfigurationRulesState
- type ReplicationConfigurationState
- type Resource
- func (asb *Resource) Attributes() awsS3BucketAttributes
- func (asb *Resource) Configuration() interface{}
- func (asb *Resource) DependOn() terra.Reference
- func (asb *Resource) Dependencies() terra.Dependencies
- func (asb *Resource) ImportState(state io.Reader) error
- func (asb *Resource) LifecycleManagement() *terra.Lifecycle
- func (asb *Resource) LocalName() string
- func (asb *Resource) State() (*awsS3BucketState, bool)
- func (asb *Resource) StateMust() *awsS3BucketState
- func (asb *Resource) Type() string
- type ServerSideEncryptionConfiguration
- type ServerSideEncryptionConfigurationAttributes
- func (ssec ServerSideEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ssec ServerSideEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssec ServerSideEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) ServerSideEncryptionConfigurationAttributes
- func (ssec ServerSideEncryptionConfigurationAttributes) Rule() terra.ListValue[ServerSideEncryptionConfigurationRuleAttributes]
- type ServerSideEncryptionConfigurationRule
- type ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault
- type ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes
- func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalRef() (terra.Reference, error)
- func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalWithRef(ref terra.Reference) ...
- func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) KmsMasterKeyId() terra.StringValue
- func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) SseAlgorithm() terra.StringValue
- type ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultState
- type ServerSideEncryptionConfigurationRuleAttributes
- func (r ServerSideEncryptionConfigurationRuleAttributes) ApplyServerSideEncryptionByDefault() ...
- func (r ServerSideEncryptionConfigurationRuleAttributes) BucketKeyEnabled() terra.BoolValue
- func (r ServerSideEncryptionConfigurationRuleAttributes) InternalRef() (terra.Reference, error)
- func (r ServerSideEncryptionConfigurationRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ServerSideEncryptionConfigurationRuleAttributes) InternalWithRef(ref terra.Reference) ServerSideEncryptionConfigurationRuleAttributes
- type ServerSideEncryptionConfigurationRuleState
- type ServerSideEncryptionConfigurationState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type Versioning
- type VersioningAttributes
- func (v VersioningAttributes) Enabled() terra.BoolValue
- func (v VersioningAttributes) InternalRef() (terra.Reference, error)
- func (v VersioningAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (v VersioningAttributes) InternalWithRef(ref terra.Reference) VersioningAttributes
- func (v VersioningAttributes) MfaDelete() terra.BoolValue
- type VersioningState
- type Website
- type WebsiteAttributes
- func (w WebsiteAttributes) ErrorDocument() terra.StringValue
- func (w WebsiteAttributes) IndexDocument() terra.StringValue
- func (w WebsiteAttributes) InternalRef() (terra.Reference, error)
- func (w WebsiteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (w WebsiteAttributes) InternalWithRef(ref terra.Reference) WebsiteAttributes
- func (w WebsiteAttributes) RedirectAllRequestsTo() terra.StringValue
- func (w WebsiteAttributes) RoutingRules() terra.StringValue
- type WebsiteState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AccelerationStatus: string, optional AccelerationStatus terra.StringValue `hcl:"acceleration_status,attr"` // Acl: string, optional Acl terra.StringValue `hcl:"acl,attr"` // Bucket: string, optional Bucket terra.StringValue `hcl:"bucket,attr"` // BucketPrefix: string, optional BucketPrefix terra.StringValue `hcl:"bucket_prefix,attr"` // ForceDestroy: bool, optional ForceDestroy terra.BoolValue `hcl:"force_destroy,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ObjectLockEnabled: bool, optional ObjectLockEnabled terra.BoolValue `hcl:"object_lock_enabled,attr"` // Policy: string, optional Policy terra.StringValue `hcl:"policy,attr"` // RequestPayer: string, optional RequestPayer terra.StringValue `hcl:"request_payer,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // CorsRule: min=0 CorsRule []CorsRule `hcl:"cors_rule,block" validate:"min=0"` // Grant: min=0 Grant []Grant `hcl:"grant,block" validate:"min=0"` // LifecycleRule: min=0 LifecycleRule []LifecycleRule `hcl:"lifecycle_rule,block" validate:"min=0"` // Logging: optional Logging *Logging `hcl:"logging,block"` // ObjectLockConfiguration: optional ObjectLockConfiguration *ObjectLockConfiguration `hcl:"object_lock_configuration,block"` // ReplicationConfiguration: optional ReplicationConfiguration *ReplicationConfiguration `hcl:"replication_configuration,block"` // ServerSideEncryptionConfiguration: optional ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `hcl:"server_side_encryption_configuration,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` // Versioning: optional Versioning *Versioning `hcl:"versioning,block"` // Website: optional Website *Website `hcl:"website,block"` }
Args contains the configurations for aws_s3_bucket.
type CorsRule ¶
type CorsRule struct { // AllowedHeaders: list of string, optional AllowedHeaders terra.ListValue[terra.StringValue] `hcl:"allowed_headers,attr"` // AllowedMethods: list of string, required AllowedMethods terra.ListValue[terra.StringValue] `hcl:"allowed_methods,attr" validate:"required"` // AllowedOrigins: list of string, required AllowedOrigins terra.ListValue[terra.StringValue] `hcl:"allowed_origins,attr" validate:"required"` // ExposeHeaders: list of string, optional ExposeHeaders terra.ListValue[terra.StringValue] `hcl:"expose_headers,attr"` // MaxAgeSeconds: number, optional MaxAgeSeconds terra.NumberValue `hcl:"max_age_seconds,attr"` }
type CorsRuleAttributes ¶
type CorsRuleAttributes struct {
// contains filtered or unexported fields
}
func (CorsRuleAttributes) AllowedHeaders ¶
func (cr CorsRuleAttributes) AllowedHeaders() terra.ListValue[terra.StringValue]
func (CorsRuleAttributes) AllowedMethods ¶
func (cr CorsRuleAttributes) AllowedMethods() terra.ListValue[terra.StringValue]
func (CorsRuleAttributes) AllowedOrigins ¶
func (cr CorsRuleAttributes) AllowedOrigins() terra.ListValue[terra.StringValue]
func (CorsRuleAttributes) ExposeHeaders ¶
func (cr CorsRuleAttributes) ExposeHeaders() terra.ListValue[terra.StringValue]
func (CorsRuleAttributes) InternalRef ¶
func (cr CorsRuleAttributes) InternalRef() (terra.Reference, error)
func (CorsRuleAttributes) InternalTokens ¶
func (cr CorsRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CorsRuleAttributes) InternalWithRef ¶
func (cr CorsRuleAttributes) InternalWithRef(ref terra.Reference) CorsRuleAttributes
func (CorsRuleAttributes) MaxAgeSeconds ¶
func (cr CorsRuleAttributes) MaxAgeSeconds() terra.NumberValue
type CorsRuleState ¶
type DataArgs ¶
type DataArgs struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` }
DataArgs contains the configurations for aws_s3_bucket.
type DataSource ¶
DataSource represents the Terraform data resource aws_s3_bucket.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (asb *DataSource) Attributes() dataAwsS3BucketAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (asb *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (asb *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (asb *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Grant ¶
type Grant struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Permissions: set of string, required Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Uri: string, optional Uri terra.StringValue `hcl:"uri,attr"` }
type GrantAttributes ¶
type GrantAttributes struct {
// contains filtered or unexported fields
}
func (GrantAttributes) Id ¶
func (g GrantAttributes) Id() terra.StringValue
func (GrantAttributes) InternalRef ¶
func (g GrantAttributes) InternalRef() (terra.Reference, error)
func (GrantAttributes) InternalTokens ¶
func (g GrantAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GrantAttributes) InternalWithRef ¶
func (g GrantAttributes) InternalWithRef(ref terra.Reference) GrantAttributes
func (GrantAttributes) Permissions ¶
func (g GrantAttributes) Permissions() terra.SetValue[terra.StringValue]
func (GrantAttributes) Type ¶
func (g GrantAttributes) Type() terra.StringValue
func (GrantAttributes) Uri ¶
func (g GrantAttributes) Uri() terra.StringValue
type GrantState ¶
type LifecycleRule ¶
type LifecycleRule struct { // AbortIncompleteMultipartUploadDays: number, optional AbortIncompleteMultipartUploadDays terra.NumberValue `hcl:"abort_incomplete_multipart_upload_days,attr"` // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // LifecycleRuleExpiration: optional Expiration *LifecycleRuleExpiration `hcl:"expiration,block"` // LifecycleRuleNoncurrentVersionExpiration: optional NoncurrentVersionExpiration *LifecycleRuleNoncurrentVersionExpiration `hcl:"noncurrent_version_expiration,block"` // LifecycleRuleNoncurrentVersionTransition: min=0 NoncurrentVersionTransition []LifecycleRuleNoncurrentVersionTransition `hcl:"noncurrent_version_transition,block" validate:"min=0"` // LifecycleRuleTransition: min=0 Transition []LifecycleRuleTransition `hcl:"transition,block" validate:"min=0"` }
type LifecycleRuleAttributes ¶
type LifecycleRuleAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleAttributes) AbortIncompleteMultipartUploadDays ¶
func (lr LifecycleRuleAttributes) AbortIncompleteMultipartUploadDays() terra.NumberValue
func (LifecycleRuleAttributes) Enabled ¶
func (lr LifecycleRuleAttributes) Enabled() terra.BoolValue
func (LifecycleRuleAttributes) Expiration ¶
func (lr LifecycleRuleAttributes) Expiration() terra.ListValue[LifecycleRuleExpirationAttributes]
func (LifecycleRuleAttributes) Id ¶
func (lr LifecycleRuleAttributes) Id() terra.StringValue
func (LifecycleRuleAttributes) InternalRef ¶
func (lr LifecycleRuleAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleAttributes) InternalTokens ¶
func (lr LifecycleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleAttributes) InternalWithRef ¶
func (lr LifecycleRuleAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleAttributes
func (LifecycleRuleAttributes) NoncurrentVersionExpiration ¶
func (lr LifecycleRuleAttributes) NoncurrentVersionExpiration() terra.ListValue[LifecycleRuleNoncurrentVersionExpirationAttributes]
func (LifecycleRuleAttributes) NoncurrentVersionTransition ¶
func (lr LifecycleRuleAttributes) NoncurrentVersionTransition() terra.SetValue[LifecycleRuleNoncurrentVersionTransitionAttributes]
func (LifecycleRuleAttributes) Prefix ¶
func (lr LifecycleRuleAttributes) Prefix() terra.StringValue
func (LifecycleRuleAttributes) Tags ¶
func (lr LifecycleRuleAttributes) Tags() terra.MapValue[terra.StringValue]
func (LifecycleRuleAttributes) Transition ¶
func (lr LifecycleRuleAttributes) Transition() terra.SetValue[LifecycleRuleTransitionAttributes]
type LifecycleRuleExpiration ¶
type LifecycleRuleExpiration struct { // Date: string, optional Date terra.StringValue `hcl:"date,attr"` // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` // ExpiredObjectDeleteMarker: bool, optional ExpiredObjectDeleteMarker terra.BoolValue `hcl:"expired_object_delete_marker,attr"` }
type LifecycleRuleExpirationAttributes ¶
type LifecycleRuleExpirationAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleExpirationAttributes) Date ¶
func (e LifecycleRuleExpirationAttributes) Date() terra.StringValue
func (LifecycleRuleExpirationAttributes) Days ¶
func (e LifecycleRuleExpirationAttributes) Days() terra.NumberValue
func (LifecycleRuleExpirationAttributes) ExpiredObjectDeleteMarker ¶
func (e LifecycleRuleExpirationAttributes) ExpiredObjectDeleteMarker() terra.BoolValue
func (LifecycleRuleExpirationAttributes) InternalRef ¶
func (e LifecycleRuleExpirationAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleExpirationAttributes) InternalTokens ¶
func (e LifecycleRuleExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleExpirationAttributes) InternalWithRef ¶
func (e LifecycleRuleExpirationAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleExpirationAttributes
type LifecycleRuleNoncurrentVersionExpiration ¶
type LifecycleRuleNoncurrentVersionExpiration struct { // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` }
type LifecycleRuleNoncurrentVersionExpirationAttributes ¶
type LifecycleRuleNoncurrentVersionExpirationAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleNoncurrentVersionExpirationAttributes) Days ¶
func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) Days() terra.NumberValue
func (LifecycleRuleNoncurrentVersionExpirationAttributes) InternalRef ¶
func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleNoncurrentVersionExpirationAttributes) InternalTokens ¶
func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleNoncurrentVersionExpirationAttributes) InternalWithRef ¶
func (nve LifecycleRuleNoncurrentVersionExpirationAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleNoncurrentVersionExpirationAttributes
type LifecycleRuleNoncurrentVersionExpirationState ¶
type LifecycleRuleNoncurrentVersionExpirationState struct {
Days float64 `json:"days"`
}
type LifecycleRuleNoncurrentVersionTransition ¶
type LifecycleRuleNoncurrentVersionTransition struct { // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` // StorageClass: string, required StorageClass terra.StringValue `hcl:"storage_class,attr" validate:"required"` }
type LifecycleRuleNoncurrentVersionTransitionAttributes ¶
type LifecycleRuleNoncurrentVersionTransitionAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleNoncurrentVersionTransitionAttributes) Days ¶
func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) Days() terra.NumberValue
func (LifecycleRuleNoncurrentVersionTransitionAttributes) InternalRef ¶
func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleNoncurrentVersionTransitionAttributes) InternalTokens ¶
func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleNoncurrentVersionTransitionAttributes) InternalWithRef ¶
func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleNoncurrentVersionTransitionAttributes
func (LifecycleRuleNoncurrentVersionTransitionAttributes) StorageClass ¶
func (nvt LifecycleRuleNoncurrentVersionTransitionAttributes) StorageClass() terra.StringValue
type LifecycleRuleState ¶
type LifecycleRuleState struct { AbortIncompleteMultipartUploadDays float64 `json:"abort_incomplete_multipart_upload_days"` Enabled bool `json:"enabled"` Id string `json:"id"` Prefix string `json:"prefix"` Tags map[string]string `json:"tags"` Expiration []LifecycleRuleExpirationState `json:"expiration"` NoncurrentVersionExpiration []LifecycleRuleNoncurrentVersionExpirationState `json:"noncurrent_version_expiration"` NoncurrentVersionTransition []LifecycleRuleNoncurrentVersionTransitionState `json:"noncurrent_version_transition"` Transition []LifecycleRuleTransitionState `json:"transition"` }
type LifecycleRuleTransition ¶
type LifecycleRuleTransition struct { // Date: string, optional Date terra.StringValue `hcl:"date,attr"` // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` // StorageClass: string, required StorageClass terra.StringValue `hcl:"storage_class,attr" validate:"required"` }
type LifecycleRuleTransitionAttributes ¶
type LifecycleRuleTransitionAttributes struct {
// contains filtered or unexported fields
}
func (LifecycleRuleTransitionAttributes) Date ¶
func (t LifecycleRuleTransitionAttributes) Date() terra.StringValue
func (LifecycleRuleTransitionAttributes) Days ¶
func (t LifecycleRuleTransitionAttributes) Days() terra.NumberValue
func (LifecycleRuleTransitionAttributes) InternalRef ¶
func (t LifecycleRuleTransitionAttributes) InternalRef() (terra.Reference, error)
func (LifecycleRuleTransitionAttributes) InternalTokens ¶
func (t LifecycleRuleTransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LifecycleRuleTransitionAttributes) InternalWithRef ¶
func (t LifecycleRuleTransitionAttributes) InternalWithRef(ref terra.Reference) LifecycleRuleTransitionAttributes
func (LifecycleRuleTransitionAttributes) StorageClass ¶
func (t LifecycleRuleTransitionAttributes) StorageClass() terra.StringValue
type Logging ¶
type Logging struct { // TargetBucket: string, required TargetBucket terra.StringValue `hcl:"target_bucket,attr" validate:"required"` // TargetPrefix: string, optional TargetPrefix terra.StringValue `hcl:"target_prefix,attr"` }
type LoggingAttributes ¶
type LoggingAttributes struct {
// contains filtered or unexported fields
}
func (LoggingAttributes) InternalRef ¶
func (l LoggingAttributes) InternalRef() (terra.Reference, error)
func (LoggingAttributes) InternalTokens ¶
func (l LoggingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoggingAttributes) InternalWithRef ¶
func (l LoggingAttributes) InternalWithRef(ref terra.Reference) LoggingAttributes
func (LoggingAttributes) TargetBucket ¶
func (l LoggingAttributes) TargetBucket() terra.StringValue
func (LoggingAttributes) TargetPrefix ¶
func (l LoggingAttributes) TargetPrefix() terra.StringValue
type LoggingState ¶
type ObjectLockConfiguration ¶
type ObjectLockConfiguration struct { // ObjectLockEnabled: string, optional ObjectLockEnabled terra.StringValue `hcl:"object_lock_enabled,attr"` // ObjectLockConfigurationRule: optional Rule *ObjectLockConfigurationRule `hcl:"rule,block"` }
type ObjectLockConfigurationAttributes ¶
type ObjectLockConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ObjectLockConfigurationAttributes) InternalRef ¶
func (olc ObjectLockConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ObjectLockConfigurationAttributes) InternalTokens ¶
func (olc ObjectLockConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ObjectLockConfigurationAttributes) InternalWithRef ¶
func (olc ObjectLockConfigurationAttributes) InternalWithRef(ref terra.Reference) ObjectLockConfigurationAttributes
func (ObjectLockConfigurationAttributes) ObjectLockEnabled ¶
func (olc ObjectLockConfigurationAttributes) ObjectLockEnabled() terra.StringValue
func (ObjectLockConfigurationAttributes) Rule ¶
func (olc ObjectLockConfigurationAttributes) Rule() terra.ListValue[ObjectLockConfigurationRuleAttributes]
type ObjectLockConfigurationRule ¶
type ObjectLockConfigurationRule struct { // ObjectLockConfigurationRuleDefaultRetention: required DefaultRetention *ObjectLockConfigurationRuleDefaultRetention `hcl:"default_retention,block" validate:"required"` }
type ObjectLockConfigurationRuleAttributes ¶
type ObjectLockConfigurationRuleAttributes struct {
// contains filtered or unexported fields
}
func (ObjectLockConfigurationRuleAttributes) DefaultRetention ¶
func (r ObjectLockConfigurationRuleAttributes) DefaultRetention() terra.ListValue[ObjectLockConfigurationRuleDefaultRetentionAttributes]
func (ObjectLockConfigurationRuleAttributes) InternalRef ¶
func (r ObjectLockConfigurationRuleAttributes) InternalRef() (terra.Reference, error)
func (ObjectLockConfigurationRuleAttributes) InternalTokens ¶
func (r ObjectLockConfigurationRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ObjectLockConfigurationRuleAttributes) InternalWithRef ¶
func (r ObjectLockConfigurationRuleAttributes) InternalWithRef(ref terra.Reference) ObjectLockConfigurationRuleAttributes
type ObjectLockConfigurationRuleDefaultRetention ¶
type ObjectLockConfigurationRuleDefaultRetention struct { // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` // Mode: string, required Mode terra.StringValue `hcl:"mode,attr" validate:"required"` // Years: number, optional Years terra.NumberValue `hcl:"years,attr"` }
type ObjectLockConfigurationRuleDefaultRetentionAttributes ¶
type ObjectLockConfigurationRuleDefaultRetentionAttributes struct {
// contains filtered or unexported fields
}
func (ObjectLockConfigurationRuleDefaultRetentionAttributes) Days ¶
func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) Days() terra.NumberValue
func (ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalRef ¶
func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalRef() (terra.Reference, error)
func (ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalTokens ¶
func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalWithRef ¶
func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) InternalWithRef(ref terra.Reference) ObjectLockConfigurationRuleDefaultRetentionAttributes
func (ObjectLockConfigurationRuleDefaultRetentionAttributes) Mode ¶
func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) Mode() terra.StringValue
func (ObjectLockConfigurationRuleDefaultRetentionAttributes) Years ¶
func (dr ObjectLockConfigurationRuleDefaultRetentionAttributes) Years() terra.NumberValue
type ObjectLockConfigurationRuleState ¶
type ObjectLockConfigurationRuleState struct {
DefaultRetention []ObjectLockConfigurationRuleDefaultRetentionState `json:"default_retention"`
}
type ObjectLockConfigurationState ¶
type ObjectLockConfigurationState struct { ObjectLockEnabled string `json:"object_lock_enabled"` Rule []ObjectLockConfigurationRuleState `json:"rule"` }
type ReplicationConfiguration ¶
type ReplicationConfiguration struct { // Role: string, required Role terra.StringValue `hcl:"role,attr" validate:"required"` // ReplicationConfigurationRules: min=1 Rules []ReplicationConfigurationRules `hcl:"rules,block" validate:"min=1"` }
type ReplicationConfigurationAttributes ¶
type ReplicationConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationAttributes) InternalRef ¶
func (rc ReplicationConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationAttributes) InternalTokens ¶
func (rc ReplicationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationAttributes) InternalWithRef ¶
func (rc ReplicationConfigurationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationAttributes
func (ReplicationConfigurationAttributes) Role ¶
func (rc ReplicationConfigurationAttributes) Role() terra.StringValue
func (ReplicationConfigurationAttributes) Rules ¶
func (rc ReplicationConfigurationAttributes) Rules() terra.SetValue[ReplicationConfigurationRulesAttributes]
type ReplicationConfigurationRules ¶
type ReplicationConfigurationRules struct { // DeleteMarkerReplicationStatus: string, optional DeleteMarkerReplicationStatus terra.StringValue `hcl:"delete_marker_replication_status,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` // ReplicationConfigurationRulesDestination: required Destination *ReplicationConfigurationRulesDestination `hcl:"destination,block" validate:"required"` // ReplicationConfigurationRulesFilter: optional Filter *ReplicationConfigurationRulesFilter `hcl:"filter,block"` // ReplicationConfigurationRulesSourceSelectionCriteria: optional SourceSelectionCriteria *ReplicationConfigurationRulesSourceSelectionCriteria `hcl:"source_selection_criteria,block"` }
type ReplicationConfigurationRulesAttributes ¶
type ReplicationConfigurationRulesAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesAttributes) DeleteMarkerReplicationStatus ¶
func (r ReplicationConfigurationRulesAttributes) DeleteMarkerReplicationStatus() terra.StringValue
func (ReplicationConfigurationRulesAttributes) Destination ¶
func (r ReplicationConfigurationRulesAttributes) Destination() terra.ListValue[ReplicationConfigurationRulesDestinationAttributes]
func (ReplicationConfigurationRulesAttributes) Id ¶
func (r ReplicationConfigurationRulesAttributes) Id() terra.StringValue
func (ReplicationConfigurationRulesAttributes) InternalRef ¶
func (r ReplicationConfigurationRulesAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesAttributes) InternalTokens ¶
func (r ReplicationConfigurationRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesAttributes) InternalWithRef ¶
func (r ReplicationConfigurationRulesAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesAttributes
func (ReplicationConfigurationRulesAttributes) Prefix ¶
func (r ReplicationConfigurationRulesAttributes) Prefix() terra.StringValue
func (ReplicationConfigurationRulesAttributes) Priority ¶
func (r ReplicationConfigurationRulesAttributes) Priority() terra.NumberValue
func (ReplicationConfigurationRulesAttributes) SourceSelectionCriteria ¶
func (r ReplicationConfigurationRulesAttributes) SourceSelectionCriteria() terra.ListValue[ReplicationConfigurationRulesSourceSelectionCriteriaAttributes]
func (ReplicationConfigurationRulesAttributes) Status ¶
func (r ReplicationConfigurationRulesAttributes) Status() terra.StringValue
type ReplicationConfigurationRulesDestination ¶
type ReplicationConfigurationRulesDestination struct { // AccountId: string, optional AccountId terra.StringValue `hcl:"account_id,attr"` // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // ReplicaKmsKeyId: string, optional ReplicaKmsKeyId terra.StringValue `hcl:"replica_kms_key_id,attr"` // StorageClass: string, optional StorageClass terra.StringValue `hcl:"storage_class,attr"` // ReplicationConfigurationRulesDestinationAccessControlTranslation: optional AccessControlTranslation *ReplicationConfigurationRulesDestinationAccessControlTranslation `hcl:"access_control_translation,block"` // ReplicationConfigurationRulesDestinationMetrics: optional Metrics *ReplicationConfigurationRulesDestinationMetrics `hcl:"metrics,block"` // ReplicationConfigurationRulesDestinationReplicationTime: optional ReplicationTime *ReplicationConfigurationRulesDestinationReplicationTime `hcl:"replication_time,block"` }
type ReplicationConfigurationRulesDestinationAccessControlTranslation ¶
type ReplicationConfigurationRulesDestinationAccessControlTranslation struct { // Owner: string, required Owner terra.StringValue `hcl:"owner,attr" validate:"required"` }
type ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes ¶
type ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalRef ¶
func (act ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalTokens ¶
func (act ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes) InternalWithRef ¶
type ReplicationConfigurationRulesDestinationAccessControlTranslationState ¶
type ReplicationConfigurationRulesDestinationAccessControlTranslationState struct {
Owner string `json:"owner"`
}
type ReplicationConfigurationRulesDestinationAttributes ¶
type ReplicationConfigurationRulesDestinationAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesDestinationAttributes) AccessControlTranslation ¶
func (d ReplicationConfigurationRulesDestinationAttributes) AccessControlTranslation() terra.ListValue[ReplicationConfigurationRulesDestinationAccessControlTranslationAttributes]
func (ReplicationConfigurationRulesDestinationAttributes) AccountId ¶
func (d ReplicationConfigurationRulesDestinationAttributes) AccountId() terra.StringValue
func (ReplicationConfigurationRulesDestinationAttributes) Bucket ¶
func (d ReplicationConfigurationRulesDestinationAttributes) Bucket() terra.StringValue
func (ReplicationConfigurationRulesDestinationAttributes) InternalRef ¶
func (d ReplicationConfigurationRulesDestinationAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesDestinationAttributes) InternalTokens ¶
func (d ReplicationConfigurationRulesDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesDestinationAttributes) InternalWithRef ¶
func (d ReplicationConfigurationRulesDestinationAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesDestinationAttributes
func (ReplicationConfigurationRulesDestinationAttributes) ReplicaKmsKeyId ¶
func (d ReplicationConfigurationRulesDestinationAttributes) ReplicaKmsKeyId() terra.StringValue
func (ReplicationConfigurationRulesDestinationAttributes) ReplicationTime ¶
func (ReplicationConfigurationRulesDestinationAttributes) StorageClass ¶
func (d ReplicationConfigurationRulesDestinationAttributes) StorageClass() terra.StringValue
type ReplicationConfigurationRulesDestinationMetrics ¶
type ReplicationConfigurationRulesDestinationMetrics struct { // Minutes: number, optional Minutes terra.NumberValue `hcl:"minutes,attr"` // Status: string, optional Status terra.StringValue `hcl:"status,attr"` }
type ReplicationConfigurationRulesDestinationMetricsAttributes ¶
type ReplicationConfigurationRulesDestinationMetricsAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesDestinationMetricsAttributes) InternalRef ¶
func (m ReplicationConfigurationRulesDestinationMetricsAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesDestinationMetricsAttributes) InternalTokens ¶
func (m ReplicationConfigurationRulesDestinationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesDestinationMetricsAttributes) InternalWithRef ¶
func (m ReplicationConfigurationRulesDestinationMetricsAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesDestinationMetricsAttributes
func (ReplicationConfigurationRulesDestinationMetricsAttributes) Minutes ¶
func (m ReplicationConfigurationRulesDestinationMetricsAttributes) Minutes() terra.NumberValue
func (ReplicationConfigurationRulesDestinationMetricsAttributes) Status ¶
func (m ReplicationConfigurationRulesDestinationMetricsAttributes) Status() terra.StringValue
type ReplicationConfigurationRulesDestinationReplicationTime ¶
type ReplicationConfigurationRulesDestinationReplicationTime struct { // Minutes: number, optional Minutes terra.NumberValue `hcl:"minutes,attr"` // Status: string, optional Status terra.StringValue `hcl:"status,attr"` }
type ReplicationConfigurationRulesDestinationReplicationTimeAttributes ¶
type ReplicationConfigurationRulesDestinationReplicationTimeAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalRef ¶
func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalTokens ¶
func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesDestinationReplicationTimeAttributes) InternalWithRef ¶
func (ReplicationConfigurationRulesDestinationReplicationTimeAttributes) Minutes ¶
func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) Minutes() terra.NumberValue
func (ReplicationConfigurationRulesDestinationReplicationTimeAttributes) Status ¶
func (rt ReplicationConfigurationRulesDestinationReplicationTimeAttributes) Status() terra.StringValue
type ReplicationConfigurationRulesDestinationState ¶
type ReplicationConfigurationRulesDestinationState struct { AccountId string `json:"account_id"` Bucket string `json:"bucket"` ReplicaKmsKeyId string `json:"replica_kms_key_id"` StorageClass string `json:"storage_class"` AccessControlTranslation []ReplicationConfigurationRulesDestinationAccessControlTranslationState `json:"access_control_translation"` Metrics []ReplicationConfigurationRulesDestinationMetricsState `json:"metrics"` ReplicationTime []ReplicationConfigurationRulesDestinationReplicationTimeState `json:"replication_time"` }
type ReplicationConfigurationRulesFilter ¶
type ReplicationConfigurationRulesFilter struct { // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
type ReplicationConfigurationRulesFilterAttributes ¶
type ReplicationConfigurationRulesFilterAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesFilterAttributes) InternalRef ¶
func (f ReplicationConfigurationRulesFilterAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesFilterAttributes) InternalTokens ¶
func (f ReplicationConfigurationRulesFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesFilterAttributes) InternalWithRef ¶
func (f ReplicationConfigurationRulesFilterAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesFilterAttributes
func (ReplicationConfigurationRulesFilterAttributes) Prefix ¶
func (f ReplicationConfigurationRulesFilterAttributes) Prefix() terra.StringValue
func (ReplicationConfigurationRulesFilterAttributes) Tags ¶
func (f ReplicationConfigurationRulesFilterAttributes) Tags() terra.MapValue[terra.StringValue]
type ReplicationConfigurationRulesSourceSelectionCriteria ¶
type ReplicationConfigurationRulesSourceSelectionCriteria struct { // ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjects: optional SseKmsEncryptedObjects *ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjects `hcl:"sse_kms_encrypted_objects,block"` }
type ReplicationConfigurationRulesSourceSelectionCriteriaAttributes ¶
type ReplicationConfigurationRulesSourceSelectionCriteriaAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalRef ¶
func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalTokens ¶
func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalWithRef ¶
func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigurationRulesSourceSelectionCriteriaAttributes
func (ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) SseKmsEncryptedObjects ¶
func (ssc ReplicationConfigurationRulesSourceSelectionCriteriaAttributes) SseKmsEncryptedObjects() terra.ListValue[ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes]
type ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes ¶
type ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) Enabled ¶
func (ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalRef ¶
func (skeo ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalTokens ¶
func (skeo ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalWithRef ¶
type ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsState ¶
type ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsState struct {
Enabled bool `json:"enabled"`
}
type ReplicationConfigurationRulesSourceSelectionCriteriaState ¶
type ReplicationConfigurationRulesSourceSelectionCriteriaState struct {
SseKmsEncryptedObjects []ReplicationConfigurationRulesSourceSelectionCriteriaSseKmsEncryptedObjectsState `json:"sse_kms_encrypted_objects"`
}
type ReplicationConfigurationRulesState ¶
type ReplicationConfigurationRulesState struct { DeleteMarkerReplicationStatus string `json:"delete_marker_replication_status"` Id string `json:"id"` Prefix string `json:"prefix"` Priority float64 `json:"priority"` Status string `json:"status"` Destination []ReplicationConfigurationRulesDestinationState `json:"destination"` Filter []ReplicationConfigurationRulesFilterState `json:"filter"` SourceSelectionCriteria []ReplicationConfigurationRulesSourceSelectionCriteriaState `json:"source_selection_criteria"` }
type ReplicationConfigurationState ¶
type ReplicationConfigurationState struct { Role string `json:"role"` Rules []ReplicationConfigurationRulesState `json:"rules"` }
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_s3_bucket.
func (*Resource) Attributes ¶
func (asb *Resource) Attributes() awsS3BucketAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asb *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asb *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type ServerSideEncryptionConfiguration ¶
type ServerSideEncryptionConfiguration struct { // ServerSideEncryptionConfigurationRule: required Rule *ServerSideEncryptionConfigurationRule `hcl:"rule,block" validate:"required"` }
type ServerSideEncryptionConfigurationAttributes ¶
type ServerSideEncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ServerSideEncryptionConfigurationAttributes) InternalRef ¶
func (ssec ServerSideEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ServerSideEncryptionConfigurationAttributes) InternalTokens ¶
func (ssec ServerSideEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServerSideEncryptionConfigurationAttributes) InternalWithRef ¶
func (ssec ServerSideEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) ServerSideEncryptionConfigurationAttributes
type ServerSideEncryptionConfigurationRule ¶
type ServerSideEncryptionConfigurationRule struct { // BucketKeyEnabled: bool, optional BucketKeyEnabled terra.BoolValue `hcl:"bucket_key_enabled,attr"` // ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault: required ApplyServerSideEncryptionByDefault *ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault `hcl:"apply_server_side_encryption_by_default,block" validate:"required"` }
type ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault ¶
type ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefault struct { // KmsMasterKeyId: string, optional KmsMasterKeyId terra.StringValue `hcl:"kms_master_key_id,attr"` // SseAlgorithm: string, required SseAlgorithm terra.StringValue `hcl:"sse_algorithm,attr" validate:"required"` }
type ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes ¶
type ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes struct {
// contains filtered or unexported fields
}
func (ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalRef ¶
func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalRef() (terra.Reference, error)
func (ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalTokens ¶
func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) InternalWithRef ¶
func (ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) KmsMasterKeyId ¶
func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) KmsMasterKeyId() terra.StringValue
func (ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) SseAlgorithm ¶
func (assebd ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes) SseAlgorithm() terra.StringValue
type ServerSideEncryptionConfigurationRuleAttributes ¶
type ServerSideEncryptionConfigurationRuleAttributes struct {
// contains filtered or unexported fields
}
func (ServerSideEncryptionConfigurationRuleAttributes) ApplyServerSideEncryptionByDefault ¶
func (r ServerSideEncryptionConfigurationRuleAttributes) ApplyServerSideEncryptionByDefault() terra.ListValue[ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultAttributes]
func (ServerSideEncryptionConfigurationRuleAttributes) BucketKeyEnabled ¶
func (r ServerSideEncryptionConfigurationRuleAttributes) BucketKeyEnabled() terra.BoolValue
func (ServerSideEncryptionConfigurationRuleAttributes) InternalRef ¶
func (r ServerSideEncryptionConfigurationRuleAttributes) InternalRef() (terra.Reference, error)
func (ServerSideEncryptionConfigurationRuleAttributes) InternalTokens ¶
func (r ServerSideEncryptionConfigurationRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServerSideEncryptionConfigurationRuleAttributes) InternalWithRef ¶
func (r ServerSideEncryptionConfigurationRuleAttributes) InternalWithRef(ref terra.Reference) ServerSideEncryptionConfigurationRuleAttributes
type ServerSideEncryptionConfigurationRuleState ¶
type ServerSideEncryptionConfigurationRuleState struct { BucketKeyEnabled bool `json:"bucket_key_enabled"` ApplyServerSideEncryptionByDefault []ServerSideEncryptionConfigurationRuleApplyServerSideEncryptionByDefaultState `json:"apply_server_side_encryption_by_default"` }
type ServerSideEncryptionConfigurationState ¶
type ServerSideEncryptionConfigurationState struct {
Rule []ServerSideEncryptionConfigurationRuleState `json:"rule"`
}
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type Versioning ¶
type VersioningAttributes ¶
type VersioningAttributes struct {
// contains filtered or unexported fields
}
func (VersioningAttributes) Enabled ¶
func (v VersioningAttributes) Enabled() terra.BoolValue
func (VersioningAttributes) InternalRef ¶
func (v VersioningAttributes) InternalRef() (terra.Reference, error)
func (VersioningAttributes) InternalTokens ¶
func (v VersioningAttributes) InternalTokens() (hclwrite.Tokens, error)
func (VersioningAttributes) InternalWithRef ¶
func (v VersioningAttributes) InternalWithRef(ref terra.Reference) VersioningAttributes
func (VersioningAttributes) MfaDelete ¶
func (v VersioningAttributes) MfaDelete() terra.BoolValue
type VersioningState ¶
type Website ¶
type Website struct { // ErrorDocument: string, optional ErrorDocument terra.StringValue `hcl:"error_document,attr"` // IndexDocument: string, optional IndexDocument terra.StringValue `hcl:"index_document,attr"` // RedirectAllRequestsTo: string, optional RedirectAllRequestsTo terra.StringValue `hcl:"redirect_all_requests_to,attr"` // RoutingRules: string, optional RoutingRules terra.StringValue `hcl:"routing_rules,attr"` }
type WebsiteAttributes ¶
type WebsiteAttributes struct {
// contains filtered or unexported fields
}
func (WebsiteAttributes) ErrorDocument ¶
func (w WebsiteAttributes) ErrorDocument() terra.StringValue
func (WebsiteAttributes) IndexDocument ¶
func (w WebsiteAttributes) IndexDocument() terra.StringValue
func (WebsiteAttributes) InternalRef ¶
func (w WebsiteAttributes) InternalRef() (terra.Reference, error)
func (WebsiteAttributes) InternalTokens ¶
func (w WebsiteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WebsiteAttributes) InternalWithRef ¶
func (w WebsiteAttributes) InternalWithRef(ref terra.Reference) WebsiteAttributes
func (WebsiteAttributes) RedirectAllRequestsTo ¶
func (w WebsiteAttributes) RedirectAllRequestsTo() terra.StringValue
func (WebsiteAttributes) RoutingRules ¶
func (w WebsiteAttributes) RoutingRules() terra.StringValue