Module: Humidifier
- Defined in:
- lib/humidifier.rb,
lib/humidifier/fn.rb,
lib/humidifier/cli.rb,
lib/humidifier/ref.rb,
lib/humidifier/magic.rb,
lib/humidifier/props.rb,
lib/humidifier/stack.rb,
lib/humidifier/config.rb,
lib/humidifier/loader.rb,
lib/humidifier/output.rb,
lib/humidifier/mapping.rb,
lib/humidifier/upgrade.rb,
lib/humidifier/version.rb,
lib/humidifier/resource.rb,
lib/humidifier/condition.rb,
lib/humidifier/directory.rb,
lib/humidifier/parameter.rb,
lib/humidifier/serializer.rb,
lib/humidifier/config/mapper.rb,
lib/humidifier/config/mapping.rb
Overview
container module for all gem classes
Defined Under Namespace
Modules: ACMPCA, APS, ASK, AccessAnalyzer, AmazonMQ, Amplify, AmplifyUIBuilder, ApiGateway, ApiGatewayV2, AppConfig, AppFlow, AppIntegrations, AppMesh, AppRunner, AppStream, AppSync, ApplicationAutoScaling, ApplicationInsights, Athena, AuditManager, AutoScaling, AutoScalingPlans, Backup, Batch, BillingConductor, Budgets, CE, CUR, Cassandra, CertificateManager, Chatbot, Cloud9, CloudFormation, CloudFront, CloudTrail, CloudWatch, CodeArtifact, CodeBuild, CodeCommit, CodeDeploy, CodeGuruProfiler, CodeGuruReviewer, CodePipeline, CodeStar, CodeStarConnections, CodeStarNotifications, Cognito, Connect, CustomerProfiles, DAX, DLM, DMS, DataBrew, DataPipeline, DataSync, Detective, DevOpsGuru, DirectoryService, DocDB, DynamoDB, EC2, ECR, ECS, EFS, EKS, EMR, EMRContainers, EMRServerless, ElastiCache, ElasticBeanstalk, ElasticLoadBalancing, ElasticLoadBalancingV2, Elasticsearch, EventSchemas, Events, Evidently, FIS, FMS, FSx, FinSpace, Forecast, FraudDetector, GameLift, GlobalAccelerator, Glue, Greengrass, GreengrassV2, GroundStation, GuardDuty, HealthLake, IAM, IVS, ImageBuilder, Inspector, InspectorV2, IoT, IoT1Click, IoTAnalytics, IoTCoreDeviceAdvisor, IoTEvents, IoTFleetHub, IoTSiteWise, IoTThingsGraph, IoTTwinMaker, IoTWireless, KMS, KafkaConnect, Kendra, Kinesis, KinesisAnalytics, KinesisAnalyticsV2, KinesisFirehose, KinesisVideo, LakeFormation, Lambda, Lex, LicenseManager, Lightsail, Loader, Location, Logs, LookoutEquipment, LookoutMetrics, LookoutVision, MSK, MWAA, Macie, ManagedBlockchain, MediaConnect, MediaConvert, MediaLive, MediaPackage, MediaStore, MediaTailor, MemoryDB, Neptune, NetworkFirewall, NetworkManager, NimbleStudio, OpenSearchService, OpsWorks, OpsWorksCM, Panorama, Personalize, Pinpoint, PinpointEmail, Props, QLDB, QuickSight, RAM, RDS, RUM, Redshift, RefactorSpaces, Rekognition, ResilienceHub, ResourceGroups, RoboMaker, Route53, Route53RecoveryControl, Route53RecoveryReadiness, Route53Resolver, S3, S3ObjectLambda, S3Outposts, SDB, SES, SNS, SQS, SSM, SSMContacts, SSMIncidents, SSO, SageMaker, SecretsManager, SecurityHub, ServiceCatalog, ServiceCatalogAppRegistry, ServiceDiscovery, Signer, StepFunctions, Synthetics, Timestream, Transfer, VoiceID, WAF, WAFRegional, WAFv2, Wisdom, WorkSpaces, XRay Classes: CLI, Condition, Config, Directory, Error, Fn, Mapping, Output, Parameter, Ref, Resource, Serializer, Stack, Upgrade
Constant Summary collapse
- SPECIFICATION =
The file name of the specification for consistency.
"CloudFormationResourceSpecification.json"
- VERSION =
"4.1.1"
Class Method Summary collapse
-
.[](aws_name) ⇒ Object
convenience method for finding classes by AWS name.
-
.config ⇒ Object
the configuration instance.
-
.configure {|config| ... } ⇒ Object
yield the config object to the block for setting user params.
-
.fn ⇒ Object
convenience method for calling cloudformation functions.
-
.ref(reference) ⇒ Object
convenience method for creating references.
-
.registry ⇒ Object
the list of all registered resources.
-
.underscore(names) ⇒ Object
a frozen hash of the given names mapped to their underscored version.
Class Method Details
.[](aws_name) ⇒ Object
convenience method for finding classes by AWS name
58 59 60 |
# File 'lib/humidifier.rb', line 58 def [](aws_name) registry[aws_name] end |
.config ⇒ Object
the configuration instance
33 34 35 |
# File 'lib/humidifier.rb', line 33 def config @config ||= Config.new end |
.configure {|config| ... } ⇒ Object
yield the config object to the block for setting user params
38 39 40 |
# File 'lib/humidifier.rb', line 38 def configure yield config end |
.fn ⇒ Object
convenience method for calling cloudformation functions
43 44 45 |
# File 'lib/humidifier.rb', line 43 def fn Fn end |
.ref(reference) ⇒ Object
convenience method for creating references
48 49 50 |
# File 'lib/humidifier.rb', line 48 def ref(reference) Ref.new(reference) end |
.registry ⇒ Object
the list of all registered resources
53 54 55 |
# File 'lib/humidifier.rb', line 53 def registry @registry ||= {} end |
.underscore(names) ⇒ Object
a frozen hash of the given names mapped to their underscored version
63 64 65 |
# File 'lib/humidifier.rb', line 63 def underscore(names) names.to_h { |name| [name, name.underscore.to_sym] }.freeze end |