Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + Bucket terra.StringValue + CorsRule []CorsRule + ExpectedBucketOwner terra.StringValue + Id terra.StringValue + type CorsRule struct + AllowedHeaders terra.SetValue[terra.StringValue] + AllowedMethods terra.SetValue[terra.StringValue] + AllowedOrigins terra.SetValue[terra.StringValue] + ExposeHeaders terra.SetValue[terra.StringValue] + Id terra.StringValue + MaxAgeSeconds terra.NumberValue + type CorsRuleAttributes struct + func (cr CorsRuleAttributes) AllowedHeaders() terra.SetValue[terra.StringValue] + func (cr CorsRuleAttributes) AllowedMethods() terra.SetValue[terra.StringValue] + func (cr CorsRuleAttributes) AllowedOrigins() terra.SetValue[terra.StringValue] + func (cr CorsRuleAttributes) ExposeHeaders() terra.SetValue[terra.StringValue] + func (cr CorsRuleAttributes) Id() 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 struct + AllowedHeaders []string + AllowedMethods []string + AllowedOrigins []string + ExposeHeaders []string + Id string + MaxAgeSeconds float64 + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (asbcc *Resource) Attributes() awsS3BucketCorsConfigurationAttributes + func (asbcc *Resource) Configuration() interface{} + func (asbcc *Resource) DependOn() terra.Reference + func (asbcc *Resource) Dependencies() terra.Dependencies + func (asbcc *Resource) ImportState(state io.Reader) error + func (asbcc *Resource) LifecycleManagement() *terra.Lifecycle + func (asbcc *Resource) LocalName() string + func (asbcc *Resource) State() (*awsS3BucketCorsConfigurationState, bool) + func (asbcc *Resource) StateMust() *awsS3BucketCorsConfigurationState + func (asbcc *Resource) Type() string