aws_s3control_multi_region_access_point

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AccountId: string, optional
	AccountId terra.StringValue `hcl:"account_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Details: required
	Details *Details `hcl:"details,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_s3control_multi_region_access_point.

type DataArgs

type DataArgs struct {
	// AccountId: string, optional
	AccountId terra.StringValue `hcl:"account_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

DataArgs contains the configurations for aws_s3control_multi_region_access_point.

type DataPublicAccessBlockAttributes

type DataPublicAccessBlockAttributes struct {
	// contains filtered or unexported fields
}

func (DataPublicAccessBlockAttributes) BlockPublicAcls

func (pab DataPublicAccessBlockAttributes) BlockPublicAcls() terra.BoolValue

func (DataPublicAccessBlockAttributes) BlockPublicPolicy

func (pab DataPublicAccessBlockAttributes) BlockPublicPolicy() terra.BoolValue

func (DataPublicAccessBlockAttributes) IgnorePublicAcls

func (pab DataPublicAccessBlockAttributes) IgnorePublicAcls() terra.BoolValue

func (DataPublicAccessBlockAttributes) InternalRef

func (DataPublicAccessBlockAttributes) InternalTokens

func (pab DataPublicAccessBlockAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataPublicAccessBlockAttributes) InternalWithRef

func (DataPublicAccessBlockAttributes) RestrictPublicBuckets

func (pab DataPublicAccessBlockAttributes) RestrictPublicBuckets() terra.BoolValue

type DataPublicAccessBlockState

type DataPublicAccessBlockState struct {
	BlockPublicAcls       bool `json:"block_public_acls"`
	BlockPublicPolicy     bool `json:"block_public_policy"`
	IgnorePublicAcls      bool `json:"ignore_public_acls"`
	RestrictPublicBuckets bool `json:"restrict_public_buckets"`
}

type DataRegionsAttributes

type DataRegionsAttributes struct {
	// contains filtered or unexported fields
}

func (DataRegionsAttributes) Bucket

func (DataRegionsAttributes) BucketAccountId

func (r DataRegionsAttributes) BucketAccountId() terra.StringValue

func (DataRegionsAttributes) InternalRef

func (r DataRegionsAttributes) InternalRef() (terra.Reference, error)

func (DataRegionsAttributes) InternalTokens

func (r DataRegionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRegionsAttributes) InternalWithRef

func (DataRegionsAttributes) Region

type DataRegionsState

type DataRegionsState struct {
	Bucket          string `json:"bucket"`
	BucketAccountId string `json:"bucket_account_id"`
	Region          string `json:"region"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_s3control_multi_region_access_point.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (asmrap *DataSource) Attributes() dataAwsS3ControlMultiRegionAccessPointAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (asmrap *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (asmrap *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (asmrap *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type Details

type Details struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// DetailsPublicAccessBlock: optional
	PublicAccessBlock *DetailsPublicAccessBlock `hcl:"public_access_block,block"`
	// DetailsRegion: min=1,max=20
	Region []DetailsRegion `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 (DetailsAttributes) PublicAccessBlock

func (DetailsAttributes) Region

type DetailsPublicAccessBlock

type DetailsPublicAccessBlock 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 DetailsPublicAccessBlockAttributes

type DetailsPublicAccessBlockAttributes struct {
	// contains filtered or unexported fields
}

func (DetailsPublicAccessBlockAttributes) BlockPublicAcls

func (pab DetailsPublicAccessBlockAttributes) BlockPublicAcls() terra.BoolValue

func (DetailsPublicAccessBlockAttributes) BlockPublicPolicy

func (pab DetailsPublicAccessBlockAttributes) BlockPublicPolicy() terra.BoolValue

func (DetailsPublicAccessBlockAttributes) IgnorePublicAcls

func (pab DetailsPublicAccessBlockAttributes) IgnorePublicAcls() terra.BoolValue

func (DetailsPublicAccessBlockAttributes) InternalRef

func (DetailsPublicAccessBlockAttributes) InternalTokens

func (pab DetailsPublicAccessBlockAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DetailsPublicAccessBlockAttributes) InternalWithRef

func (DetailsPublicAccessBlockAttributes) RestrictPublicBuckets

func (pab DetailsPublicAccessBlockAttributes) RestrictPublicBuckets() terra.BoolValue

type DetailsPublicAccessBlockState

type DetailsPublicAccessBlockState struct {
	BlockPublicAcls       bool `json:"block_public_acls"`
	BlockPublicPolicy     bool `json:"block_public_policy"`
	IgnorePublicAcls      bool `json:"ignore_public_acls"`
	RestrictPublicBuckets bool `json:"restrict_public_buckets"`
}

type DetailsRegion

type DetailsRegion struct {
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// BucketAccountId: string, optional
	BucketAccountId terra.StringValue `hcl:"bucket_account_id,attr"`
}

type DetailsRegionAttributes

type DetailsRegionAttributes struct {
	// contains filtered or unexported fields
}

func (DetailsRegionAttributes) Bucket

func (DetailsRegionAttributes) BucketAccountId

func (r DetailsRegionAttributes) BucketAccountId() terra.StringValue

func (DetailsRegionAttributes) InternalRef

func (r DetailsRegionAttributes) InternalRef() (terra.Reference, error)

func (DetailsRegionAttributes) InternalTokens

func (r DetailsRegionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DetailsRegionAttributes) InternalWithRef

func (DetailsRegionAttributes) Region

type DetailsRegionState

type DetailsRegionState struct {
	Bucket          string `json:"bucket"`
	BucketAccountId string `json:"bucket_account_id"`
	Region          string `json:"region"`
}

type DetailsState

type DetailsState struct {
	Name              string                          `json:"name"`
	PublicAccessBlock []DetailsPublicAccessBlockState `json:"public_access_block"`
	Region            []DetailsRegionState            `json:"region"`
}

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_s3control_multi_region_access_point.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asmrap *Resource) Attributes() awsS3ControlMultiRegionAccessPointAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (asmrap *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (asmrap *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (asmrap *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (asmrap *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (asmrap *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asmrap *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asmrap *Resource) State() (*awsS3ControlMultiRegionAccessPointState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (asmrap *Resource) StateMust() *awsS3ControlMultiRegionAccessPointState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (asmrap *Resource) Type() string

Type returns the Terraform object type for Resource.

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 (TimeoutsAttributes) Delete

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

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL