Public/Resource Property Types/Add-VSCognitoUserPoolPolicies.ps1
function Add-VSCognitoUserPoolPolicies { <# .SYNOPSIS Adds an AWS::Cognito::UserPool.Policies resource property to the template .DESCRIPTION Adds an AWS::Cognito::UserPool.Policies resource property to the template .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html .PARAMETER PasswordPolicy Type: PasswordPolicy Required: False Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html#cfn-cognito-userpool-policies-passwordpolicy UpdateType: Mutable .FUNCTIONALITY Vaporshell #> [OutputType('Vaporshell.Resource.Cognito.UserPool.Policies')] [cmdletbinding()] [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword","PasswordPolicy")] [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingUserNameAndPasswordParams","")] Param ( [parameter(Mandatory = $false)] $PasswordPolicy ) Begin { $obj = [PSCustomObject]@{} } Process { foreach ($key in $PSBoundParameters.Keys) { $obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key } } End { $obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Cognito.UserPool.Policies' } } |