Documentation ¶
Index ¶
- type Args
- type Resource
- func (adsc *Resource) Attributes() awsDbSnapshotCopyAttributes
- func (adsc *Resource) Configuration() interface{}
- func (adsc *Resource) DependOn() terra.Reference
- func (adsc *Resource) Dependencies() terra.Dependencies
- func (adsc *Resource) ImportState(state io.Reader) error
- func (adsc *Resource) LifecycleManagement() *terra.Lifecycle
- func (adsc *Resource) LocalName() string
- func (adsc *Resource) State() (*awsDbSnapshotCopyState, bool)
- func (adsc *Resource) StateMust() *awsDbSnapshotCopyState
- func (adsc *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CopyTags: bool, optional CopyTags terra.BoolValue `hcl:"copy_tags,attr"` // DestinationRegion: string, optional DestinationRegion terra.StringValue `hcl:"destination_region,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // OptionGroupName: string, optional OptionGroupName terra.StringValue `hcl:"option_group_name,attr"` // PresignedUrl: string, optional PresignedUrl terra.StringValue `hcl:"presigned_url,attr"` // SourceDbSnapshotIdentifier: string, required SourceDbSnapshotIdentifier terra.StringValue `hcl:"source_db_snapshot_identifier,attr" validate:"required"` // 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"` // TargetCustomAvailabilityZone: string, optional TargetCustomAvailabilityZone terra.StringValue `hcl:"target_custom_availability_zone,attr"` // TargetDbSnapshotIdentifier: string, required TargetDbSnapshotIdentifier terra.StringValue `hcl:"target_db_snapshot_identifier,attr" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_db_snapshot_copy.
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_db_snapshot_copy.
func (*Resource) Attributes ¶
func (adsc *Resource) Attributes() awsDbSnapshotCopyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adsc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adsc *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() 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 ¶
type TimeoutsState struct {
Create string `json:"create"`
}
Click to show internal directories.
Click to hide internal directories.