Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig.ps1
function Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig { <# .SYNOPSIS Adds an AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig resource property to the template .DESCRIPTION Adds an AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig resource property to the template .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html .PARAMETER VolumeSpecification Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification Required: True Type: VolumeSpecification UpdateType: Mutable .PARAMETER VolumesPerInstance Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumesperinstance PrimitiveType: Integer Required: False UpdateType: Mutable .FUNCTIONALITY Vaporshell #> [OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.EbsBlockDeviceConfig')] [cmdletbinding()] Param ( [parameter(Mandatory = $true)] $VolumeSpecification, [parameter(Mandatory = $false)] [Int] $VolumesPerInstance ) Begin { $obj = [PSCustomObject]@{} } Process { foreach ($psParamKey in $PSBoundParameters.Keys) { $val = $((Get-Variable $psParamKey).Value) if ($val -eq "True") { $val = "true" } elseif ($val -eq "False") { $val = "false" } $obj | Add-Member -MemberType NoteProperty -Name $psParamKey -Value $val } } End { $obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.InstanceGroupConfig.EbsBlockDeviceConfig' } } |