Public/Resource Property Types/Add-VSS3BucketStorageClassAnalysis.ps1

function Add-VSS3BucketStorageClassAnalysis {
    <#
    .SYNOPSIS
        Adds an AWS::S3::Bucket.StorageClassAnalysis resource property to the template

    .DESCRIPTION
        Adds an AWS::S3::Bucket.StorageClassAnalysis resource property to the template

    .LINK
        http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-storageclassanalysis.html
 
    .PARAMETER DataExport
        Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-storageclassanalysis.html#cfn-s3-bucket-storageclassanalysis-dataexport
        Required: False
        Type: DataExport
        UpdateType: Mutable
 
    .FUNCTIONALITY
        Vaporshell
    #>

    [OutputType('Vaporshell.Resource.S3.Bucket.StorageClassAnalysis')]
    [cmdletbinding()]
    Param
    (
        [parameter(Mandatory = $false)]
        $DataExport
    )
    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.S3.Bucket.StorageClassAnalysis'
    }
}