Documentation ¶
Overview ¶
Code generated by 'cfn generate', changes will be undone by the next invocation. DO NOT EDIT. Updates to this type are made my editing the schema file and executing the 'generate' command.
Code generated by 'cfn generate', changes will be undone by the next invocation. DO NOT EDIT. Updates to this type are made my editing the schema file and executing the 'generate' command.
Index ¶
- func Create(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func Delete(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func List(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func Read(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- func Update(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
- type ApiKeyDefinition
- type AutoScaling
- type AutoScalingCompute
- type AutoScalingProvider
- type AutoScalingProviderCompute
- type BiConnector
- type Labels
- type Model
- type ParameterToBePersistedSpec
- type ProviderSettings
- type RegionConfig
- type ReplicationSpec
- type TypeConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
Create handles the Create event from the Cloudformation service.
func Delete ¶
func Delete(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
Delete handles the Delete event from the Cloudformation service.
func List ¶
func List(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)
List NOOP
Types ¶
type ApiKeyDefinition ¶
type ApiKeyDefinition struct { PublicKey *string `json:",omitempty"` PrivateKey *string `json:",omitempty"` }
ApiKeyDefinition is autogenerated from the json schema
type AutoScaling ¶
type AutoScaling struct { Compute *AutoScalingCompute `json:",omitempty"` DiskGBEnabled *bool `json:",omitempty"` }
AutoScaling is autogenerated from the json schema
type AutoScalingCompute ¶
type AutoScalingCompute struct { Enabled *bool `json:",omitempty"` ScaleDownEnabled *bool `json:",omitempty"` }
AutoScalingCompute is autogenerated from the json schema
type AutoScalingProvider ¶
type AutoScalingProvider struct {
Compute *AutoScalingProviderCompute `json:",omitempty"`
}
AutoScalingProvider is autogenerated from the json schema
type AutoScalingProviderCompute ¶
type AutoScalingProviderCompute struct { MinInstanceSize *string `json:",omitempty"` MaxInstanceSize *string `json:",omitempty"` }
AutoScalingProviderCompute is autogenerated from the json schema
type BiConnector ¶
type BiConnector struct { ReadPreference *string `json:",omitempty"` Enabled *bool `json:",omitempty"` }
BiConnector is autogenerated from the json schema
type Model ¶
type Model struct { ApiKeys *ApiKeyDefinition `json:",omitempty"` AutoScaling *AutoScaling `json:",omitempty"` ClusterCfnIdentifier *string `json:",omitempty"` BackupEnabled *bool `json:",omitempty"` BiConnector *BiConnector `json:",omitempty"` ClusterType *string `json:",omitempty"` SrvConnectionString *string `json:",omitempty"` ConnectionString *string `json:",omitempty"` DiskSizeGB *float64 `json:",omitempty"` EncryptionAtRestProvider *string `json:",omitempty"` ProjectId *string `json:",omitempty"` Id *string `json:",omitempty"` Labels []Labels `json:",omitempty"` MongoDBVersion *string `json:",omitempty"` MongoDBMajorVersion *string `json:",omitempty"` MongoURI *string `json:",omitempty"` MongoURIUpdated *string `json:",omitempty"` MongoURIWithOptions *string `json:",omitempty"` Name *string `json:",omitempty"` NumShards *int `json:",omitempty"` Paused *bool `json:",omitempty"` PitEnabled *bool `json:",omitempty"` ProviderBackupEnabled *bool `json:",omitempty"` ProviderSettings *ProviderSettings `json:",omitempty"` ReplicationSpecs []ReplicationSpec `json:",omitempty"` SrvAddress *string `json:",omitempty"` StateName *string `json:",omitempty"` }
Model is autogenerated from the json schema
type ParameterToBePersistedSpec ¶
type ParameterToBePersistedSpec struct { ApiKeys *ApiKeyDefinition ProjectId *string ClusterName *string }
type ProviderSettings ¶
type ProviderSettings struct { AutoScaling *AutoScalingProvider `json:",omitempty"` BackingProviderName *string `json:",omitempty"` ProviderName *string `json:",omitempty"` DiskIOPS *int `json:",omitempty"` EncryptEBSVolume *bool `json:",omitempty"` InstanceSizeName *string `json:",omitempty"` RegionName *string `json:",omitempty"` VolumeType *string `json:",omitempty"` }
ProviderSettings is autogenerated from the json schema
type RegionConfig ¶
type RegionConfig struct { RegionName *string `json:",omitempty"` AnalyticsNodes *int `json:",omitempty"` ElectableNodes *int `json:",omitempty"` Priority *int `json:",omitempty"` ReadOnlyNodes *int `json:",omitempty"` }
RegionConfig is autogenerated from the json schema
type ReplicationSpec ¶
type ReplicationSpec struct { ID *string `json:",omitempty"` NumShards *int `json:",omitempty"` RegionsConfig []RegionConfig `json:",omitempty"` ZoneName *string `json:",omitempty"` }
ReplicationSpec is autogenerated from the json schema
type TypeConfiguration ¶
type TypeConfiguration struct { }
TypeConfiguration is autogenerated from the json schema
func Configuration ¶
func Configuration(req handler.Request) (*TypeConfiguration, error)
Configuration returns a resource's configuration.