Class: AWSCDK::EVS::CfnEnvironment::VcfHostnamesProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
evs/cfn_environment.rb

Overview

The DNS hostnames that Amazon EVS uses to install VMware vCenter Server, NSX, SDDC Manager, and Cloud Builder.

Each hostname must be unique, and resolve to a domain name that you've registered in your DNS service of choice. Hostnames cannot be changed.

VMware VCF requires the deployment of two NSX Edge nodes, and three NSX Manager virtual machines.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cloud_builder:, nsx:, nsx_edge1:, nsx_edge2:, nsx_manager1:, nsx_manager2:, nsx_manager3:, sddc_manager:, v_center:) ⇒ VcfHostnamesProperty

Returns a new instance of VcfHostnamesProperty.

Parameters:

  • cloud_builder (String)

    The hostname for VMware Cloud Builder.

  • nsx (String)

    The VMware NSX hostname.

  • nsx_edge1 (String)

    The hostname for the first NSX Edge node.

  • nsx_edge2 (String)

    The hostname for the second NSX Edge node.

  • nsx_manager1 (String)

    The hostname for the first VMware NSX Manager virtual machine (VM).

  • nsx_manager2 (String)

    The hostname for the second VMware NSX Manager virtual machine (VM).

  • nsx_manager3 (String)

    The hostname for the third VMware NSX Manager virtual machine (VM).

  • sddc_manager (String)

    The hostname for SDDC Manager.

  • v_center (String)

    The VMware vCenter hostname.



1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
# File 'evs/cfn_environment.rb', line 1286

def initialize(cloud_builder:, nsx:, nsx_edge1:, nsx_edge2:, nsx_manager1:, nsx_manager2:, nsx_manager3:, sddc_manager:, v_center:)
  @cloud_builder = cloud_builder
  Jsii::Type.check_type(@cloud_builder, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "cloudBuilder")
  @nsx = nsx
  Jsii::Type.check_type(@nsx, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nsx")
  @nsx_edge1 = nsx_edge1
  Jsii::Type.check_type(@nsx_edge1, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nsxEdge1")
  @nsx_edge2 = nsx_edge2
  Jsii::Type.check_type(@nsx_edge2, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nsxEdge2")
  @nsx_manager1 = nsx_manager1
  Jsii::Type.check_type(@nsx_manager1, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nsxManager1")
  @nsx_manager2 = nsx_manager2
  Jsii::Type.check_type(@nsx_manager2, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nsxManager2")
  @nsx_manager3 = nsx_manager3
  Jsii::Type.check_type(@nsx_manager3, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nsxManager3")
  @sddc_manager = sddc_manager
  Jsii::Type.check_type(@sddc_manager, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sddcManager")
  @v_center = v_center
  Jsii::Type.check_type(@v_center, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "vCenter")
end

Instance Attribute Details

#cloud_builderString (readonly)

The hostname for VMware Cloud Builder.



1311
1312
1313
# File 'evs/cfn_environment.rb', line 1311

def cloud_builder
  @cloud_builder
end

#nsxString (readonly)

The VMware NSX hostname.



1316
1317
1318
# File 'evs/cfn_environment.rb', line 1316

def nsx
  @nsx
end

#nsx_edge1String (readonly)

The hostname for the first NSX Edge node.



1321
1322
1323
# File 'evs/cfn_environment.rb', line 1321

def nsx_edge1
  @nsx_edge1
end

#nsx_edge2String (readonly)

The hostname for the second NSX Edge node.



1326
1327
1328
# File 'evs/cfn_environment.rb', line 1326

def nsx_edge2
  @nsx_edge2
end

#nsx_manager1String (readonly)

The hostname for the first VMware NSX Manager virtual machine (VM).



1331
1332
1333
# File 'evs/cfn_environment.rb', line 1331

def nsx_manager1
  @nsx_manager1
end

#nsx_manager2String (readonly)

The hostname for the second VMware NSX Manager virtual machine (VM).



1336
1337
1338
# File 'evs/cfn_environment.rb', line 1336

def nsx_manager2
  @nsx_manager2
end

#nsx_manager3String (readonly)

The hostname for the third VMware NSX Manager virtual machine (VM).



1341
1342
1343
# File 'evs/cfn_environment.rb', line 1341

def nsx_manager3
  @nsx_manager3
end

#sddc_managerString (readonly)

The hostname for SDDC Manager.



1346
1347
1348
# File 'evs/cfn_environment.rb', line 1346

def sddc_manager
  @sddc_manager
end

#v_centerString (readonly)

The VMware vCenter hostname.



1351
1352
1353
# File 'evs/cfn_environment.rb', line 1351

def v_center
  @v_center
end

Class Method Details

.jsii_propertiesObject



1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
# File 'evs/cfn_environment.rb', line 1353

def self.jsii_properties
  {
    :cloud_builder => "cloudBuilder",
    :nsx => "nsx",
    :nsx_edge1 => "nsxEdge1",
    :nsx_edge2 => "nsxEdge2",
    :nsx_manager1 => "nsxManager1",
    :nsx_manager2 => "nsxManager2",
    :nsx_manager3 => "nsxManager3",
    :sddc_manager => "sddcManager",
    :v_center => "vCenter",
  }
end

Instance Method Details

#to_jsiiObject



1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'evs/cfn_environment.rb', line 1367

def to_jsii
  result = {}
  result.merge!({
    "cloudBuilder" => @cloud_builder,
    "nsx" => @nsx,
    "nsxEdge1" => @nsx_edge1,
    "nsxEdge2" => @nsx_edge2,
    "nsxManager1" => @nsx_manager1,
    "nsxManager2" => @nsx_manager2,
    "nsxManager3" => @nsx_manager3,
    "sddcManager" => @sddc_manager,
    "vCenter" => @v_center,
  })
  result.compact
end