Documentation ¶
Index ¶
- type Args
- type ClusterConfigurationAttributes
- func (cc ClusterConfigurationAttributes) Description() terra.StringValue
- func (cc ClusterConfigurationAttributes) EngineVersion() terra.StringValue
- func (cc ClusterConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc ClusterConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc ClusterConfigurationAttributes) InternalWithRef(ref terra.Reference) ClusterConfigurationAttributes
- func (cc ClusterConfigurationAttributes) MaintenanceWindow() terra.StringValue
- func (cc ClusterConfigurationAttributes) Name() terra.StringValue
- func (cc ClusterConfigurationAttributes) NodeType() terra.StringValue
- func (cc ClusterConfigurationAttributes) NumShards() terra.NumberValue
- func (cc ClusterConfigurationAttributes) ParameterGroupName() terra.StringValue
- func (cc ClusterConfigurationAttributes) Port() terra.NumberValue
- func (cc ClusterConfigurationAttributes) SnapshotRetentionLimit() terra.NumberValue
- func (cc ClusterConfigurationAttributes) SnapshotWindow() terra.StringValue
- func (cc ClusterConfigurationAttributes) SubnetGroupName() terra.StringValue
- func (cc ClusterConfigurationAttributes) TopicArn() terra.StringValue
- func (cc ClusterConfigurationAttributes) VpcId() terra.StringValue
- type ClusterConfigurationState
- type DataArgs
- type DataClusterConfigurationAttributes
- func (cc DataClusterConfigurationAttributes) Description() terra.StringValue
- func (cc DataClusterConfigurationAttributes) EngineVersion() terra.StringValue
- func (cc DataClusterConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc DataClusterConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc DataClusterConfigurationAttributes) InternalWithRef(ref terra.Reference) DataClusterConfigurationAttributes
- func (cc DataClusterConfigurationAttributes) MaintenanceWindow() terra.StringValue
- func (cc DataClusterConfigurationAttributes) Name() terra.StringValue
- func (cc DataClusterConfigurationAttributes) NodeType() terra.StringValue
- func (cc DataClusterConfigurationAttributes) NumShards() terra.NumberValue
- func (cc DataClusterConfigurationAttributes) ParameterGroupName() terra.StringValue
- func (cc DataClusterConfigurationAttributes) Port() terra.NumberValue
- func (cc DataClusterConfigurationAttributes) SnapshotRetentionLimit() terra.NumberValue
- func (cc DataClusterConfigurationAttributes) SnapshotWindow() terra.StringValue
- func (cc DataClusterConfigurationAttributes) SubnetGroupName() terra.StringValue
- func (cc DataClusterConfigurationAttributes) TopicArn() terra.StringValue
- func (cc DataClusterConfigurationAttributes) VpcId() terra.StringValue
- type DataClusterConfigurationState
- type DataSource
- type Resource
- func (ams *Resource) Attributes() awsMemorydbSnapshotAttributes
- func (ams *Resource) Configuration() interface{}
- func (ams *Resource) DependOn() terra.Reference
- func (ams *Resource) Dependencies() terra.Dependencies
- func (ams *Resource) ImportState(state io.Reader) error
- func (ams *Resource) LifecycleManagement() *terra.Lifecycle
- func (ams *Resource) LocalName() string
- func (ams *Resource) State() (*awsMemorydbSnapshotState, bool)
- func (ams *Resource) StateMust() *awsMemorydbSnapshotState
- func (ams *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 { // ClusterName: string, required ClusterName terra.StringValue `hcl:"cluster_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,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"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_memorydb_snapshot.
type ClusterConfigurationAttributes ¶
type ClusterConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ClusterConfigurationAttributes) Description ¶
func (cc ClusterConfigurationAttributes) Description() terra.StringValue
func (ClusterConfigurationAttributes) EngineVersion ¶
func (cc ClusterConfigurationAttributes) EngineVersion() terra.StringValue
func (ClusterConfigurationAttributes) InternalRef ¶
func (cc ClusterConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ClusterConfigurationAttributes) InternalTokens ¶
func (cc ClusterConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClusterConfigurationAttributes) InternalWithRef ¶
func (cc ClusterConfigurationAttributes) InternalWithRef(ref terra.Reference) ClusterConfigurationAttributes
func (ClusterConfigurationAttributes) MaintenanceWindow ¶
func (cc ClusterConfigurationAttributes) MaintenanceWindow() terra.StringValue
func (ClusterConfigurationAttributes) Name ¶
func (cc ClusterConfigurationAttributes) Name() terra.StringValue
func (ClusterConfigurationAttributes) NodeType ¶
func (cc ClusterConfigurationAttributes) NodeType() terra.StringValue
func (ClusterConfigurationAttributes) NumShards ¶
func (cc ClusterConfigurationAttributes) NumShards() terra.NumberValue
func (ClusterConfigurationAttributes) ParameterGroupName ¶
func (cc ClusterConfigurationAttributes) ParameterGroupName() terra.StringValue
func (ClusterConfigurationAttributes) Port ¶
func (cc ClusterConfigurationAttributes) Port() terra.NumberValue
func (ClusterConfigurationAttributes) SnapshotRetentionLimit ¶
func (cc ClusterConfigurationAttributes) SnapshotRetentionLimit() terra.NumberValue
func (ClusterConfigurationAttributes) SnapshotWindow ¶
func (cc ClusterConfigurationAttributes) SnapshotWindow() terra.StringValue
func (ClusterConfigurationAttributes) SubnetGroupName ¶
func (cc ClusterConfigurationAttributes) SubnetGroupName() terra.StringValue
func (ClusterConfigurationAttributes) TopicArn ¶
func (cc ClusterConfigurationAttributes) TopicArn() terra.StringValue
func (ClusterConfigurationAttributes) VpcId ¶
func (cc ClusterConfigurationAttributes) VpcId() terra.StringValue
type ClusterConfigurationState ¶
type ClusterConfigurationState struct { Description string `json:"description"` EngineVersion string `json:"engine_version"` MaintenanceWindow string `json:"maintenance_window"` Name string `json:"name"` NodeType string `json:"node_type"` NumShards float64 `json:"num_shards"` ParameterGroupName string `json:"parameter_group_name"` Port float64 `json:"port"` SnapshotRetentionLimit float64 `json:"snapshot_retention_limit"` SnapshotWindow string `json:"snapshot_window"` SubnetGroupName string `json:"subnet_group_name"` TopicArn string `json:"topic_arn"` VpcId string `json:"vpc_id"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_memorydb_snapshot.
type DataClusterConfigurationAttributes ¶
type DataClusterConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (DataClusterConfigurationAttributes) Description ¶
func (cc DataClusterConfigurationAttributes) Description() terra.StringValue
func (DataClusterConfigurationAttributes) EngineVersion ¶
func (cc DataClusterConfigurationAttributes) EngineVersion() terra.StringValue
func (DataClusterConfigurationAttributes) InternalRef ¶
func (cc DataClusterConfigurationAttributes) InternalRef() (terra.Reference, error)
func (DataClusterConfigurationAttributes) InternalTokens ¶
func (cc DataClusterConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataClusterConfigurationAttributes) InternalWithRef ¶
func (cc DataClusterConfigurationAttributes) InternalWithRef(ref terra.Reference) DataClusterConfigurationAttributes
func (DataClusterConfigurationAttributes) MaintenanceWindow ¶
func (cc DataClusterConfigurationAttributes) MaintenanceWindow() terra.StringValue
func (DataClusterConfigurationAttributes) Name ¶
func (cc DataClusterConfigurationAttributes) Name() terra.StringValue
func (DataClusterConfigurationAttributes) NodeType ¶
func (cc DataClusterConfigurationAttributes) NodeType() terra.StringValue
func (DataClusterConfigurationAttributes) NumShards ¶
func (cc DataClusterConfigurationAttributes) NumShards() terra.NumberValue
func (DataClusterConfigurationAttributes) ParameterGroupName ¶
func (cc DataClusterConfigurationAttributes) ParameterGroupName() terra.StringValue
func (DataClusterConfigurationAttributes) Port ¶
func (cc DataClusterConfigurationAttributes) Port() terra.NumberValue
func (DataClusterConfigurationAttributes) SnapshotRetentionLimit ¶
func (cc DataClusterConfigurationAttributes) SnapshotRetentionLimit() terra.NumberValue
func (DataClusterConfigurationAttributes) SnapshotWindow ¶
func (cc DataClusterConfigurationAttributes) SnapshotWindow() terra.StringValue
func (DataClusterConfigurationAttributes) SubnetGroupName ¶
func (cc DataClusterConfigurationAttributes) SubnetGroupName() terra.StringValue
func (DataClusterConfigurationAttributes) TopicArn ¶
func (cc DataClusterConfigurationAttributes) TopicArn() terra.StringValue
func (DataClusterConfigurationAttributes) VpcId ¶
func (cc DataClusterConfigurationAttributes) VpcId() terra.StringValue
type DataClusterConfigurationState ¶
type DataClusterConfigurationState struct { Description string `json:"description"` EngineVersion string `json:"engine_version"` MaintenanceWindow string `json:"maintenance_window"` Name string `json:"name"` NodeType string `json:"node_type"` NumShards float64 `json:"num_shards"` ParameterGroupName string `json:"parameter_group_name"` Port float64 `json:"port"` SnapshotRetentionLimit float64 `json:"snapshot_retention_limit"` SnapshotWindow string `json:"snapshot_window"` SubnetGroupName string `json:"subnet_group_name"` TopicArn string `json:"topic_arn"` VpcId string `json:"vpc_id"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_memorydb_snapshot.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ams *DataSource) Attributes() dataAwsMemorydbSnapshotAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ams *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ams *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ams *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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_memorydb_snapshot.
func (*Resource) Attributes ¶
func (ams *Resource) Attributes() awsMemorydbSnapshotAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ams *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ams *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