Class: AWSCDK::GameLift::CfnFleet::CertificateConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GameLift::CfnFleet::CertificateConfigurationProperty
- Defined in:
- game_lift/cfn_fleet.rb
Overview
Determines whether a TLS/SSL certificate is generated for a fleet.
This feature must be enabled when creating the fleet. All instances in a fleet share the same certificate. The certificate can be retrieved by calling the GameLift Server SDK operation GetInstanceCertificate .
Instance Attribute Summary collapse
-
#certificate_type ⇒ String
readonly
Indicates whether a TLS/SSL certificate is generated for a fleet.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_type:) ⇒ CertificateConfigurationProperty
constructor
A new instance of CertificateConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_type:) ⇒ CertificateConfigurationProperty
Returns a new instance of CertificateConfigurationProperty.
978 979 980 981 |
# File 'game_lift/cfn_fleet.rb', line 978 def initialize(certificate_type:) @certificate_type = certificate_type Jsii::Type.check_type(@certificate_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateType") end |
Instance Attribute Details
#certificate_type ⇒ String (readonly)
Indicates whether a TLS/SSL certificate is generated for a fleet.
Valid values include:
- GENERATED - Generate a TLS/SSL certificate for this fleet.
- DISABLED - (default) Do not generate a TLS/SSL certificate for this fleet.
992 993 994 |
# File 'game_lift/cfn_fleet.rb', line 992 def certificate_type @certificate_type end |
Class Method Details
.jsii_properties ⇒ Object
994 995 996 997 998 |
# File 'game_lift/cfn_fleet.rb', line 994 def self.jsii_properties { :certificate_type => "certificateType", } end |
Instance Method Details
#to_jsii ⇒ Object
1000 1001 1002 1003 1004 1005 1006 |
# File 'game_lift/cfn_fleet.rb', line 1000 def to_jsii result = {} result.merge!({ "certificateType" => @certificate_type, }) result.compact end |