Class: AWSCDK::CodeBuild::CfnProject::ProjectFleetProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CodeBuild::CfnProject::ProjectFleetProperty
- Defined in:
- code_build/cfn_project.rb
Overview
Information about the compute fleet of the build project.
For more information, see Working with reserved capacity in AWS CodeBuild .
Instance Attribute Summary collapse
-
#fleet_arn ⇒ String?
readonly
Specifies the compute fleet ARN for the build project.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fleet_arn: nil) ⇒ ProjectFleetProperty
constructor
A new instance of ProjectFleetProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fleet_arn: nil) ⇒ ProjectFleetProperty
Returns a new instance of ProjectFleetProperty.
1812 1813 1814 1815 |
# File 'code_build/cfn_project.rb', line 1812 def initialize(fleet_arn: nil) @fleet_arn = fleet_arn Jsii::Type.check_type(@fleet_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fleetArn") unless @fleet_arn.nil? end |
Instance Attribute Details
#fleet_arn ⇒ String? (readonly)
Specifies the compute fleet ARN for the build project.
1821 1822 1823 |
# File 'code_build/cfn_project.rb', line 1821 def fleet_arn @fleet_arn end |
Class Method Details
.jsii_properties ⇒ Object
1823 1824 1825 1826 1827 |
# File 'code_build/cfn_project.rb', line 1823 def self.jsii_properties { :fleet_arn => "fleetArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1829 1830 1831 1832 1833 1834 1835 |
# File 'code_build/cfn_project.rb', line 1829 def to_jsii result = {} result.merge!({ "fleetArn" => @fleet_arn, }) result.compact end |