Public/Resource Property Types/Add-VSElasticBeanstalkApplicationMaxAgeRule.ps1
function Add-VSElasticBeanstalkApplicationMaxAgeRule { <# .SYNOPSIS Adds an AWS::ElasticBeanstalk::Application.MaxAgeRule resource property to the template .DESCRIPTION Adds an AWS::ElasticBeanstalk::Application.MaxAgeRule resource property to the template .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html .PARAMETER DeleteSourceFromS3 Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-deletesourcefroms3 PrimitiveType: Boolean Required: False UpdateType: Mutable .PARAMETER Enabled Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-enabled PrimitiveType: Boolean Required: False UpdateType: Mutable .PARAMETER MaxAgeInDays Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticbeanstalk-application-maxagerule.html#cfn-elasticbeanstalk-application-maxagerule-maxageindays PrimitiveType: Integer Required: False UpdateType: Mutable .FUNCTIONALITY Vaporshell #> [OutputType('Vaporshell.Resource.ElasticBeanstalk.Application.MaxAgeRule')] [cmdletbinding()] Param ( [parameter(Mandatory = $false)] [System.Boolean] $DeleteSourceFromS3, [parameter(Mandatory = $false)] [System.Boolean] $Enabled, [parameter(Mandatory = $false)] [Int] $MaxAgeInDays ) 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.ElasticBeanstalk.Application.MaxAgeRule' } } |