Class: AWSCDK::Evidently::CfnLaunch::LaunchGroupObjectProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Evidently::CfnLaunch::LaunchGroupObjectProperty
- Defined in:
- evidently/cfn_launch.rb
Overview
A structure that defines one launch group in a launch.
A launch group is a variation of the feature that you are including in the launch.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A description of the launch group.
-
#feature ⇒ String
readonly
The feature that this launch is using.
-
#group_name ⇒ String
readonly
A name for this launch group.
-
#variation ⇒ String
readonly
The feature variation to use for this launch group.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(feature:, group_name:, variation:, description: nil) ⇒ LaunchGroupObjectProperty
constructor
A new instance of LaunchGroupObjectProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(feature:, group_name:, variation:, description: nil) ⇒ LaunchGroupObjectProperty
Returns a new instance of LaunchGroupObjectProperty.
737 738 739 740 741 742 743 744 745 746 |
# File 'evidently/cfn_launch.rb', line 737 def initialize(feature:, group_name:, variation:, description: nil) @feature = feature Jsii::Type.check_type(@feature, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "feature") @group_name = group_name Jsii::Type.check_type(@group_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "groupName") @variation = variation Jsii::Type.check_type(@variation, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variation") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
A description of the launch group.
769 770 771 |
# File 'evidently/cfn_launch.rb', line 769 def description @description end |
#feature ⇒ String (readonly)
The feature that this launch is using.
752 753 754 |
# File 'evidently/cfn_launch.rb', line 752 def feature @feature end |
#group_name ⇒ String (readonly)
A name for this launch group.
It can include up to 127 characters.
759 760 761 |
# File 'evidently/cfn_launch.rb', line 759 def group_name @group_name end |
#variation ⇒ String (readonly)
The feature variation to use for this launch group.
764 765 766 |
# File 'evidently/cfn_launch.rb', line 764 def variation @variation end |
Class Method Details
.jsii_properties ⇒ Object
771 772 773 774 775 776 777 778 |
# File 'evidently/cfn_launch.rb', line 771 def self.jsii_properties { :feature => "feature", :group_name => "groupName", :variation => "variation", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
780 781 782 783 784 785 786 787 788 789 |
# File 'evidently/cfn_launch.rb', line 780 def to_jsii result = {} result.merge!({ "feature" => @feature, "groupName" => @group_name, "variation" => @variation, "description" => @description, }) result.compact end |