templates/exchange.template.yaml [2293:2575]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                  - '''"'
              waitAfterCompletion: '0'
          files:
            C:\cfn\scripts\Unzip-Archive.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Unzip-Archive.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\modules\AWSQuickStart.zip:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/modules/AWSQuickStart.zip
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Rename-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Rename-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Restart-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Restart-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Join-Domain.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Join-Domain.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Enable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Enable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Disable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Disable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchPrerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchPrerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Expand-Exchange.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Expand-Exchange.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-WindowsFailoverClustering.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-WindowsFailoverClustering.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-UcmaRuntime.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-UcmaRuntime.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchangeOrg.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchangeOrg.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchangeServer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchangeServer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Configure-UAC.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Configure-UAC.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Download-Prerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Download-Prerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-VisualCRuntime.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-VisualCRuntime.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-NetFramework.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-NetFramework.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Initialize-Disks.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Initialize-Disks.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-UrlRewrite.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-UrlRewrite.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
        configSets:
          config:
          - setup
          - Prep
          - Install
          - Cleanup
          - Finalize
    Properties:
      BlockDeviceMappings:
      - DeviceName: /dev/sda1
        Ebs:
          VolumeSize: 100
          VolumeType: gp2
      - DeviceName: /dev/xvdca
        VirtualName: ephemeral0
      EbsOptimized: true
      ImageId:
        !If
        - Exchange2016Selected
        - !Ref WS2016FULLBASE
        - !Ref WS2019FULLBASE
      IamInstanceProfile: !Ref ExchangeProfile
      InstanceType: !Ref ExchangeNodeInstanceType
      KeyName: !Ref KeyPairName
      NetworkInterfaces:
      - DeleteOnTermination: true
        DeviceIndex: '0'
        GroupSet:
        - !Ref DomainMemberSGID
        - !Ref ExchangeSecurityGroup
        - !Ref EXCHClientSecurityGroup
        PrivateIpAddresses:
        - Primary: true
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/exchange.template.yaml [3578:3860]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                  - '''"'
              waitAfterCompletion: '0'
          files:
            C:\cfn\scripts\Unzip-Archive.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Unzip-Archive.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\modules\AWSQuickStart.zip:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/modules/AWSQuickStart.zip
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Rename-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Rename-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Restart-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Restart-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Join-Domain.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Join-Domain.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Enable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Enable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Disable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Disable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchPrerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchPrerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Expand-Exchange.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Expand-Exchange.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-WindowsFailoverClustering.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-WindowsFailoverClustering.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-UcmaRuntime.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-UcmaRuntime.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchangeOrg.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchangeOrg.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchangeServer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchangeServer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Configure-UAC.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Configure-UAC.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Download-Prerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Download-Prerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-VisualCRuntime.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-VisualCRuntime.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-NetFramework.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-NetFramework.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Initialize-Disks.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Initialize-Disks.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-UrlRewrite.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-UrlRewrite.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
        configSets:
          config:
          - setup
          - Prep
          - Install
          - Cleanup
          - Finalize
    Properties:
      BlockDeviceMappings:
      - DeviceName: /dev/sda1
        Ebs:
          VolumeSize: 100
          VolumeType: gp2
      - DeviceName: /dev/xvdca
        VirtualName: ephemeral0
      EbsOptimized: true
      ImageId:
        !If
        - Exchange2016Selected
        - !Ref WS2016FULLBASE
        - !Ref WS2019FULLBASE
      IamInstanceProfile: !Ref ExchangeProfile
      InstanceType: !Ref ExchangeNodeInstanceType
      KeyName: !Ref KeyPairName
      NetworkInterfaces:
      - DeleteOnTermination: true
        DeviceIndex: '0'
        GroupSet:
        - !Ref DomainMemberSGID
        - !Ref ExchangeSecurityGroup
        - !Ref EXCHClientSecurityGroup
        PrivateIpAddresses:
        - Primary: true
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



