Class: Convection::Model::Template::Resource::ApiGatewayDeployment
- Inherits:
-
Convection::Model::Template::Resource
- Object
- Convection::Model::Template::Resource
- Convection::Model::Template::Resource::ApiGatewayDeployment
- Defined in:
- lib/convection/model/template/resource/aws_api_gateway_deployment.rb
Overview
AWS::ApiGateway::Deployment
Instance Attribute Summary
Attributes inherited from Convection::Model::Template::Resource
#exist, #name, #parent, #properties, #resource_attributes, #template
Instance Method Summary collapse
- #description(value) ⇒ Object
- #method_response(&block) ⇒ Object
- #rest_api_id(value) ⇒ Object
- #stage_description(&block) ⇒ Object
- #stage_description_prop(value) ⇒ Object
- #stage_name(value) ⇒ Object
Methods inherited from Convection::Model::Template::Resource
#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, #render, type, #type, #with_output
Methods included from Mixin::Conditional
Methods included from DSL::Template::Resource
attach_resource, attach_resource_collection, resource_collection_dsl_methods, resource_dsl_methods
Methods included from DSL::Helpers
#camel_case, included, method_name, #screaming_snake_case, #snake_case
Methods included from DSL::IntrinsicFunctions
#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_import_value, #fn_not, #fn_or, #fn_ref, #fn_sub, #get_att, #get_azs, #join, #select
Constructor Details
This class inherits a constructor from Convection::Model::Template::Resource
Instance Method Details
#description ⇒ Object #description(value) ⇒ Object
12 |
# File 'lib/convection/model/template/resource/aws_api_gateway_deployment.rb', line 12 property :description, 'Description' |
#method_response(&block) ⇒ Object
23 24 25 26 27 |
# File 'lib/convection/model/template/resource/aws_api_gateway_deployment.rb', line 23 def method_response(&block) r = ResourceProperty::ApiGatewayMethodMethodResponse.new(self) r.instance_exec(&block) if block method_responses << r end |
#rest_api_id ⇒ Object #rest_api_id(value) ⇒ Object
13 |
# File 'lib/convection/model/template/resource/aws_api_gateway_deployment.rb', line 13 property :rest_api_id, 'RestApiId' |
#stage_description(&block) ⇒ Object
17 18 19 20 21 |
# File 'lib/convection/model/template/resource/aws_api_gateway_deployment.rb', line 17 def stage_description(&block) i = ResourceProperty::ApiGatewayDeploymentStageDescription.new(self) i.instance_exec(&block) if block properties['StageDescription'].set(i) end |
#stage_description_prop ⇒ Object #stage_description_prop(value) ⇒ Object
14 |
# File 'lib/convection/model/template/resource/aws_api_gateway_deployment.rb', line 14 property :stage_description_prop, 'StageDescription' |
#stage_name ⇒ Object #stage_name(value) ⇒ Object
15 |
# File 'lib/convection/model/template/resource/aws_api_gateway_deployment.rb', line 15 property :stage_name, 'StageName' |