Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchRetryOptions.ps1
function Add-VSKinesisFirehoseDeliveryStreamElasticsearchRetryOptions { <# .SYNOPSIS Adds an AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions resource property to the template .DESCRIPTION Adds an AWS::KinesisFirehose::DeliveryStream.ElasticsearchRetryOptions resource property to the template .LINK http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchretryoptions.html .PARAMETER DurationInSeconds Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-elasticsearchretryoptions.html#cfn-kinesisfirehose-deliverystream-elasticsearchretryoptions-durationinseconds PrimitiveType: Integer Required: True UpdateType: Mutable .FUNCTIONALITY Vaporshell #> [OutputType('Vaporshell.Resource.KinesisFirehose.DeliveryStream.ElasticsearchRetryOptions')] [cmdletbinding()] Param ( [parameter(Mandatory = $true)] [Int] $DurationInSeconds ) 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.KinesisFirehose.DeliveryStream.ElasticsearchRetryOptions' } } |