Documentation ¶
Index ¶
- type Args
- type Resource
- func (adc *Resource) Attributes() awsDocdbClusterAttributes
- func (adc *Resource) Configuration() interface{}
- func (adc *Resource) DependOn() terra.Reference
- func (adc *Resource) Dependencies() terra.Dependencies
- func (adc *Resource) ImportState(state io.Reader) error
- func (adc *Resource) LifecycleManagement() *terra.Lifecycle
- func (adc *Resource) LocalName() string
- func (adc *Resource) State() (*awsDocdbClusterState, bool)
- func (adc *Resource) StateMust() *awsDocdbClusterState
- func (adc *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 { // AllowMajorVersionUpgrade: bool, optional AllowMajorVersionUpgrade terra.BoolValue `hcl:"allow_major_version_upgrade,attr"` // ApplyImmediately: bool, optional ApplyImmediately terra.BoolValue `hcl:"apply_immediately,attr"` // AvailabilityZones: set of string, optional AvailabilityZones terra.SetValue[terra.StringValue] `hcl:"availability_zones,attr"` // BackupRetentionPeriod: number, optional BackupRetentionPeriod terra.NumberValue `hcl:"backup_retention_period,attr"` // ClusterIdentifier: string, optional ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr"` // ClusterIdentifierPrefix: string, optional ClusterIdentifierPrefix terra.StringValue `hcl:"cluster_identifier_prefix,attr"` // ClusterMembers: set of string, optional ClusterMembers terra.SetValue[terra.StringValue] `hcl:"cluster_members,attr"` // DbClusterParameterGroupName: string, optional DbClusterParameterGroupName terra.StringValue `hcl:"db_cluster_parameter_group_name,attr"` // DbSubnetGroupName: string, optional DbSubnetGroupName terra.StringValue `hcl:"db_subnet_group_name,attr"` // DeletionProtection: bool, optional DeletionProtection terra.BoolValue `hcl:"deletion_protection,attr"` // EnabledCloudwatchLogsExports: list of string, optional EnabledCloudwatchLogsExports terra.ListValue[terra.StringValue] `hcl:"enabled_cloudwatch_logs_exports,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"` // GlobalClusterIdentifier: string, optional GlobalClusterIdentifier terra.StringValue `hcl:"global_cluster_identifier,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // MasterPassword: string, optional MasterPassword terra.StringValue `hcl:"master_password,attr"` // MasterUsername: string, optional MasterUsername terra.StringValue `hcl:"master_username,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PreferredBackupWindow: string, optional PreferredBackupWindow terra.StringValue `hcl:"preferred_backup_window,attr"` // PreferredMaintenanceWindow: string, optional PreferredMaintenanceWindow terra.StringValue `hcl:"preferred_maintenance_window,attr"` // SkipFinalSnapshot: bool, optional SkipFinalSnapshot terra.BoolValue `hcl:"skip_final_snapshot,attr"` // SnapshotIdentifier: string, optional SnapshotIdentifier terra.StringValue `hcl:"snapshot_identifier,attr"` // StorageEncrypted: bool, optional StorageEncrypted terra.BoolValue `hcl:"storage_encrypted,attr"` // StorageType: string, optional StorageType terra.StringValue `hcl:"storage_type,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"` // VpcSecurityGroupIds: set of string, optional VpcSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"vpc_security_group_ids,attr"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_docdb_cluster.
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_docdb_cluster.
func (*Resource) Attributes ¶
func (adc *Resource) Attributes() awsDocdbClusterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adc *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
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.