Class: AWSCDK::OpenSearchService::CfnDomain::DeploymentStrategyOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
open_search_service/cfn_domain.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deployment_strategy: nil) ⇒ DeploymentStrategyOptionsProperty

Returns a new instance of DeploymentStrategyOptionsProperty.

Parameters:

  • deployment_strategy (String, nil) (defaults to: nil)


1429
1430
1431
1432
# File 'open_search_service/cfn_domain.rb', line 1429

def initialize(deployment_strategy: nil)
  @deployment_strategy = deployment_strategy
  Jsii::Type.check_type(@deployment_strategy, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "deploymentStrategy") unless @deployment_strategy.nil?
end

Instance Attribute Details

#deployment_strategyString? (readonly)



1436
1437
1438
# File 'open_search_service/cfn_domain.rb', line 1436

def deployment_strategy
  @deployment_strategy
end

Class Method Details

.jsii_propertiesObject



1438
1439
1440
1441
1442
# File 'open_search_service/cfn_domain.rb', line 1438

def self.jsii_properties
  {
    :deployment_strategy => "deploymentStrategy",
  }
end

Instance Method Details

#to_jsiiObject



1444
1445
1446
1447
1448
1449
1450
# File 'open_search_service/cfn_domain.rb', line 1444

def to_jsii
  result = {}
  result.merge!({
    "deploymentStrategy" => @deployment_strategy,
  })
  result.compact
end