Class: AWSCDK::ElasticBeanstalk::CfnConfigurationTemplate::SourceConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticBeanstalk::CfnConfigurationTemplate::SourceConfigurationProperty
- Defined in:
- elastic_beanstalk/cfn_configuration_template.rb
Overview
Use the SourceConfiguration property type to specify another AWS Elastic Beanstalk configuration template as the base to creating a new AWS::ElasticBeanstalk::ConfigurationTemplate resource in an AWS CloudFormation template.
An AWS Elastic Beanstalk configuration template to base a new one on. You can use it to define a AWS::ElasticBeanstalk::ConfigurationTemplate resource.
Instance Attribute Summary collapse
-
#application_name ⇒ String
readonly
The name of the application associated with the configuration.
-
#template_name ⇒ String
readonly
The name of the configuration template.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_name:, template_name:) ⇒ SourceConfigurationProperty
constructor
A new instance of SourceConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_name:, template_name:) ⇒ SourceConfigurationProperty
Returns a new instance of SourceConfigurationProperty.
659 660 661 662 663 664 |
# File 'elastic_beanstalk/cfn_configuration_template.rb', line 659 def initialize(application_name:, template_name:) @application_name = application_name Jsii::Type.check_type(@application_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationName") @template_name = template_name Jsii::Type.check_type(@template_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "templateName") end |
Instance Attribute Details
#application_name ⇒ String (readonly)
The name of the application associated with the configuration.
670 671 672 |
# File 'elastic_beanstalk/cfn_configuration_template.rb', line 670 def application_name @application_name end |
#template_name ⇒ String (readonly)
The name of the configuration template.
675 676 677 |
# File 'elastic_beanstalk/cfn_configuration_template.rb', line 675 def template_name @template_name end |
Class Method Details
.jsii_properties ⇒ Object
677 678 679 680 681 682 |
# File 'elastic_beanstalk/cfn_configuration_template.rb', line 677 def self.jsii_properties { :application_name => "applicationName", :template_name => "templateName", } end |
Instance Method Details
#to_jsii ⇒ Object
684 685 686 687 688 689 690 691 |
# File 'elastic_beanstalk/cfn_configuration_template.rb', line 684 def to_jsii result = {} result.merge!({ "applicationName" => @application_name, "templateName" => @template_name, }) result.compact end |