Documentation
¶
Index ¶
- func NewRabbitmqInstanceParametersOutputReference_Override(r RabbitmqInstanceParametersOutputReference, ...)
- func NewRabbitmqInstance_Override(r RabbitmqInstance, scope constructs.Construct, id *string, ...)
- func RabbitmqInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func RabbitmqInstance_IsConstruct(x interface{}) *bool
- func RabbitmqInstance_IsTerraformElement(x interface{}) *bool
- func RabbitmqInstance_IsTerraformResource(x interface{}) *bool
- func RabbitmqInstance_TfResourceType() *string
- type RabbitmqInstance
- type RabbitmqInstanceConfig
- type RabbitmqInstanceParameters
- type RabbitmqInstanceParametersOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRabbitmqInstanceParametersOutputReference_Override ¶
func NewRabbitmqInstanceParametersOutputReference_Override(r RabbitmqInstanceParametersOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRabbitmqInstance_Override ¶
func NewRabbitmqInstance_Override(r RabbitmqInstance, scope constructs.Construct, id *string, config *RabbitmqInstanceConfig)
Create a new {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance stackit_rabbitmq_instance} Resource.
func RabbitmqInstance_GenerateConfigForImport ¶
func RabbitmqInstance_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a RabbitmqInstance resource upon running "cdktf plan <stack-name>".
func RabbitmqInstance_IsConstruct ¶
func RabbitmqInstance_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func RabbitmqInstance_IsTerraformElement ¶
func RabbitmqInstance_IsTerraformElement(x interface{}) *bool
Experimental.
func RabbitmqInstance_IsTerraformResource ¶
func RabbitmqInstance_IsTerraformResource(x interface{}) *bool
Experimental.
func RabbitmqInstance_TfResourceType ¶
func RabbitmqInstance_TfResourceType() *string
Types ¶
type RabbitmqInstance ¶
type RabbitmqInstance interface {
cdktf.TerraformResource
// Experimental.
CdktfStack() cdktf.TerraformStack
CfGuid() *string
CfOrganizationGuid() *string
CfSpaceGuid() *string
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
// Experimental.
Count() interface{}
// Experimental.
SetCount(val interface{})
DashboardUrl() *string
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
Id() *string
ImageUrl() *string
InstanceId() *string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
Parameters() RabbitmqInstanceParametersOutputReference
ParametersInput() interface{}
PlanId() *string
PlanName() *string
SetPlanName(val *string)
PlanNameInput() *string
ProjectId() *string
SetProjectId(val *string)
ProjectIdInput() *string
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
// Experimental.
RawOverrides() interface{}
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
Version() *string
SetVersion(val *string)
VersionInput() *string
// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
// Experimental.
AddMoveTarget(moveTarget *string)
// Experimental.
AddOverride(path *string, value interface{})
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
HasResourceMove() interface{}
// Experimental.
ImportFrom(id *string, provider cdktf.TerraformProvider)
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Move the resource corresponding to "id" to this resource.
//
// Note that the resource being moved from must be marked as moved using it's instance function.
// Experimental.
MoveFromId(id *string)
// Moves this resource to the target resource given by moveTarget.
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Moves this resource to the resource corresponding to "id".
// Experimental.
MoveToId(id *string)
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutParameters(value *RabbitmqInstanceParameters)
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
ResetParameters()
SynthesizeAttributes() *map[string]interface{}
SynthesizeHclAttributes() *map[string]interface{}
// Experimental.
ToHclTerraform() interface{}
// Experimental.
ToMetadata() interface{}
// Returns a string representation of this construct.
ToString() *string
// Adds this resource to the terraform JSON output.
// Experimental.
ToTerraform() interface{}
}
Represents a {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance stackit_rabbitmq_instance}.
func NewRabbitmqInstance ¶
func NewRabbitmqInstance(scope constructs.Construct, id *string, config *RabbitmqInstanceConfig) RabbitmqInstance
Create a new {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance stackit_rabbitmq_instance} Resource.
type RabbitmqInstanceConfig ¶
type RabbitmqInstanceConfig struct {
// Experimental.
Connection interface{} `field:"optional" json:"connection" yaml:"connection"`
// Experimental.
Count interface{} `field:"optional" json:"count" yaml:"count"`
// Experimental.
DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"`
// Experimental.
ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"`
// Experimental.
Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"`
// Experimental.
Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"`
// Experimental.
Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"`
// Instance name.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#name RabbitmqInstance#name}
Name *string `field:"required" json:"name" yaml:"name"`
// The selected plan name.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#plan_name RabbitmqInstance#plan_name}
PlanName *string `field:"required" json:"planName" yaml:"planName"`
// STACKIT project ID to which the instance is associated.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#project_id RabbitmqInstance#project_id}
ProjectId *string `field:"required" json:"projectId" yaml:"projectId"`
// The service version.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#version RabbitmqInstance#version}
Version *string `field:"required" json:"version" yaml:"version"`
// Configuration parameters.
//
// Please note that removing a previously configured field from your Terraform configuration won't replace its value in the API. To update a previously configured field, explicitly set a new value for it.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#parameters RabbitmqInstance#parameters}
Parameters *RabbitmqInstanceParameters `field:"optional" json:"parameters" yaml:"parameters"`
}
type RabbitmqInstanceParameters ¶
type RabbitmqInstanceParameters struct {
// The timeout in milliseconds for the consumer.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#consumer_timeout RabbitmqInstance#consumer_timeout}
ConsumerTimeout *float64 `field:"optional" json:"consumerTimeout" yaml:"consumerTimeout"`
// Enable monitoring.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#enable_monitoring RabbitmqInstance#enable_monitoring}
EnableMonitoring interface{} `field:"optional" json:"enableMonitoring" yaml:"enableMonitoring"`
// Graphite server URL (host and port). If set, monitoring with Graphite will be enabled.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#graphite RabbitmqInstance#graphite}
Graphite *string `field:"optional" json:"graphite" yaml:"graphite"`
// The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#max_disk_threshold RabbitmqInstance#max_disk_threshold}
MaxDiskThreshold *float64 `field:"optional" json:"maxDiskThreshold" yaml:"maxDiskThreshold"`
// The frequency in seconds at which metrics are emitted.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#metrics_frequency RabbitmqInstance#metrics_frequency}
MetricsFrequency *float64 `field:"optional" json:"metricsFrequency" yaml:"metricsFrequency"`
// The prefix for the metrics.
//
// Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#metrics_prefix RabbitmqInstance#metrics_prefix}
MetricsPrefix *string `field:"optional" json:"metricsPrefix" yaml:"metricsPrefix"`
// The ID of the STACKIT monitoring instance.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#monitoring_instance_id RabbitmqInstance#monitoring_instance_id}
MonitoringInstanceId *string `field:"optional" json:"monitoringInstanceId" yaml:"monitoringInstanceId"`
// List of plugins to install. Must be a supported plugin name.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#plugins RabbitmqInstance#plugins}
Plugins *[]*string `field:"optional" json:"plugins" yaml:"plugins"`
// List of roles to assign to the instance.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#roles RabbitmqInstance#roles}
Roles *[]*string `field:"optional" json:"roles" yaml:"roles"`
// Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#sgw_acl RabbitmqInstance#sgw_acl}
SgwAcl *string `field:"optional" json:"sgwAcl" yaml:"sgwAcl"`
// List of syslog servers to send logs to.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#syslog RabbitmqInstance#syslog}
Syslog *[]*string `field:"optional" json:"syslog" yaml:"syslog"`
// List of TLS ciphers to use.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#tls_ciphers RabbitmqInstance#tls_ciphers}
TlsCiphers *[]*string `field:"optional" json:"tlsCiphers" yaml:"tlsCiphers"`
// TLS protocol to use.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/stackitcloud/stackit/0.38.1/docs/resources/rabbitmq_instance#tls_protocols RabbitmqInstance#tls_protocols}
TlsProtocols *string `field:"optional" json:"tlsProtocols" yaml:"tlsProtocols"`
}
type RabbitmqInstanceParametersOutputReference ¶
type RabbitmqInstanceParametersOutputReference interface {
cdktf.ComplexObject
// the index of the complex object in a list.
// Experimental.
ComplexObjectIndex() interface{}
// Experimental.
SetComplexObjectIndex(val interface{})
// set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.
// Experimental.
ComplexObjectIsFromSet() *bool
// Experimental.
SetComplexObjectIsFromSet(val *bool)
ConsumerTimeout() *float64
SetConsumerTimeout(val *float64)
ConsumerTimeoutInput() *float64
// The creation stack of this resolvable which will be appended to errors thrown during resolution.
//
// If this returns an empty array the stack will not be attached.
// Experimental.
CreationStack() *[]*string
EnableMonitoring() interface{}
SetEnableMonitoring(val interface{})
EnableMonitoringInput() interface{}
// Experimental.
Fqn() *string
Graphite() *string
SetGraphite(val *string)
GraphiteInput() *string
InternalValue() interface{}
SetInternalValue(val interface{})
MaxDiskThreshold() *float64
SetMaxDiskThreshold(val *float64)
MaxDiskThresholdInput() *float64
MetricsFrequency() *float64
SetMetricsFrequency(val *float64)
MetricsFrequencyInput() *float64
MetricsPrefix() *string
SetMetricsPrefix(val *string)
MetricsPrefixInput() *string
MonitoringInstanceId() *string
SetMonitoringInstanceId(val *string)
MonitoringInstanceIdInput() *string
Plugins() *[]*string
SetPlugins(val *[]*string)
PluginsInput() *[]*string
Roles() *[]*string
SetRoles(val *[]*string)
RolesInput() *[]*string
SgwAcl() *string
SetSgwAcl(val *string)
SgwAclInput() *string
Syslog() *[]*string
SetSyslog(val *[]*string)
SyslogInput() *[]*string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
TlsCiphers() *[]*string
SetTlsCiphers(val *[]*string)
TlsCiphersInput() *[]*string
TlsProtocols() *string
SetTlsProtocols(val *string)
TlsProtocolsInput() *string
// Experimental.
ComputeFqn() *string
// Experimental.
GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
// Experimental.
GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable
// Experimental.
GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
// Experimental.
GetListAttribute(terraformAttribute *string) *[]*string
// Experimental.
GetNumberAttribute(terraformAttribute *string) *float64
// Experimental.
GetNumberListAttribute(terraformAttribute *string) *[]*float64
// Experimental.
GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64
// Experimental.
GetStringAttribute(terraformAttribute *string) *string
// Experimental.
GetStringMapAttribute(terraformAttribute *string) *map[string]*string
// Experimental.
InterpolationAsList() cdktf.IResolvable
// Experimental.
InterpolationForAttribute(property *string) cdktf.IResolvable
ResetConsumerTimeout()
ResetEnableMonitoring()
ResetGraphite()
ResetMaxDiskThreshold()
ResetMetricsFrequency()
ResetMetricsPrefix()
ResetMonitoringInstanceId()
ResetPlugins()
ResetRoles()
ResetSgwAcl()
ResetSyslog()
ResetTlsCiphers()
ResetTlsProtocols()
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
func NewRabbitmqInstanceParametersOutputReference ¶
func NewRabbitmqInstanceParametersOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RabbitmqInstanceParametersOutputReference