Documentation ¶
Index ¶
- type Details
- type DetailsAttributes
- func (d DetailsAttributes) InternalRef() (terra.Reference, error)
- func (d DetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DetailsAttributes) InternalWithRef(ref terra.Reference) DetailsAttributes
- func (d DetailsAttributes) Name() terra.StringValue
- func (d DetailsAttributes) PublicAccessBlock() terra.ListValue[PublicAccessBlockAttributes]
- func (d DetailsAttributes) Region() terra.SetValue[RegionAttributes]
- type DetailsState
- type PublicAccessBlock
- type PublicAccessBlockAttributes
- func (pab PublicAccessBlockAttributes) BlockPublicAcls() terra.BoolValue
- func (pab PublicAccessBlockAttributes) BlockPublicPolicy() terra.BoolValue
- func (pab PublicAccessBlockAttributes) IgnorePublicAcls() terra.BoolValue
- func (pab PublicAccessBlockAttributes) InternalRef() (terra.Reference, error)
- func (pab PublicAccessBlockAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pab PublicAccessBlockAttributes) InternalWithRef(ref terra.Reference) PublicAccessBlockAttributes
- func (pab PublicAccessBlockAttributes) RestrictPublicBuckets() terra.BoolValue
- type PublicAccessBlockState
- type Region
- type RegionAttributes
- func (r RegionAttributes) Bucket() terra.StringValue
- func (r RegionAttributes) BucketAccountId() terra.StringValue
- func (r RegionAttributes) InternalRef() (terra.Reference, error)
- func (r RegionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RegionAttributes) InternalWithRef(ref terra.Reference) RegionAttributes
- func (r RegionAttributes) Region() terra.StringValue
- type RegionState
- 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
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PublicAccessBlock: optional PublicAccessBlock *PublicAccessBlock `hcl:"public_access_block,block"` // Region: min=1,max=20 Region []Region `hcl:"region,block" validate:"min=1,max=20"` }
type DetailsAttributes ¶
type DetailsAttributes struct {
// contains filtered or unexported fields
}
func (DetailsAttributes) InternalRef ¶
func (d DetailsAttributes) InternalRef() (terra.Reference, error)
func (DetailsAttributes) InternalTokens ¶
func (d DetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DetailsAttributes) InternalWithRef ¶
func (d DetailsAttributes) InternalWithRef(ref terra.Reference) DetailsAttributes
func (DetailsAttributes) Name ¶
func (d DetailsAttributes) Name() terra.StringValue
func (DetailsAttributes) PublicAccessBlock ¶
func (d DetailsAttributes) PublicAccessBlock() terra.ListValue[PublicAccessBlockAttributes]
func (DetailsAttributes) Region ¶
func (d DetailsAttributes) Region() terra.SetValue[RegionAttributes]
type DetailsState ¶
type DetailsState struct { Name string `json:"name"` PublicAccessBlock []PublicAccessBlockState `json:"public_access_block"` Region []RegionState `json:"region"` }
type PublicAccessBlock ¶
type PublicAccessBlock struct { // BlockPublicAcls: bool, optional BlockPublicAcls terra.BoolValue `hcl:"block_public_acls,attr"` // BlockPublicPolicy: bool, optional BlockPublicPolicy terra.BoolValue `hcl:"block_public_policy,attr"` // IgnorePublicAcls: bool, optional IgnorePublicAcls terra.BoolValue `hcl:"ignore_public_acls,attr"` // RestrictPublicBuckets: bool, optional RestrictPublicBuckets terra.BoolValue `hcl:"restrict_public_buckets,attr"` }
type PublicAccessBlockAttributes ¶
type PublicAccessBlockAttributes struct {
// contains filtered or unexported fields
}
func (PublicAccessBlockAttributes) BlockPublicAcls ¶
func (pab PublicAccessBlockAttributes) BlockPublicAcls() terra.BoolValue
func (PublicAccessBlockAttributes) BlockPublicPolicy ¶
func (pab PublicAccessBlockAttributes) BlockPublicPolicy() terra.BoolValue
func (PublicAccessBlockAttributes) IgnorePublicAcls ¶
func (pab PublicAccessBlockAttributes) IgnorePublicAcls() terra.BoolValue
func (PublicAccessBlockAttributes) InternalRef ¶
func (pab PublicAccessBlockAttributes) InternalRef() (terra.Reference, error)
func (PublicAccessBlockAttributes) InternalTokens ¶
func (pab PublicAccessBlockAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PublicAccessBlockAttributes) InternalWithRef ¶
func (pab PublicAccessBlockAttributes) InternalWithRef(ref terra.Reference) PublicAccessBlockAttributes
func (PublicAccessBlockAttributes) RestrictPublicBuckets ¶
func (pab PublicAccessBlockAttributes) RestrictPublicBuckets() terra.BoolValue
type PublicAccessBlockState ¶
type Region ¶
type Region struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // BucketAccountId: string, optional BucketAccountId terra.StringValue `hcl:"bucket_account_id,attr"` }
type RegionAttributes ¶
type RegionAttributes struct {
// contains filtered or unexported fields
}
func (RegionAttributes) Bucket ¶
func (r RegionAttributes) Bucket() terra.StringValue
func (RegionAttributes) BucketAccountId ¶
func (r RegionAttributes) BucketAccountId() terra.StringValue
func (RegionAttributes) InternalRef ¶
func (r RegionAttributes) InternalRef() (terra.Reference, error)
func (RegionAttributes) InternalTokens ¶
func (r RegionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RegionAttributes) InternalWithRef ¶
func (r RegionAttributes) InternalWithRef(ref terra.Reference) RegionAttributes
func (RegionAttributes) Region ¶
func (r RegionAttributes) Region() terra.StringValue
type RegionState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.