Class: AWSCDK::GameLift::CfnFleet::CertificateConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_type:) ⇒ CertificateConfigurationProperty

Returns a new instance of CertificateConfigurationProperty.

Parameters:

  • certificate_type (String)

    Indicates whether a TLS/SSL certificate is generated for a fleet.



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_typeString (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_propertiesObject



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_jsiiObject



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