Documentation ¶
Index ¶
- type Args
- type ClientData
- type ClientDataAttributes
- func (cd ClientDataAttributes) Comment() terra.StringValue
- func (cd ClientDataAttributes) InternalRef() (terra.Reference, error)
- func (cd ClientDataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cd ClientDataAttributes) InternalWithRef(ref terra.Reference) ClientDataAttributes
- func (cd ClientDataAttributes) UploadEnd() terra.StringValue
- func (cd ClientDataAttributes) UploadSize() terra.NumberValue
- func (cd ClientDataAttributes) UploadStart() terra.StringValue
- type ClientDataState
- type DiskContainer
- type DiskContainerAttributes
- func (dc DiskContainerAttributes) Description() terra.StringValue
- func (dc DiskContainerAttributes) Format() terra.StringValue
- func (dc DiskContainerAttributes) InternalRef() (terra.Reference, error)
- func (dc DiskContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DiskContainerAttributes) InternalWithRef(ref terra.Reference) DiskContainerAttributes
- func (dc DiskContainerAttributes) Url() terra.StringValue
- func (dc DiskContainerAttributes) UserBucket() terra.ListValue[DiskContainerUserBucketAttributes]
- type DiskContainerState
- type DiskContainerUserBucket
- type DiskContainerUserBucketAttributes
- func (ub DiskContainerUserBucketAttributes) InternalRef() (terra.Reference, error)
- func (ub DiskContainerUserBucketAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ub DiskContainerUserBucketAttributes) InternalWithRef(ref terra.Reference) DiskContainerUserBucketAttributes
- func (ub DiskContainerUserBucketAttributes) S3Bucket() terra.StringValue
- func (ub DiskContainerUserBucketAttributes) S3Key() terra.StringValue
- type DiskContainerUserBucketState
- type Resource
- func (aesi *Resource) Attributes() awsEbsSnapshotImportAttributes
- func (aesi *Resource) Configuration() interface{}
- func (aesi *Resource) DependOn() terra.Reference
- func (aesi *Resource) Dependencies() terra.Dependencies
- func (aesi *Resource) ImportState(state io.Reader) error
- func (aesi *Resource) LifecycleManagement() *terra.Lifecycle
- func (aesi *Resource) LocalName() string
- func (aesi *Resource) State() (*awsEbsSnapshotImportState, bool)
- func (aesi *Resource) StateMust() *awsEbsSnapshotImportState
- func (aesi *Resource) Type() string
- 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 Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Encrypted: bool, optional Encrypted terra.BoolValue `hcl:"encrypted,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // PermanentRestore: bool, optional PermanentRestore terra.BoolValue `hcl:"permanent_restore,attr"` // RoleName: string, optional RoleName terra.StringValue `hcl:"role_name,attr"` // StorageTier: string, optional StorageTier terra.StringValue `hcl:"storage_tier,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"` // TemporaryRestoreDays: number, optional TemporaryRestoreDays terra.NumberValue `hcl:"temporary_restore_days,attr"` // ClientData: optional ClientData *ClientData `hcl:"client_data,block"` // DiskContainer: required DiskContainer *DiskContainer `hcl:"disk_container,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_ebs_snapshot_import.
type ClientData ¶
type ClientData struct { // Comment: string, optional Comment terra.StringValue `hcl:"comment,attr"` // UploadEnd: string, optional UploadEnd terra.StringValue `hcl:"upload_end,attr"` // UploadSize: number, optional UploadSize terra.NumberValue `hcl:"upload_size,attr"` // UploadStart: string, optional UploadStart terra.StringValue `hcl:"upload_start,attr"` }
type ClientDataAttributes ¶
type ClientDataAttributes struct {
// contains filtered or unexported fields
}
func (ClientDataAttributes) Comment ¶
func (cd ClientDataAttributes) Comment() terra.StringValue
func (ClientDataAttributes) InternalRef ¶
func (cd ClientDataAttributes) InternalRef() (terra.Reference, error)
func (ClientDataAttributes) InternalTokens ¶
func (cd ClientDataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClientDataAttributes) InternalWithRef ¶
func (cd ClientDataAttributes) InternalWithRef(ref terra.Reference) ClientDataAttributes
func (ClientDataAttributes) UploadEnd ¶
func (cd ClientDataAttributes) UploadEnd() terra.StringValue
func (ClientDataAttributes) UploadSize ¶
func (cd ClientDataAttributes) UploadSize() terra.NumberValue
func (ClientDataAttributes) UploadStart ¶
func (cd ClientDataAttributes) UploadStart() terra.StringValue
type ClientDataState ¶
type DiskContainer ¶
type DiskContainer struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Format: string, required Format terra.StringValue `hcl:"format,attr" validate:"required"` // Url: string, optional Url terra.StringValue `hcl:"url,attr"` // DiskContainerUserBucket: optional UserBucket *DiskContainerUserBucket `hcl:"user_bucket,block"` }
type DiskContainerAttributes ¶
type DiskContainerAttributes struct {
// contains filtered or unexported fields
}
func (DiskContainerAttributes) Description ¶
func (dc DiskContainerAttributes) Description() terra.StringValue
func (DiskContainerAttributes) Format ¶
func (dc DiskContainerAttributes) Format() terra.StringValue
func (DiskContainerAttributes) InternalRef ¶
func (dc DiskContainerAttributes) InternalRef() (terra.Reference, error)
func (DiskContainerAttributes) InternalTokens ¶
func (dc DiskContainerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiskContainerAttributes) InternalWithRef ¶
func (dc DiskContainerAttributes) InternalWithRef(ref terra.Reference) DiskContainerAttributes
func (DiskContainerAttributes) Url ¶
func (dc DiskContainerAttributes) Url() terra.StringValue
func (DiskContainerAttributes) UserBucket ¶
func (dc DiskContainerAttributes) UserBucket() terra.ListValue[DiskContainerUserBucketAttributes]
type DiskContainerState ¶
type DiskContainerState struct { Description string `json:"description"` Format string `json:"format"` Url string `json:"url"` UserBucket []DiskContainerUserBucketState `json:"user_bucket"` }
type DiskContainerUserBucket ¶
type DiskContainerUserBucket struct { // S3Bucket: string, required S3Bucket terra.StringValue `hcl:"s3_bucket,attr" validate:"required"` // S3Key: string, required S3Key terra.StringValue `hcl:"s3_key,attr" validate:"required"` }
type DiskContainerUserBucketAttributes ¶
type DiskContainerUserBucketAttributes struct {
// contains filtered or unexported fields
}
func (DiskContainerUserBucketAttributes) InternalRef ¶
func (ub DiskContainerUserBucketAttributes) InternalRef() (terra.Reference, error)
func (DiskContainerUserBucketAttributes) InternalTokens ¶
func (ub DiskContainerUserBucketAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DiskContainerUserBucketAttributes) InternalWithRef ¶
func (ub DiskContainerUserBucketAttributes) InternalWithRef(ref terra.Reference) DiskContainerUserBucketAttributes
func (DiskContainerUserBucketAttributes) S3Bucket ¶
func (ub DiskContainerUserBucketAttributes) S3Bucket() terra.StringValue
func (DiskContainerUserBucketAttributes) S3Key ¶
func (ub DiskContainerUserBucketAttributes) S3Key() terra.StringValue
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_ebs_snapshot_import.
func (*Resource) Attributes ¶
func (aesi *Resource) Attributes() awsEbsSnapshotImportAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aesi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aesi *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"` // 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.