Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataLogDeliveryConfigurationAttributes
- func (ldc DataLogDeliveryConfigurationAttributes) Destination() terra.StringValue
- func (ldc DataLogDeliveryConfigurationAttributes) DestinationType() terra.StringValue
- func (ldc DataLogDeliveryConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ldc DataLogDeliveryConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ldc DataLogDeliveryConfigurationAttributes) InternalWithRef(ref terra.Reference) DataLogDeliveryConfigurationAttributes
- func (ldc DataLogDeliveryConfigurationAttributes) LogFormat() terra.StringValue
- func (ldc DataLogDeliveryConfigurationAttributes) LogType() terra.StringValue
- type DataLogDeliveryConfigurationState
- type DataSource
- type LogDeliveryConfiguration
- type LogDeliveryConfigurationAttributes
- func (ldc LogDeliveryConfigurationAttributes) Destination() terra.StringValue
- func (ldc LogDeliveryConfigurationAttributes) DestinationType() terra.StringValue
- func (ldc LogDeliveryConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ldc LogDeliveryConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ldc LogDeliveryConfigurationAttributes) InternalWithRef(ref terra.Reference) LogDeliveryConfigurationAttributes
- func (ldc LogDeliveryConfigurationAttributes) LogFormat() terra.StringValue
- func (ldc LogDeliveryConfigurationAttributes) LogType() terra.StringValue
- type LogDeliveryConfigurationState
- type Resource
- func (aerg *Resource) Attributes() awsElasticacheReplicationGroupAttributes
- func (aerg *Resource) Configuration() interface{}
- func (aerg *Resource) DependOn() terra.Reference
- func (aerg *Resource) Dependencies() terra.Dependencies
- func (aerg *Resource) ImportState(state io.Reader) error
- func (aerg *Resource) LifecycleManagement() *terra.Lifecycle
- func (aerg *Resource) LocalName() string
- func (aerg *Resource) State() (*awsElasticacheReplicationGroupState, bool)
- func (aerg *Resource) StateMust() *awsElasticacheReplicationGroupState
- func (aerg *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
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ApplyImmediately: bool, optional ApplyImmediately terra.BoolValue `hcl:"apply_immediately,attr"` // AtRestEncryptionEnabled: bool, optional AtRestEncryptionEnabled terra.BoolValue `hcl:"at_rest_encryption_enabled,attr"` // AuthToken: string, optional AuthToken terra.StringValue `hcl:"auth_token,attr"` // AuthTokenUpdateStrategy: string, optional AuthTokenUpdateStrategy terra.StringValue `hcl:"auth_token_update_strategy,attr"` // AutoMinorVersionUpgrade: string, optional AutoMinorVersionUpgrade terra.StringValue `hcl:"auto_minor_version_upgrade,attr"` // AutomaticFailoverEnabled: bool, optional AutomaticFailoverEnabled terra.BoolValue `hcl:"automatic_failover_enabled,attr"` // DataTieringEnabled: bool, optional DataTieringEnabled terra.BoolValue `hcl:"data_tiering_enabled,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Engine: string, optional Engine terra.StringValue `hcl:"engine,attr"` // EngineVersion: string, optional EngineVersion terra.StringValue `hcl:"engine_version,attr"` // FinalSnapshotIdentifier: string, optional FinalSnapshotIdentifier terra.StringValue `hcl:"final_snapshot_identifier,attr"` // GlobalReplicationGroupId: string, optional GlobalReplicationGroupId terra.StringValue `hcl:"global_replication_group_id,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IpDiscovery: string, optional IpDiscovery terra.StringValue `hcl:"ip_discovery,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // MaintenanceWindow: string, optional MaintenanceWindow terra.StringValue `hcl:"maintenance_window,attr"` // MultiAzEnabled: bool, optional MultiAzEnabled terra.BoolValue `hcl:"multi_az_enabled,attr"` // NetworkType: string, optional NetworkType terra.StringValue `hcl:"network_type,attr"` // NodeType: string, optional NodeType terra.StringValue `hcl:"node_type,attr"` // NotificationTopicArn: string, optional NotificationTopicArn terra.StringValue `hcl:"notification_topic_arn,attr"` // NumCacheClusters: number, optional NumCacheClusters terra.NumberValue `hcl:"num_cache_clusters,attr"` // NumNodeGroups: number, optional NumNodeGroups terra.NumberValue `hcl:"num_node_groups,attr"` // ParameterGroupName: string, optional ParameterGroupName terra.StringValue `hcl:"parameter_group_name,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PreferredCacheClusterAzs: list of string, optional PreferredCacheClusterAzs terra.ListValue[terra.StringValue] `hcl:"preferred_cache_cluster_azs,attr"` // ReplicasPerNodeGroup: number, optional ReplicasPerNodeGroup terra.NumberValue `hcl:"replicas_per_node_group,attr"` // ReplicationGroupId: string, required ReplicationGroupId terra.StringValue `hcl:"replication_group_id,attr" validate:"required"` // SecurityGroupIds: set of string, optional SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"` // SecurityGroupNames: set of string, optional SecurityGroupNames terra.SetValue[terra.StringValue] `hcl:"security_group_names,attr"` // SnapshotArns: set of string, optional SnapshotArns terra.SetValue[terra.StringValue] `hcl:"snapshot_arns,attr"` // SnapshotName: string, optional SnapshotName terra.StringValue `hcl:"snapshot_name,attr"` // SnapshotRetentionLimit: number, optional SnapshotRetentionLimit terra.NumberValue `hcl:"snapshot_retention_limit,attr"` // SnapshotWindow: string, optional SnapshotWindow terra.StringValue `hcl:"snapshot_window,attr"` // SubnetGroupName: string, optional SubnetGroupName terra.StringValue `hcl:"subnet_group_name,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"` // TransitEncryptionEnabled: bool, optional TransitEncryptionEnabled terra.BoolValue `hcl:"transit_encryption_enabled,attr"` // UserGroupIds: set of string, optional UserGroupIds terra.SetValue[terra.StringValue] `hcl:"user_group_ids,attr"` // LogDeliveryConfiguration: min=0,max=2 LogDeliveryConfiguration []LogDeliveryConfiguration `hcl:"log_delivery_configuration,block" validate:"min=0,max=2"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_elasticache_replication_group.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ReplicationGroupId: string, required ReplicationGroupId terra.StringValue `hcl:"replication_group_id,attr" validate:"required"` }
DataArgs contains the configurations for aws_elasticache_replication_group.
type DataLogDeliveryConfigurationAttributes ¶
type DataLogDeliveryConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (DataLogDeliveryConfigurationAttributes) Destination ¶
func (ldc DataLogDeliveryConfigurationAttributes) Destination() terra.StringValue
func (DataLogDeliveryConfigurationAttributes) DestinationType ¶
func (ldc DataLogDeliveryConfigurationAttributes) DestinationType() terra.StringValue
func (DataLogDeliveryConfigurationAttributes) InternalRef ¶
func (ldc DataLogDeliveryConfigurationAttributes) InternalRef() (terra.Reference, error)
func (DataLogDeliveryConfigurationAttributes) InternalTokens ¶
func (ldc DataLogDeliveryConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataLogDeliveryConfigurationAttributes) InternalWithRef ¶
func (ldc DataLogDeliveryConfigurationAttributes) InternalWithRef(ref terra.Reference) DataLogDeliveryConfigurationAttributes
func (DataLogDeliveryConfigurationAttributes) LogFormat ¶
func (ldc DataLogDeliveryConfigurationAttributes) LogFormat() terra.StringValue
func (DataLogDeliveryConfigurationAttributes) LogType ¶
func (ldc DataLogDeliveryConfigurationAttributes) LogType() terra.StringValue
type DataSource ¶
DataSource represents the Terraform data resource aws_elasticache_replication_group.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aerg *DataSource) Attributes() dataAwsElasticacheReplicationGroupAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aerg *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aerg *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aerg *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type LogDeliveryConfiguration ¶
type LogDeliveryConfiguration struct { // Destination: string, required Destination terra.StringValue `hcl:"destination,attr" validate:"required"` // DestinationType: string, required DestinationType terra.StringValue `hcl:"destination_type,attr" validate:"required"` // LogFormat: string, required LogFormat terra.StringValue `hcl:"log_format,attr" validate:"required"` // LogType: string, required LogType terra.StringValue `hcl:"log_type,attr" validate:"required"` }
type LogDeliveryConfigurationAttributes ¶
type LogDeliveryConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (LogDeliveryConfigurationAttributes) Destination ¶
func (ldc LogDeliveryConfigurationAttributes) Destination() terra.StringValue
func (LogDeliveryConfigurationAttributes) DestinationType ¶
func (ldc LogDeliveryConfigurationAttributes) DestinationType() terra.StringValue
func (LogDeliveryConfigurationAttributes) InternalRef ¶
func (ldc LogDeliveryConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LogDeliveryConfigurationAttributes) InternalTokens ¶
func (ldc LogDeliveryConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LogDeliveryConfigurationAttributes) InternalWithRef ¶
func (ldc LogDeliveryConfigurationAttributes) InternalWithRef(ref terra.Reference) LogDeliveryConfigurationAttributes
func (LogDeliveryConfigurationAttributes) LogFormat ¶
func (ldc LogDeliveryConfigurationAttributes) LogFormat() terra.StringValue
func (LogDeliveryConfigurationAttributes) LogType ¶
func (ldc LogDeliveryConfigurationAttributes) LogType() 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_elasticache_replication_group.
func (*Resource) Attributes ¶
func (aerg *Resource) Attributes() awsElasticacheReplicationGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aerg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aerg *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"` // Update: string, optional Update terra.StringValue `hcl:"update,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
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue