Public/Resource Property Types/Add-VSECSServiceDeploymentConfiguration.ps1
function Add-VSECSServiceDeploymentConfiguration { <# .SYNOPSIS Adds an AWS::ECS::Service.DeploymentConfiguration resource property to the template .DESCRIPTION Adds an AWS::ECS::Service.DeploymentConfiguration resource property to the template .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html .PARAMETER MaximumPercent Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-maximumpercent PrimitiveType: Integer Required: False UpdateType: Mutable .PARAMETER MinimumHealthyPercent Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-minimumhealthypercent PrimitiveType: Integer Required: False UpdateType: Mutable .FUNCTIONALITY Vaporshell #> [OutputType('Vaporshell.Resource.ECS.Service.DeploymentConfiguration')] [cmdletbinding()] Param ( [parameter(Mandatory = $false)] [Int] $MaximumPercent, [parameter(Mandatory = $false)] [Int] $MinimumHealthyPercent ) Begin { $obj = [PSCustomObject]@{} $commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') } Process { foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key } } End { $obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ECS.Service.DeploymentConfiguration' } } |