v1alpha1

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Overview

+groupName=modules.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: modules.GroupName, Version: "v1alpha1"}

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type GoogleServiceAccount

type GoogleServiceAccount struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GoogleServiceAccountSpec   `json:"spec,omitempty"`
	Status            GoogleServiceAccountStatus `json:"status,omitempty"`
}

func (*GoogleServiceAccount) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleServiceAccount.

func (*GoogleServiceAccount) DeepCopyInto

func (in *GoogleServiceAccount) DeepCopyInto(out *GoogleServiceAccount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GoogleServiceAccount) DeepCopyObject

func (in *GoogleServiceAccount) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoogleServiceAccountList

type GoogleServiceAccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of GoogleServiceAccount CRD objects
	Items []GoogleServiceAccount `json:"items,omitempty"`
}

GoogleServiceAccountList is a list of GoogleServiceAccounts

func (*GoogleServiceAccountList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleServiceAccountList.

func (*GoogleServiceAccountList) DeepCopyInto

func (in *GoogleServiceAccountList) DeepCopyInto(out *GoogleServiceAccountList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GoogleServiceAccountList) DeepCopyObject

func (in *GoogleServiceAccountList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GoogleServiceAccountOutput

type GoogleServiceAccountOutput struct {
	// Service account email (for single use).
	// +optional
	Email string `json:"email" tf:"email"`
	// Service account emails by name.
	// +optional
	Emails string `json:"emails" tf:"emails"`
	// Service account emails as list.
	// +optional
	EmailsList string `json:"emailsList" tf:"emails_list"`
	// IAM-format service account email (for single use).
	// +optional
	IamEmail string `json:"iamEmail" tf:"iam_email"`
	// IAM-format service account emails by name.
	// +optional
	IamEmails string `json:"iamEmails" tf:"iam_emails"`
	// IAM-format service account emails as list.
	// +optional
	IamEmailsList string `json:"iamEmailsList" tf:"iam_emails_list"`
	// Service account key (for single use).
	// +optional
	Key string `json:"key" tf:"key"`
	// Map of service account keys.
	// +optional
	Keys string `json:"keys" tf:"keys"`
	// Service account resource (for single use).
	// +optional
	ServiceAccount string `json:"serviceAccount" tf:"service_account"`
	// Service account resources as list.
	// +optional
	ServiceAccounts string `json:"serviceAccounts" tf:"service_accounts"`
	// Service account resources by name.
	// +optional
	ServiceAccountsMap string `json:"serviceAccountsMap" tf:"service_accounts_map"`
}

func (*GoogleServiceAccountOutput) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleServiceAccountOutput.

func (*GoogleServiceAccountOutput) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GoogleServiceAccountSpec

type GoogleServiceAccountSpec struct {
	// +optional
	SecretRef   *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`
	ProviderRef core.LocalObjectReference  `json:"providerRef" tf:"-"`
	// +optional
	Source string `json:"source" tf:"source"`

	// +optional
	// If assigning billing role, specificy a billing account (default is to assign at the organizational level).
	BillingAccountID string `json:"billingAccountID,omitempty" tf:"billing_account_id,omitempty"`
	// +optional
	// Descriptions of the created service accounts (defaults to no description)
	Description string `json:"description,omitempty" tf:"description,omitempty"`
	// +optional
	// Display names of the created service accounts (defaults to 'Terraform-managed service account')
	DisplayName string `json:"displayName,omitempty" tf:"display_name,omitempty"`
	// +optional
	// Generate keys for service accounts.
	GenerateKeys bool `json:"generateKeys,omitempty" tf:"generate_keys,omitempty"`
	// +optional
	// Grant billing user role.
	GrantBillingRole bool `json:"grantBillingRole,omitempty" tf:"grant_billing_role,omitempty"`
	// +optional
	// Grant roles for shared VPC management.
	GrantXpnRoles bool `json:"grantXpnRoles,omitempty" tf:"grant_xpn_roles,omitempty"`
	// +optional
	// Names of the service accounts to create.
	Names []string `json:"names,omitempty" tf:"names,omitempty"`
	// +optional
	// Id of the organization for org-level roles.
	OrgID string `json:"orgID,omitempty" tf:"org_id,omitempty"`
	// +optional
	// Prefix applied to service account names.
	Prefix string `json:"prefix,omitempty" tf:"prefix,omitempty"`
	// +optional
	// Project id where service account will be created.
	ProjectID string `json:"projectID,omitempty" tf:"project_id,omitempty"`
	// +optional
	// Common roles to apply to all service accounts, project=>role as elements.
	ProjectRoles []string `json:"projectRoles,omitempty" tf:"project_roles,omitempty"`
}

func (*GoogleServiceAccountSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleServiceAccountSpec.

func (*GoogleServiceAccountSpec) DeepCopyInto

func (in *GoogleServiceAccountSpec) DeepCopyInto(out *GoogleServiceAccountSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GoogleServiceAccountStatus

type GoogleServiceAccountStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Output *GoogleServiceAccountOutput `json:"output,omitempty"`
	// +optional
	State string `json:"state,omitempty"`
	// +optional
	Phase base.Phase `json:"phase,omitempty"`
}

func (*GoogleServiceAccountStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleServiceAccountStatus.

func (*GoogleServiceAccountStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RDS

type RDS struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RDSSpec   `json:"spec,omitempty"`
	Status            RDSStatus `json:"status,omitempty"`
}

func (*RDS) DeepCopy

func (in *RDS) DeepCopy() *RDS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDS.

func (*RDS) DeepCopyInto

func (in *RDS) DeepCopyInto(out *RDS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RDS) DeepCopyObject

func (in *RDS) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RDSList

type RDSList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of RDS CRD objects
	Items []RDS `json:"items,omitempty"`
}

RDSList is a list of RDSs

func (*RDSList) DeepCopy

func (in *RDSList) DeepCopy() *RDSList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSList.

func (*RDSList) DeepCopyInto

func (in *RDSList) DeepCopyInto(out *RDSList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RDSList) DeepCopyObject

func (in *RDSList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RDSOutput

type RDSOutput struct {
	// The Amazon Resource Name (ARN) specifying the monitoring role
	// +optional
	EnhancedMonitoringIamRoleArn string `json:"enhancedMonitoringIamRoleArn" tf:"enhanced_monitoring_iam_role_arn"`
	// The name of the monitoring role
	// +optional
	EnhancedMonitoringIamRoleName string `json:"enhancedMonitoringIamRoleName" tf:"enhanced_monitoring_iam_role_name"`
	// The address of the RDS instance
	// +optional
	ThisDbInstanceAddress string `json:"thisDbInstanceAddress" tf:"this_db_instance_address"`
	// The ARN of the RDS instance
	// +optional
	ThisDbInstanceArn string `json:"thisDbInstanceArn" tf:"this_db_instance_arn"`
	// The availability zone of the RDS instance
	// +optional
	ThisDbInstanceAvailabilityZone string `json:"thisDbInstanceAvailabilityZone" tf:"this_db_instance_availability_zone"`
	// Specifies the identifier of the CA certificate for the DB instance
	// +optional
	ThisDbInstanceCaCertIdentifier string `json:"thisDbInstanceCaCertIdentifier" tf:"this_db_instance_ca_cert_identifier"`
	// The ID of the Directory Service Active Directory domain the instance is joined to
	// +optional
	ThisDbInstanceDomain string `json:"thisDbInstanceDomain" tf:"this_db_instance_domain"`
	// The name of the IAM role to be used when making API calls to the Directory Service.
	// +optional
	ThisDbInstanceDomainIamRoleName string `json:"thisDbInstanceDomainIamRoleName" tf:"this_db_instance_domain_iam_role_name"`
	// The connection endpoint
	// +optional
	ThisDbInstanceEndpoint string `json:"thisDbInstanceEndpoint" tf:"this_db_instance_endpoint"`
	// The canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record)
	// +optional
	ThisDbInstanceHostedZoneID string `json:"thisDbInstanceHostedZoneID" tf:"this_db_instance_hosted_zone_id"`
	// The RDS instance ID
	// +optional
	ThisDbInstanceID string `json:"thisDbInstanceID" tf:"this_db_instance_id"`
	// The database name
	// +optional
	ThisDbInstanceName string `json:"thisDbInstanceName" tf:"this_db_instance_name"`
	// The database password (this password may be old, because Terraform doesn't track it after initial creation)
	// +optional
	ThisDbInstancePassword string `json:"thisDbInstancePassword" tf:"this_db_instance_password"`
	// The database port
	// +optional
	ThisDbInstancePort string `json:"thisDbInstancePort" tf:"this_db_instance_port"`
	// The RDS Resource ID of this instance
	// +optional
	ThisDbInstanceResourceID string `json:"thisDbInstanceResourceID" tf:"this_db_instance_resource_id"`
	// The RDS instance status
	// +optional
	ThisDbInstanceStatus string `json:"thisDbInstanceStatus" tf:"this_db_instance_status"`
	// The master username for the database
	// +optional
	ThisDbInstanceUsername string `json:"thisDbInstanceUsername" tf:"this_db_instance_username"`
	// The ARN of the db option group
	// +optional
	ThisDbOptionGroupArn string `json:"thisDbOptionGroupArn" tf:"this_db_option_group_arn"`
	// The db option group id
	// +optional
	ThisDbOptionGroupID string `json:"thisDbOptionGroupID" tf:"this_db_option_group_id"`
	// The ARN of the db parameter group
	// +optional
	ThisDbParameterGroupArn string `json:"thisDbParameterGroupArn" tf:"this_db_parameter_group_arn"`
	// The db parameter group id
	// +optional
	ThisDbParameterGroupID string `json:"thisDbParameterGroupID" tf:"this_db_parameter_group_id"`
	// The ARN of the db subnet group
	// +optional
	ThisDbSubnetGroupArn string `json:"thisDbSubnetGroupArn" tf:"this_db_subnet_group_arn"`
	// The db subnet group name
	// +optional
	ThisDbSubnetGroupID string `json:"thisDbSubnetGroupID" tf:"this_db_subnet_group_id"`
}

func (*RDSOutput) DeepCopy

func (in *RDSOutput) DeepCopy() *RDSOutput

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSOutput.

func (*RDSOutput) DeepCopyInto

func (in *RDSOutput) DeepCopyInto(out *RDSOutput)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RDSSpec

type RDSSpec struct {
	// +optional
	SecretRef   *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`
	ProviderRef core.LocalObjectReference  `json:"providerRef" tf:"-"`
	// +optional
	Source string `json:"source" tf:"source"`

	// +optional
	// The allocated storage in gigabytes
	AllocatedStorage string `json:"allocatedStorage,omitempty" tf:"allocated_storage,omitempty"`
	// +optional
	// Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible
	AllowMajorVersionUpgrade bool `json:"allowMajorVersionUpgrade,omitempty" tf:"allow_major_version_upgrade,omitempty"`
	// +optional
	// Specifies whether any database modifications are applied immediately, or during the next maintenance window
	ApplyImmediately bool `json:"applyImmediately,omitempty" tf:"apply_immediately,omitempty"`
	// +optional
	// Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window
	AutoMinorVersionUpgrade bool `json:"autoMinorVersionUpgrade,omitempty" tf:"auto_minor_version_upgrade,omitempty"`
	// +optional
	// The Availability Zone of the RDS instance
	AvailabilityZone string `json:"availabilityZone,omitempty" tf:"availability_zone,omitempty"`
	// +optional
	// The days to retain backups for
	BackupRetentionPeriod json.Number `json:"backupRetentionPeriod,omitempty" tf:"backup_retention_period,omitempty"`
	// +optional
	// The daily time range (in UTC) during which automated backups are created if they are enabled. Example: '09:46-10:16'. Must not overlap with maintenance_window
	BackupWindow string `json:"backupWindow,omitempty" tf:"backup_window,omitempty"`
	// +optional
	// Specifies the identifier of the CA certificate for the DB instance
	CaCertIdentifier string `json:"caCertIdentifier,omitempty" tf:"ca_cert_identifier,omitempty"`
	// +optional
	// (Optional) The character set name to use for DB encoding in Oracle instances. This can't be changed. See Oracle Character Sets Supported in Amazon RDS for more information
	CharacterSetName string `json:"characterSetName,omitempty" tf:"character_set_name,omitempty"`
	// +optional
	// On delete, copy all Instance tags to the final snapshot (if final_snapshot_identifier is specified)
	CopyTagsToSnapshot bool `json:"copyTagsToSnapshot,omitempty" tf:"copy_tags_to_snapshot,omitempty"`
	// +optional
	// Whether to create a database instance
	CreateDbInstance bool `json:"createDbInstance,omitempty" tf:"create_db_instance,omitempty"`
	// +optional
	// (Optional) Create a database option group
	CreateDbOptionGroup bool `json:"createDbOptionGroup,omitempty" tf:"create_db_option_group,omitempty"`
	// +optional
	// Whether to create a database parameter group
	CreateDbParameterGroup bool `json:"createDbParameterGroup,omitempty" tf:"create_db_parameter_group,omitempty"`
	// +optional
	// Whether to create a database subnet group
	CreateDbSubnetGroup bool `json:"createDbSubnetGroup,omitempty" tf:"create_db_subnet_group,omitempty"`
	// +optional
	// Create IAM role with a defined name that permits RDS to send enhanced monitoring metrics to CloudWatch Logs.
	CreateMonitoringRole bool `json:"createMonitoringRole,omitempty" tf:"create_monitoring_role,omitempty"`
	// +optional
	// Name of DB subnet group. DB instance will be created in the VPC associated with the DB subnet group. If unspecified, will be created in the default VPC
	DbSubnetGroupName string `json:"dbSubnetGroupName,omitempty" tf:"db_subnet_group_name,omitempty"`
	// +optional
	// Specifies whether to remove automated backups immediately after the DB instance is deleted
	DeleteAutomatedBackups bool `json:"deleteAutomatedBackups,omitempty" tf:"delete_automated_backups,omitempty"`
	// +optional
	// The database can't be deleted when this value is set to true.
	DeletionProtection bool `json:"deletionProtection,omitempty" tf:"deletion_protection,omitempty"`
	// +optional
	// The ID of the Directory Service Active Directory domain to create the instance in
	Domain string `json:"domain,omitempty" tf:"domain,omitempty"`
	// +optional
	// (Required if domain is provided) The name of the IAM role to be used when making API calls to the Directory Service
	DomainIamRoleName string `json:"domainIamRoleName,omitempty" tf:"domain_iam_role_name,omitempty"`
	// +optional
	// List of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on engine): alert, audit, error, general, listener, slowquery, trace, postgresql (PostgreSQL), upgrade (PostgreSQL).
	EnabledCloudwatchLogsExports []string `json:"enabledCloudwatchLogsExports,omitempty" tf:"enabled_cloudwatch_logs_exports,omitempty"`
	// +optional
	// The database engine to use
	Engine string `json:"engine,omitempty" tf:"engine,omitempty"`
	// +optional
	// The engine version to use
	EngineVersion string `json:"engineVersion,omitempty" tf:"engine_version,omitempty"`
	// +optional
	// The family of the DB parameter group
	Family string `json:"family,omitempty" tf:"family,omitempty"`
	// +optional
	// The name of your final DB snapshot when this DB instance is deleted.
	FinalSnapshotIdentifier string `json:"finalSnapshotIdentifier,omitempty" tf:"final_snapshot_identifier,omitempty"`
	// +optional
	// Specifies whether or not the mappings of AWS Identity and Access Management (IAM) accounts to database accounts are enabled
	IamDatabaseAuthenticationEnabled bool `json:"iamDatabaseAuthenticationEnabled,omitempty" tf:"iam_database_authentication_enabled,omitempty"`
	// +optional
	// The name of the RDS instance, if omitted, Terraform will assign a random, unique identifier
	Identifier string `json:"identifier,omitempty" tf:"identifier,omitempty"`
	// +optional
	// The instance type of the RDS instance
	InstanceClass string `json:"instanceClass,omitempty" tf:"instance_class,omitempty"`
	// +optional
	// The amount of provisioned IOPS. Setting this implies a storage_type of 'io1'
	Iops json.Number `json:"iops,omitempty" tf:"iops,omitempty"`
	// +optional
	// The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN. If storage_encrypted is set to true and kms_key_id is not specified the default KMS key created in your account will be used
	KmsKeyID string `json:"kmsKeyID,omitempty" tf:"kms_key_id,omitempty"`
	// +optional
	// License model information for this DB instance. Optional, but required for some DB engines, i.e. Oracle SE1
	LicenseModel string `json:"licenseModel,omitempty" tf:"license_model,omitempty"`
	// +optional
	// The window to perform maintenance in. Syntax: 'ddd:hh24:mi-ddd:hh24:mi'. Eg: 'Mon:00:00-Mon:03:00'
	MaintenanceWindow string `json:"maintenanceWindow,omitempty" tf:"maintenance_window,omitempty"`
	// +optional
	// Specifies the major version of the engine that this option group should be associated with
	MajorEngineVersion string `json:"majorEngineVersion,omitempty" tf:"major_engine_version,omitempty"`
	// +optional
	// Specifies the value for Storage Autoscaling
	MaxAllocatedStorage json.Number `json:"maxAllocatedStorage,omitempty" tf:"max_allocated_storage,omitempty"`
	// +optional
	// The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
	MonitoringInterval json.Number `json:"monitoringInterval,omitempty" tf:"monitoring_interval,omitempty"`
	// +optional
	// The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. Must be specified if monitoring_interval is non-zero.
	MonitoringRoleArn string `json:"monitoringRoleArn,omitempty" tf:"monitoring_role_arn,omitempty"`
	// +optional
	// Name of the IAM role which will be created when create_monitoring_role is enabled.
	MonitoringRoleName string `json:"monitoringRoleName,omitempty" tf:"monitoring_role_name,omitempty"`
	// +optional
	// Specifies if the RDS instance is multi-AZ
	MultiAz bool `json:"multiAz,omitempty" tf:"multi_az,omitempty"`
	// +optional
	// The DB name to create. If omitted, no database is created initially
	Name string `json:"name,omitempty" tf:"name,omitempty"`
	// +optional
	// The description of the option group
	OptionGroupDescription string `json:"optionGroupDescription,omitempty" tf:"option_group_description,omitempty"`
	// +optional
	// Name of the DB option group to associate
	OptionGroupName string `json:"optionGroupName,omitempty" tf:"option_group_name,omitempty"`
	// +optional
	// Define maximum timeout for deletion of `aws_db_option_group` resource
	OptionGroupTimeouts map[string]string `json:"optionGroupTimeouts,omitempty" tf:"option_group_timeouts,omitempty"`
	// +optional
	// A list of Options to apply.
	Options json.RawMessage `json:"options,omitempty" tf:"options,omitempty"`
	// +optional
	// Description of the DB parameter group to create
	ParameterGroupDescription string `json:"parameterGroupDescription,omitempty" tf:"parameter_group_description,omitempty"`
	// +optional
	// Name of the DB parameter group to associate or create
	ParameterGroupName string `json:"parameterGroupName,omitempty" tf:"parameter_group_name,omitempty"`
	// +optional
	// A list of DB parameters (map) to apply
	Parameters json.RawMessage `json:"parameters,omitempty" tf:"parameters,omitempty"`
	// +optional
	// Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file
	Password string `json:"password,omitempty" tf:"password,omitempty"`
	// +optional
	// Specifies whether Performance Insights are enabled
	PerformanceInsightsEnabled bool `json:"performanceInsightsEnabled,omitempty" tf:"performance_insights_enabled,omitempty"`
	// +optional
	// The amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years).
	PerformanceInsightsRetentionPeriod json.Number `json:"performanceInsightsRetentionPeriod,omitempty" tf:"performance_insights_retention_period,omitempty"`
	// +optional
	// The port on which the DB accepts connections
	Port string `json:"port,omitempty" tf:"port,omitempty"`
	// +optional
	// Bool to control if instance is publicly accessible
	PubliclyAccessible bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible,omitempty"`
	// +optional
	// Specifies that this resource is a Replicate database, and to use this value as the source database. This correlates to the identifier of another Amazon RDS Database to replicate.
	ReplicateSourceDb string `json:"replicateSourceDb,omitempty" tf:"replicate_source_db,omitempty"`
	// +optional
	// Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted, using the value from final_snapshot_identifier
	SkipFinalSnapshot bool `json:"skipFinalSnapshot,omitempty" tf:"skip_final_snapshot,omitempty"`
	// +optional
	// Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console, e.g: rds:production-2015-06-26-06-05.
	SnapshotIdentifier string `json:"snapshotIdentifier,omitempty" tf:"snapshot_identifier,omitempty"`
	// +optional
	// Specifies whether the DB instance is encrypted
	StorageEncrypted bool `json:"storageEncrypted,omitempty" tf:"storage_encrypted,omitempty"`
	// +optional
	// One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD). The default is 'io1' if iops is specified, 'standard' if not. Note that this behaviour is different from the AWS web console, where the default is 'gp2'.
	StorageType string `json:"storageType,omitempty" tf:"storage_type,omitempty"`
	// +optional
	// A list of VPC subnet IDs
	SubnetIDS []string `json:"subnetIDS,omitempty" tf:"subnet_ids,omitempty"`
	// +optional
	// A mapping of tags to assign to all resources
	Tags map[string]string `json:"tags,omitempty" tf:"tags,omitempty"`
	// +optional
	// (Optional) Updated Terraform resource management timeouts. Applies to `aws_db_instance` in particular to permit resource management times
	Timeouts map[string]string `json:"timeouts,omitempty" tf:"timeouts,omitempty"`
	// +optional
	// (Optional) Time zone of the DB instance. timezone is currently only supported by Microsoft SQL Server. The timezone can only be set on creation. See MSSQL User Guide for more information.
	Timezone string `json:"timezone,omitempty" tf:"timezone,omitempty"`
	// +optional
	// Whether to use the parameter group name prefix or not
	UseParameterGroupNamePrefix bool `json:"useParameterGroupNamePrefix,omitempty" tf:"use_parameter_group_name_prefix,omitempty"`
	// +optional
	// Username for the master DB user
	Username string `json:"username,omitempty" tf:"username,omitempty"`
	// +optional
	// List of VPC security groups to associate
	VpcSecurityGroupIDS []string `json:"vpcSecurityGroupIDS,omitempty" tf:"vpc_security_group_ids,omitempty"`
}

func (*RDSSpec) DeepCopy

func (in *RDSSpec) DeepCopy() *RDSSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSSpec.

func (*RDSSpec) DeepCopyInto

func (in *RDSSpec) DeepCopyInto(out *RDSSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RDSStatus

type RDSStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Output *RDSOutput `json:"output,omitempty"`
	// +optional
	State string `json:"state,omitempty"`
	// +optional
	Phase base.Phase `json:"phase,omitempty"`
}

func (*RDSStatus) DeepCopy

func (in *RDSStatus) DeepCopy() *RDSStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSStatus.

func (*RDSStatus) DeepCopyInto

func (in *RDSStatus) DeepCopyInto(out *RDSStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL