full_path
stringlengths 31
232
| filename
stringlengths 4
167
| content
stringlengths 0
48.3M
|
|---|---|---|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksInstanceTimeBasedAutoScaling.ps1
|
Add-VSOpsWorksInstanceTimeBasedAutoScaling.ps1
|
function Add-VSOpsWorksInstanceTimeBasedAutoScaling {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Instance.TimeBasedAutoScaling resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Instance.TimeBasedAutoScaling resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html
.PARAMETER Friday
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-friday
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Monday
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-monday
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Saturday
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-saturday
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Sunday
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-sunday
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Thursday
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-thursday
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Tuesday
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-tuesday
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Wednesday
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-timebasedautoscaling.html#cfn-opsworks-instance-timebasedautoscaling-wednesday
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Instance.TimeBasedAutoScaling')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Friday,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Monday,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Saturday,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Sunday,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Thursday,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Tuesday,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Wednesday
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.OpsWorks.Instance.TimeBasedAutoScaling'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelinePipelineStageDeclaration.ps1
|
Add-VSCodePipelinePipelineStageDeclaration.ps1
|
function Add-VSCodePipelinePipelineStageDeclaration {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::Pipeline.StageDeclaration resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::Pipeline.StageDeclaration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html
.PARAMETER Actions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html#cfn-codepipeline-pipeline-stages-actions
DuplicatesAllowed: False
ItemType: ActionDeclaration
Required: True
Type: List
UpdateType: Mutable
.PARAMETER Blockers
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html#cfn-codepipeline-pipeline-stages-blockers
DuplicatesAllowed: False
ItemType: BlockerDeclaration
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html#cfn-codepipeline-pipeline-stages-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.Pipeline.StageDeclaration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CodePipeline.Pipeline.ActionDeclaration"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Actions,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CodePipeline.Pipeline.BlockerDeclaration"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Blockers,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Name
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodePipeline.Pipeline.StageDeclaration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoUserPoolDeviceConfiguration.ps1
|
Add-VSCognitoUserPoolDeviceConfiguration.ps1
|
function Add-VSCognitoUserPoolDeviceConfiguration {
<#
.SYNOPSIS
Adds an AWS::Cognito::UserPool.DeviceConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::UserPool.DeviceConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-deviceconfiguration.html
.PARAMETER DeviceOnlyRememberedOnUserPrompt
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-deviceconfiguration.html#cfn-cognito-userpool-deviceconfiguration-deviceonlyrememberedonuserprompt
PrimitiveType: Boolean
UpdateType: Mutable
.PARAMETER ChallengeRequiredOnNewDevice
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-deviceconfiguration.html#cfn-cognito-userpool-deviceconfiguration-challengerequiredonnewdevice
PrimitiveType: Boolean
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.UserPool.DeviceConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$DeviceOnlyRememberedOnUserPrompt,
[parameter(Mandatory = $false)]
[System.Boolean]
$ChallengeRequiredOnNewDevice
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Cognito.UserPool.DeviceConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2NetworkInterfaceInstanceIpv6Address.ps1
|
Add-VSEC2NetworkInterfaceInstanceIpv6Address.ps1
|
function Add-VSEC2NetworkInterfaceInstanceIpv6Address {
<#
.SYNOPSIS
Adds an AWS::EC2::NetworkInterface.InstanceIpv6Address resource property to the template
.DESCRIPTION
Adds an AWS::EC2::NetworkInterface.InstanceIpv6Address resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-instanceipv6address.html
.PARAMETER Ipv6Address
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-instanceipv6address.html#cfn-ec2-networkinterface-instanceipv6address-ipv6address
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.NetworkInterface.InstanceIpv6Address')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Ipv6Address
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.NetworkInterface.InstanceIpv6Address'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionForwardedValues.ps1
|
Add-VSCloudFrontDistributionForwardedValues.ps1
|
function Add-VSCloudFrontDistributionForwardedValues {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.ForwardedValues resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.ForwardedValues resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html
.PARAMETER Cookies
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html#cfn-cloudfront-forwardedvalues-cookies
Required: False
Type: Cookies
UpdateType: Mutable
.PARAMETER Headers
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html#cfn-cloudfront-forwardedvalues-headers
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER QueryString
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html#cfn-cloudfront-forwardedvalues-querystring
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER QueryStringCacheKeys
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html#cfn-cloudfront-forwardedvalues-querystringcachekeys
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.ForwardedValues')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$Cookies,
[parameter(Mandatory = $false)]
$Headers,
[parameter(Mandatory = $true)]
[System.Boolean]
$QueryString,
[parameter(Mandatory = $false)]
$QueryStringCacheKeys
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CloudFront.Distribution.ForwardedValues'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoUserPoolPasswordPolicy.ps1
|
Add-VSCognitoUserPoolPasswordPolicy.ps1
|
function Add-VSCognitoUserPoolPasswordPolicy {
<#
.SYNOPSIS
Adds an AWS::Cognito::UserPool.PasswordPolicy resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::UserPool.PasswordPolicy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html
.PARAMETER RequireNumbers
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requirenumbers
PrimitiveType: Boolean
UpdateType: Mutable
.PARAMETER MinimumLength
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-minimumlength
PrimitiveType: Integer
UpdateType: Mutable
.PARAMETER RequireUppercase
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requireuppercase
PrimitiveType: Boolean
UpdateType: Mutable
.PARAMETER RequireLowercase
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requirelowercase
PrimitiveType: Boolean
UpdateType: Mutable
.PARAMETER RequireSymbols
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-passwordpolicy.html#cfn-cognito-userpool-passwordpolicy-requiresymbols
PrimitiveType: Boolean
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.UserPool.PasswordPolicy')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$RequireNumbers,
[parameter(Mandatory = $false)]
[Int]
$MinimumLength,
[parameter(Mandatory = $false)]
[System.Boolean]
$RequireUppercase,
[parameter(Mandatory = $false)]
[System.Boolean]
$RequireLowercase,
[parameter(Mandatory = $false)]
[System.Boolean]
$RequireSymbols
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Cognito.UserPool.PasswordPolicy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2InstanceNetworkInterface.ps1
|
Add-VSEC2InstanceNetworkInterface.ps1
|
function Add-VSEC2InstanceNetworkInterface {
<#
.SYNOPSIS
Adds an AWS::EC2::Instance.NetworkInterface resource property to the template
.DESCRIPTION
Adds an AWS::EC2::Instance.NetworkInterface resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html
.PARAMETER AssociatePublicIpAddress
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-associatepubip
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER DeleteOnTermination
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-delete
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Description
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-description
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER DeviceIndex
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-deviceindex
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER GroupSet
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-groupset
DuplicatesAllowed: True
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Ipv6AddressCount
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#cfn-ec2-instance-networkinterface-ipv6addresscount
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER Ipv6Addresses
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#cfn-ec2-instance-networkinterface-ipv6addresses
DuplicatesAllowed: True
ItemType: InstanceIpv6Address
Required: False
Type: List
UpdateType: Mutable
.PARAMETER NetworkInterfaceId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-network-iface
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER PrivateIpAddress
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-privateipaddress
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER PrivateIpAddresses
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-privateipaddresses
DuplicatesAllowed: True
ItemType: PrivateIpAddressSpecification
Required: False
Type: List
UpdateType: Mutable
.PARAMETER SecondaryPrivateIpAddressCount
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-secondprivateip
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER SubnetId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-iface-embedded.html#aws-properties-ec2-network-iface-embedded-subnetid
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.Instance.NetworkInterface')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$AssociatePublicIpAddress,
[parameter(Mandatory = $false)]
[System.Boolean]
$DeleteOnTermination,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Description,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$DeviceIndex,
[parameter(Mandatory = $false)]
$GroupSet,
[parameter(Mandatory = $false)]
[Int]
$Ipv6AddressCount,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.Instance.InstanceIpv6Address"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Ipv6Addresses,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$NetworkInterfaceId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$PrivateIpAddress,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.Instance.PrivateIpAddressSpecification"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$PrivateIpAddresses,
[parameter(Mandatory = $false)]
[Int]
$SecondaryPrivateIpAddressCount,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SubnetId
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.Instance.NetworkInterface'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketWebsiteConfiguration.ps1
|
Add-VSS3BucketWebsiteConfiguration.ps1
|
function Add-VSS3BucketWebsiteConfiguration {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.WebsiteConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.WebsiteConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html
.PARAMETER ErrorDocument
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-errordocument
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER IndexDocument
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-indexdocument
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER RedirectAllRequestsTo
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-redirectallrequeststo
Required: False
Type: RedirectAllRequestsTo
UpdateType: Mutable
.PARAMETER RoutingRules
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration.html#cfn-s3-websiteconfiguration-routingrules
DuplicatesAllowed: False
ItemType: RoutingRule
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.WebsiteConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ErrorDocument,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$IndexDocument,
[parameter(Mandatory = $false)]
$RedirectAllRequestsTo,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.S3.Bucket.RoutingRule"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RoutingRules
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.S3.Bucket.WebsiteConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupEC2TagFilter.ps1
|
Add-VSCodeDeployDeploymentGroupEC2TagFilter.ps1
|
function Add-VSCodeDeployDeploymentGroupEC2TagFilter {
<#
.SYNOPSIS
Adds an AWS::CodeDeploy::DeploymentGroup.EC2TagFilter resource property to the template
.DESCRIPTION
Adds an AWS::CodeDeploy::DeploymentGroup.EC2TagFilter resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilters.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilters.html#cfn-properties-codedeploy-deploymentgroup-ec2tagfilters-key
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilters.html#cfn-properties-codedeploy-deploymentgroup-ec2tagfilters-type
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-ec2tagfilters.html#cfn-properties-codedeploy-deploymentgroup-ec2tagfilters-value
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeDeploy.DeploymentGroup.EC2TagFilter')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Key,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Value
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodeDeploy.DeploymentGroup.EC2TagFilter'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerCertificate.ps1
|
Add-VSElasticLoadBalancingV2ListenerCertificate.ps1
|
function Add-VSElasticLoadBalancingV2ListenerCertificate {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancingV2::Listener.Certificate resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancingV2::Listener.Certificate resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-certificates.html
.PARAMETER CertificateArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-certificates.html#cfn-elasticloadbalancingv2-listener-certificates-certificatearn
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancingV2.Listener.Certificate')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CertificateArn
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElasticLoadBalancingV2.Listener.Certificate'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticsearchDomainEBSOptions.ps1
|
Add-VSElasticsearchDomainEBSOptions.ps1
|
function Add-VSElasticsearchDomainEBSOptions {
<#
.SYNOPSIS
Adds an AWS::Elasticsearch::Domain.EBSOptions resource property to the template
.DESCRIPTION
Adds an AWS::Elasticsearch::Domain.EBSOptions resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html
.PARAMETER EBSEnabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-ebsenabled
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Iops
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-iops
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER VolumeSize
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-volumesize
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER VolumeType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-ebsoptions.html#cfn-elasticsearch-domain-ebsoptions-volumetype
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Elasticsearch.Domain.EBSOptions')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$EBSEnabled,
[parameter(Mandatory = $false)]
[Int]
$Iops,
[parameter(Mandatory = $false)]
[Int]
$VolumeSize,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VolumeType
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Elasticsearch.Domain.EBSOptions'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketCorsRule.ps1
|
Add-VSS3BucketCorsRule.ps1
|
function Add-VSS3BucketCorsRule {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.CorsRule resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.CorsRule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html
.PARAMETER AllowedHeaders
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-allowedheaders
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER AllowedMethods
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-allowedmethods
DuplicatesAllowed: False
PrimitiveItemType: String
Required: True
Type: List
UpdateType: Mutable
.PARAMETER AllowedOrigins
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-allowedorigins
DuplicatesAllowed: False
PrimitiveItemType: String
Required: True
Type: List
UpdateType: Mutable
.PARAMETER ExposedHeaders
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-exposedheaders
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Id
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-id
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER MaxAge
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors-corsrule.html#cfn-s3-bucket-cors-corsrule-maxage
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.CorsRule')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$AllowedHeaders,
[parameter(Mandatory = $true)]
$AllowedMethods,
[parameter(Mandatory = $true)]
$AllowedOrigins,
[parameter(Mandatory = $false)]
$ExposedHeaders,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Id,
[parameter(Mandatory = $false)]
[Int]
$MaxAge
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.S3.Bucket.CorsRule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSApiGatewayMethodMethodResponse.ps1
|
Add-VSApiGatewayMethodMethodResponse.ps1
|
function Add-VSApiGatewayMethodMethodResponse {
<#
.SYNOPSIS
Adds an AWS::ApiGateway::Method.MethodResponse resource property to the template
.DESCRIPTION
Adds an AWS::ApiGateway::Method.MethodResponse resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html
.PARAMETER ResponseModels
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html#cfn-apigateway-method-methodresponse-responsemodels
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER ResponseParameters
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html#cfn-apigateway-method-methodresponse-responseparameters
DuplicatesAllowed: False
PrimitiveItemType: Boolean
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER StatusCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-methodresponse.html#cfn-apigateway-method-methodresponse-statuscode
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ApiGateway.Method.MethodResponse')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$ResponseModels,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$ResponseParameters,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$StatusCode
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ApiGateway.Method.MethodResponse'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksLayerRecipes.ps1
|
Add-VSOpsWorksLayerRecipes.ps1
|
function Add-VSOpsWorksLayerRecipes {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Layer.Recipes resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Layer.Recipes resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html
.PARAMETER Configure
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-configure
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Deploy
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-deploy
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Setup
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-setup
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Shutdown
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-shutdown
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Undeploy
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-recipes.html#cfn-opsworks-layer-customrecipes-undeploy
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Layer.Recipes')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$Configure,
[parameter(Mandatory = $false)]
$Deploy,
[parameter(Mandatory = $false)]
$Setup,
[parameter(Mandatory = $false)]
$Shutdown,
[parameter(Mandatory = $false)]
$Undeploy
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.OpsWorks.Layer.Recipes'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetSqlInjectionMatchTuple.ps1
|
Add-VSWAFSqlInjectionMatchSetSqlInjectionMatchTuple.ps1
|
function Add-VSWAFSqlInjectionMatchSetSqlInjectionMatchTuple {
<#
.SYNOPSIS
Adds an AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple resource property to the template
.DESCRIPTION
Adds an AWS::WAF::SqlInjectionMatchSet.SqlInjectionMatchTuple resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sqlinjectionmatchset-sqlinjectionmatchtuples.html
.PARAMETER FieldToMatch
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sqlinjectionmatchset-sqlinjectionmatchtuples.html#cfn-waf-sqlinjectionmatchset-sqlinjectionmatchtuples-fieldtomatch
Required: True
Type: FieldToMatch
UpdateType: Mutable
.PARAMETER TextTransformation
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sqlinjectionmatchset-sqlinjectionmatchtuples.html#cfn-waf-sqlinjectionmatchset-sqlinjectionmatchtuples-texttransformation
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.SqlInjectionMatchSet.SqlInjectionMatchTuple')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$FieldToMatch,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TextTransformation
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAF.SqlInjectionMatchSet.SqlInjectionMatchTuple'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSConfigConfigurationRecorderRecordingGroup.ps1
|
Add-VSConfigConfigurationRecorderRecordingGroup.ps1
|
function Add-VSConfigConfigurationRecorderRecordingGroup {
<#
.SYNOPSIS
Adds an AWS::Config::ConfigurationRecorder.RecordingGroup resource property to the template
.DESCRIPTION
Adds an AWS::Config::ConfigurationRecorder.RecordingGroup resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html
.PARAMETER AllSupported
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html#cfn-config-configurationrecorder-recordinggroup-allsupported
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER IncludeGlobalResourceTypes
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html#cfn-config-configurationrecorder-recordinggroup-includeglobalresourcetypes
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER ResourceTypes
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-recordinggroup.html#cfn-config-configurationrecorder-recordinggroup-resourcetypes
DuplicatesAllowed: True
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Config.ConfigurationRecorder.RecordingGroup')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$AllSupported,
[parameter(Mandatory = $false)]
[System.Boolean]
$IncludeGlobalResourceTypes,
[parameter(Mandatory = $false)]
$ResourceTypes
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Config.ConfigurationRecorder.RecordingGroup'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2InstanceNoDevice.ps1
|
Add-VSEC2InstanceNoDevice.ps1
|
function Add-VSEC2InstanceNoDevice {
<#
.SYNOPSIS
Adds an AWS::EC2::Instance.NoDevice resource property to the template
.DESCRIPTION
Adds an AWS::EC2::Instance.NoDevice resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-nodevice.html
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.Instance.NoDevice')]
[cmdletbinding()]
Param
(
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.Instance.NoDevice'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSDynamoDBTableGlobalSecondaryIndex.ps1
|
Add-VSDynamoDBTableGlobalSecondaryIndex.ps1
|
function Add-VSDynamoDBTableGlobalSecondaryIndex {
<#
.SYNOPSIS
Adds an AWS::DynamoDB::Table.GlobalSecondaryIndex resource property to the template
.DESCRIPTION
Adds an AWS::DynamoDB::Table.GlobalSecondaryIndex resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html
.PARAMETER IndexName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-indexname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER KeySchema
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-keyschema
DuplicatesAllowed: True
ItemType: KeySchema
Required: True
Type: List
UpdateType: Mutable
.PARAMETER Projection
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-projection
Required: True
Type: Projection
UpdateType: Mutable
.PARAMETER ProvisionedThroughput
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-gsi.html#cfn-dynamodb-gsi-provisionedthroughput
Required: True
Type: ProvisionedThroughput
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.DynamoDB.Table.GlobalSecondaryIndex')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$IndexName,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.DynamoDB.Table.KeySchema"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$KeySchema,
[parameter(Mandatory = $true)]
$Projection,
[parameter(Mandatory = $true)]
$ProvisionedThroughput
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.DynamoDB.Table.GlobalSecondaryIndex'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFSizeConstraintSetSizeConstraint.ps1
|
Add-VSWAFSizeConstraintSetSizeConstraint.ps1
|
function Add-VSWAFSizeConstraintSetSizeConstraint {
<#
.SYNOPSIS
Adds an AWS::WAF::SizeConstraintSet.SizeConstraint resource property to the template
.DESCRIPTION
Adds an AWS::WAF::SizeConstraintSet.SizeConstraint resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html
.PARAMETER ComparisonOperator
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-comparisonoperator
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER FieldToMatch
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch
Required: True
Type: FieldToMatch
UpdateType: Mutable
.PARAMETER Size
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-size
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER TextTransformation
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-sizeconstraintset-sizeconstraint.html#cfn-waf-sizeconstraintset-sizeconstraint-texttransformation
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.SizeConstraintSet.SizeConstraint')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ComparisonOperator,
[parameter(Mandatory = $true)]
$FieldToMatch,
[parameter(Mandatory = $true)]
[Int]
$Size,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TextTransformation
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAF.SizeConstraintSet.SizeConstraint'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksStackSource.ps1
|
Add-VSOpsWorksStackSource.ps1
|
function Add-VSOpsWorksStackSource {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Stack.Source resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Stack.Source resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html
.PARAMETER Password
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-password
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Revision
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-revision
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SshKey
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-sshkey
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-type
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Url
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-url
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Username
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-username
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Stack.Source')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Password,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Revision,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SshKey,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Url,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Username
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.OpsWorks.Stack.Source'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupGitHubLocation.ps1
|
Add-VSCodeDeployDeploymentGroupGitHubLocation.ps1
|
function Add-VSCodeDeployDeploymentGroupGitHubLocation {
<#
.SYNOPSIS
Adds an AWS::CodeDeploy::DeploymentGroup.GitHubLocation resource property to the template
.DESCRIPTION
Adds an AWS::CodeDeploy::DeploymentGroup.GitHubLocation resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html
.PARAMETER CommitId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-githublocation-commitid
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Repository
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-githublocation.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-githublocation-repository
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeDeploy.DeploymentGroup.GitHubLocation')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CommitId,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Repository
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodeDeploy.DeploymentGroup.GitHubLocation'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSGameLiftFleetIpPermission.ps1
|
Add-VSGameLiftFleetIpPermission.ps1
|
function Add-VSGameLiftFleetIpPermission {
<#
.SYNOPSIS
Adds an AWS::GameLift::Fleet.IpPermission resource property to the template
.DESCRIPTION
Adds an AWS::GameLift::Fleet.IpPermission resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ec2inboundpermission.html
.PARAMETER FromPort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ec2inboundpermission.html#cfn-gamelift-fleet-ec2inboundpermissions-fromport
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER IpRange
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ec2inboundpermission.html#cfn-gamelift-fleet-ec2inboundpermissions-iprange
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Protocol
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ec2inboundpermission.html#cfn-gamelift-fleet-ec2inboundpermissions-protocol
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER ToPort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-ec2inboundpermission.html#cfn-gamelift-fleet-ec2inboundpermissions-toport
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.GameLift.Fleet.IpPermission')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[Int]
$FromPort,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$IpRange,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Protocol,
[parameter(Mandatory = $true)]
[Int]
$ToPort
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.GameLift.Fleet.IpPermission'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetLaunchSpecification.ps1
|
Add-VSEC2SpotFleetSpotFleetLaunchSpecification.ps1
|
function Add-VSEC2SpotFleetSpotFleetLaunchSpecification {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.SpotFleetLaunchSpecification resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.SpotFleetLaunchSpecification resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html
.PARAMETER BlockDeviceMappings
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-blockdevicemappings
DuplicatesAllowed: False
ItemType: BlockDeviceMapping
Required: False
Type: List
UpdateType: Mutable
.PARAMETER EbsOptimized
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-ebsoptimized
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER IamInstanceProfile
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-iaminstanceprofile
Required: False
Type: IamInstanceProfileSpecification
UpdateType: Mutable
.PARAMETER ImageId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-imageid
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER InstanceType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-instancetype
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER KernelId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-kernelid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER KeyName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-keyname
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Monitoring
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-monitoring
Required: False
Type: SpotFleetMonitoring
UpdateType: Mutable
.PARAMETER NetworkInterfaces
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-networkinterfaces
DuplicatesAllowed: False
ItemType: InstanceNetworkInterfaceSpecification
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Placement
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-placement
Required: False
Type: SpotPlacement
UpdateType: Mutable
.PARAMETER RamdiskId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-ramdiskid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SecurityGroups
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-securitygroups
DuplicatesAllowed: False
ItemType: GroupIdentifier
Required: False
Type: List
UpdateType: Mutable
.PARAMETER SpotPrice
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-spotprice
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SubnetId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-subnetid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER UserData
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-userdata
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER WeightedCapacity
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-spotfleetlaunchspecification-weightedcapacity
PrimitiveType: Double
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.SpotFleetLaunchSpecification')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.SpotFleet.BlockDeviceMapping"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$BlockDeviceMappings,
[parameter(Mandatory = $false)]
[System.Boolean]
$EbsOptimized,
[parameter(Mandatory = $false)]
$IamInstanceProfile,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ImageId,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$InstanceType,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$KernelId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$KeyName,
[parameter(Mandatory = $false)]
$Monitoring,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.SpotFleet.InstanceNetworkInterfaceSpecification"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$NetworkInterfaces,
[parameter(Mandatory = $false)]
$Placement,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RamdiskId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.SpotFleet.GroupIdentifier"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SecurityGroups,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SpotPrice,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SubnetId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$UserData,
[parameter(Mandatory = $false)]
[System.Double]
$WeightedCapacity
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.SpotFleet.SpotFleetLaunchSpecification'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksLayerLoadBasedAutoScaling.ps1
|
Add-VSOpsWorksLayerLoadBasedAutoScaling.ps1
|
function Add-VSOpsWorksLayerLoadBasedAutoScaling {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Layer.LoadBasedAutoScaling resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Layer.LoadBasedAutoScaling resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html
.PARAMETER DownScaling
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-downscaling
Required: False
Type: AutoScalingThresholds
UpdateType: Mutable
.PARAMETER Enable
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-enable
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER UpScaling
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-loadbasedautoscaling.html#cfn-opsworks-layer-loadbasedautoscaling-upscaling
Required: False
Type: AutoScalingThresholds
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Layer.LoadBasedAutoScaling')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$DownScaling,
[parameter(Mandatory = $false)]
[System.Boolean]
$Enable,
[parameter(Mandatory = $false)]
$UpScaling
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.OpsWorks.Layer.LoadBasedAutoScaling'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterSimpleScalingPolicyConfiguration.ps1
|
Add-VSEMRClusterSimpleScalingPolicyConfiguration.ps1
|
function Add-VSEMRClusterSimpleScalingPolicyConfiguration {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.SimpleScalingPolicyConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.SimpleScalingPolicyConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html
.PARAMETER AdjustmentType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-adjustmenttype
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER CoolDown
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-cooldown
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER ScalingAdjustment
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-simplescalingpolicyconfiguration.html#cfn-elasticmapreduce-cluster-simplescalingpolicyconfiguration-scalingadjustment
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.SimpleScalingPolicyConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$AdjustmentType,
[parameter(Mandatory = $false)]
[Int]
$CoolDown,
[parameter(Mandatory = $true)]
[Int]
$ScalingAdjustment
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Cluster.SimpleScalingPolicyConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRoute53RecordSetGroupGeoLocation.ps1
|
Add-VSRoute53RecordSetGroupGeoLocation.ps1
|
function Add-VSRoute53RecordSetGroupGeoLocation {
<#
.SYNOPSIS
Adds an AWS::Route53::RecordSetGroup.GeoLocation resource property to the template
.DESCRIPTION
Adds an AWS::Route53::RecordSetGroup.GeoLocation resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html
.PARAMETER ContinentCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html#cfn-route53-recordsetgroup-geolocation-continentcode
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER CountryCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html#cfn-route53-recordset-geolocation-countrycode
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SubdivisionCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html#cfn-route53-recordset-geolocation-subdivisioncode
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Route53.RecordSetGroup.GeoLocation')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ContinentCode,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CountryCode,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SubdivisionCode
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Route53.RecordSetGroup.GeoLocation'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigCloudWatchAlarmDefinition.ps1
|
Add-VSEMRInstanceGroupConfigCloudWatchAlarmDefinition.ps1
|
function Add-VSEMRInstanceGroupConfigCloudWatchAlarmDefinition {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.CloudWatchAlarmDefinition resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html
.PARAMETER ComparisonOperator
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-comparisonoperator
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Dimensions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-dimensions
DuplicatesAllowed: False
ItemType: MetricDimension
Required: False
Type: List
UpdateType: Mutable
.PARAMETER EvaluationPeriods
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-evaluationperiods
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER MetricName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-metricname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Namespace
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-namespace
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Period
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-period
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER Statistic
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-statistic
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Threshold
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-threshold
PrimitiveType: Double
Required: True
UpdateType: Mutable
.PARAMETER Unit
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-instancegroupconfig-cloudwatchalarmdefinition-unit
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.CloudWatchAlarmDefinition')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ComparisonOperator,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.InstanceGroupConfig.MetricDimension"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Dimensions,
[parameter(Mandatory = $false)]
[Int]
$EvaluationPeriods,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$MetricName,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Namespace,
[parameter(Mandatory = $true)]
[Int]
$Period,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Statistic,
[parameter(Mandatory = $true)]
[System.Double]
$Threshold,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Unit
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.InstanceGroupConfig.CloudWatchAlarmDefinition'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerHealthCheck.ps1
|
Add-VSElasticLoadBalancingLoadBalancerHealthCheck.ps1
|
function Add-VSElasticLoadBalancingLoadBalancerHealthCheck {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancing::LoadBalancer.HealthCheck resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-health-check.html
.PARAMETER HealthyThreshold
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-health-check.html#cfn-elb-healthcheck-healthythreshold
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Interval
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-health-check.html#cfn-elb-healthcheck-interval
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Target
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-health-check.html#cfn-elb-healthcheck-target
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Timeout
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-health-check.html#cfn-elb-healthcheck-timeout
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER UnhealthyThreshold
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-health-check.html#cfn-elb-healthcheck-unhealthythreshold
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.HealthCheck')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$HealthyThreshold,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Interval,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Target,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Timeout,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$UnhealthyThreshold
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.HealthCheck'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsConfiguration.ps1
|
Add-VSEMRInstanceGroupConfigEbsConfiguration.ps1
|
function Add-VSEMRInstanceGroupConfigEbsConfiguration {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.EbsConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.EbsConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html
.PARAMETER EbsBlockDeviceConfigs
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfigs
DuplicatesAllowed: False
ItemType: EbsBlockDeviceConfig
Required: False
Type: List
UpdateType: Mutable
.PARAMETER EbsOptimized
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html#cfn-emr-ebsconfiguration-ebsoptimized
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.EbsConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.InstanceGroupConfig.EbsBlockDeviceConfig"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$EbsBlockDeviceConfigs,
[parameter(Mandatory = $false)]
[System.Boolean]
$EbsOptimized
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.InstanceGroupConfig.EbsConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalIPSetIPSetDescriptor.ps1
|
Add-VSWAFRegionalIPSetIPSetDescriptor.ps1
|
function Add-VSWAFRegionalIPSetIPSetDescriptor {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::IPSet.IPSetDescriptor resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::IPSet.IPSetDescriptor resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html
.PARAMETER Type
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html#cfn-wafregional-ipset-ipsetdescriptor-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Value
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html#cfn-wafregional-ipset-ipsetdescriptor-value
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.IPSet.IPSetDescriptor')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Value
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAFRegional.IPSet.IPSetDescriptor'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionCustomErrorResponse.ps1
|
Add-VSCloudFrontDistributionCustomErrorResponse.ps1
|
function Add-VSCloudFrontDistributionCustomErrorResponse {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.CustomErrorResponse resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.CustomErrorResponse resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-customerrorresponse.html
.PARAMETER ErrorCachingMinTTL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-customerrorresponse.html#cfn-cloudfront-distributionconfig-customerrorresponse-errorcachingminttl
PrimitiveType: Long
Required: False
UpdateType: Mutable
.PARAMETER ErrorCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-customerrorresponse.html#cfn-cloudfront-distributionconfig-customerrorresponse-errorcode
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER ResponseCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-customerrorresponse.html#cfn-cloudfront-distributionconfig-customerrorresponse-responsecode
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER ResponsePagePath
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-customerrorresponse.html#cfn-cloudfront-distributionconfig-customerrorresponse-responsepagepath
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.CustomErrorResponse')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$ErrorCachingMinTTL,
[parameter(Mandatory = $true)]
[Int]
$ErrorCode,
[parameter(Mandatory = $false)]
[Int]
$ResponseCode,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ResponsePagePath
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CloudFront.Distribution.CustomErrorResponse'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketRule.ps1
|
Add-VSS3BucketRule.ps1
|
function Add-VSS3BucketRule {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.Rule resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.Rule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html
.PARAMETER ExpirationDate
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-expirationdate
PrimitiveType: Timestamp
Required: False
UpdateType: Mutable
.PARAMETER ExpirationInDays
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-expirationindays
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER Id
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-id
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER NoncurrentVersionExpirationInDays
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversionexpirationindays
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER NoncurrentVersionTransition
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition
Required: False
Type: NoncurrentVersionTransition
UpdateType: Mutable
.PARAMETER NoncurrentVersionTransitions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransitions
Required: False
Type: NoncurrentVersionTransition
UpdateType: Mutable
.PARAMETER Prefix
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-prefix
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Status
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-status
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Transition
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-transition
Required: False
Type: Transition
UpdateType: Mutable
.PARAMETER Transitions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule.html#cfn-s3-bucket-lifecycleconfig-rule-transitions
Required: False
Type: Transition
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.Rule')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$ExpirationDate,
[parameter(Mandatory = $false)]
[Int]
$ExpirationInDays,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Id,
[parameter(Mandatory = $false)]
[Int]
$NoncurrentVersionExpirationInDays,
[parameter(Mandatory = $false)]
$NoncurrentVersionTransition,
[parameter(Mandatory = $false)]
$NoncurrentVersionTransitions,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Prefix,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Status,
[parameter(Mandatory = $false)]
$Transition,
[parameter(Mandatory = $false)]
$Transitions
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.S3.Bucket.Rule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterConfiguration.ps1
|
Add-VSEMRClusterConfiguration.ps1
|
function Add-VSEMRClusterConfiguration {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.Configuration resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.Configuration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html
.PARAMETER Classification
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html#cfn-emr-cluster-configuration-classification
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER ConfigurationProperties
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html#cfn-emr-cluster-configuration-configurationproperties
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Configurations
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-configuration.html#cfn-emr-cluster-configuration-configurations
DuplicatesAllowed: False
ItemType: Configuration
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.Configuration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Classification,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$ConfigurationProperties,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.Cluster.Configuration"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Configurations
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Cluster.Configuration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSServicePlacementConstraint.ps1
|
Add-VSECSServicePlacementConstraint.ps1
|
function Add-VSECSServicePlacementConstraint {
<#
.SYNOPSIS
Adds an AWS::ECS::Service.PlacementConstraint resource property to the template
.DESCRIPTION
Adds an AWS::ECS::Service.PlacementConstraint resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementconstraint.html
.PARAMETER Expression
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementconstraint.html#cfn-ecs-service-placementconstraint-expression
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementconstraint.html#cfn-ecs-service-placementconstraint-type
PrimitiveType: String
Required: True
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.Service.PlacementConstraint')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Expression,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ECS.Service.PlacementConstraint'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamEncryptionConfiguration.ps1
|
Add-VSKinesisFirehoseDeliveryStreamEncryptionConfiguration.ps1
|
function Add-VSKinesisFirehoseDeliveryStreamEncryptionConfiguration {
<#
.SYNOPSIS
Adds an AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::KinesisFirehose::DeliveryStream.EncryptionConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration.html
.PARAMETER KMSEncryptionConfig
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration-kmsencryptionconfig
Required: False
Type: KMSEncryptionConfig
UpdateType: Mutable
.PARAMETER NoEncryptionConfig
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration-noencryptionconfig
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.KinesisFirehose.DeliveryStream.EncryptionConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$KMSEncryptionConfig,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$NoEncryptionConfig
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.KinesisFirehose.DeliveryStream.EncryptionConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeArtifactDetails.ps1
|
Add-VSCodePipelineCustomActionTypeArtifactDetails.ps1
|
function Add-VSCodePipelineCustomActionTypeArtifactDetails {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::CustomActionType.ArtifactDetails resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::CustomActionType.ArtifactDetails resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html
.PARAMETER MaximumCount
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html#cfn-codepipeline-customactiontype-artifactdetails-maximumcount
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER MinimumCount
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html#cfn-codepipeline-customactiontype-artifactdetails-minimumcount
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.CustomActionType.ArtifactDetails')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[Int]
$MaximumCount,
[parameter(Mandatory = $true)]
[Int]
$MinimumCount
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodePipeline.CustomActionType.ArtifactDetails'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterPlacementType.ps1
|
Add-VSEMRClusterPlacementType.ps1
|
function Add-VSEMRClusterPlacementType {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.PlacementType resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.PlacementType resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig-placementtype.html
.PARAMETER AvailabilityZone
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig-placementtype.html#aws-properties-emr-cluster-jobflowinstancesconfig-placementtype
PrimitiveType: String
Required: True
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.PlacementType')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$AvailabilityZone
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Cluster.PlacementType'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSApiGatewayDeploymentMethodSetting.ps1
|
Add-VSApiGatewayDeploymentMethodSetting.ps1
|
function Add-VSApiGatewayDeploymentMethodSetting {
<#
.SYNOPSIS
Adds an AWS::ApiGateway::Deployment.MethodSetting resource property to the template
.DESCRIPTION
Adds an AWS::ApiGateway::Deployment.MethodSetting resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html
.PARAMETER CacheDataEncrypted
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachedataencrypted
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER CacheTtlInSeconds
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachettlinseconds
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER CachingEnabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-cachingenabled
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER DataTraceEnabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-datatraceenabled
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER HttpMethod
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-httpmethod
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER LoggingLevel
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-logginglevel
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER MetricsEnabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-metricsenabled
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER ResourcePath
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-resourcepath
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER ThrottlingBurstLimit
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-throttlingburstlimit
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER ThrottlingRateLimit
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-deployment-stagedescription-methodsetting.html#cfn-apigateway-deployment-stagedescription-methodsetting-throttlingratelimit
PrimitiveType: Double
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ApiGateway.Deployment.MethodSetting')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$CacheDataEncrypted,
[parameter(Mandatory = $false)]
[Int]
$CacheTtlInSeconds,
[parameter(Mandatory = $false)]
[System.Boolean]
$CachingEnabled,
[parameter(Mandatory = $false)]
[System.Boolean]
$DataTraceEnabled,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$HttpMethod,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$LoggingLevel,
[parameter(Mandatory = $false)]
[System.Boolean]
$MetricsEnabled,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ResourcePath,
[parameter(Mandatory = $false)]
[Int]
$ThrottlingBurstLimit,
[parameter(Mandatory = $false)]
[System.Double]
$ThrottlingRateLimit
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ApiGateway.Deployment.MethodSetting'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticsearchDomainElasticsearchClusterConfig.ps1
|
Add-VSElasticsearchDomainElasticsearchClusterConfig.ps1
|
function Add-VSElasticsearchDomainElasticsearchClusterConfig {
<#
.SYNOPSIS
Adds an AWS::Elasticsearch::Domain.ElasticsearchClusterConfig resource property to the template
.DESCRIPTION
Adds an AWS::Elasticsearch::Domain.ElasticsearchClusterConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html
.PARAMETER DedicatedMasterCount
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmastercount
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER DedicatedMasterEnabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmasterenabled
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER DedicatedMasterType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-dedicatedmastertype
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER InstanceCount
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-instancecount
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER InstanceType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-instnacetype
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER ZoneAwarenessEnabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-elasticsearchclusterconfig.html#cfn-elasticsearch-domain-elasticseachclusterconfig-zoneawarenessenabled
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Elasticsearch.Domain.ElasticsearchClusterConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$DedicatedMasterCount,
[parameter(Mandatory = $false)]
[System.Boolean]
$DedicatedMasterEnabled,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$DedicatedMasterType,
[parameter(Mandatory = $false)]
[Int]
$InstanceCount,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$InstanceType,
[parameter(Mandatory = $false)]
[System.Boolean]
$ZoneAwarenessEnabled
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Elasticsearch.Domain.ElasticsearchClusterConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelinePipelineActionDeclaration.ps1
|
Add-VSCodePipelinePipelineActionDeclaration.ps1
|
function Add-VSCodePipelinePipelineActionDeclaration {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::Pipeline.ActionDeclaration resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::Pipeline.ActionDeclaration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html
.PARAMETER ActionTypeId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-actiontypeid
Required: True
Type: ActionTypeId
UpdateType: Mutable
.PARAMETER Configuration
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-configuration
PrimitiveType: Json
Required: False
UpdateType: Mutable
.PARAMETER InputArtifacts
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-inputartifacts
DuplicatesAllowed: False
ItemType: InputArtifact
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER OutputArtifacts
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-outputartifacts
DuplicatesAllowed: False
ItemType: OutputArtifact
Required: False
Type: List
UpdateType: Mutable
.PARAMETER RoleArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-rolearn
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER RunOrder
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html#cfn-codepipeline-pipeline-stages-actions-runorder
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.Pipeline.ActionDeclaration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$ActionTypeId,
[parameter(Mandatory = $false)]
$Configuration,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CodePipeline.Pipeline.InputArtifact"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$InputArtifacts,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Name,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CodePipeline.Pipeline.OutputArtifact"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$OutputArtifacts,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RoleArn,
[parameter(Mandatory = $false)]
[Int]
$RunOrder
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodePipeline.Pipeline.ActionDeclaration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2NetworkAclEntryIcmp.ps1
|
Add-VSEC2NetworkAclEntryIcmp.ps1
|
function Add-VSEC2NetworkAclEntryIcmp {
<#
.SYNOPSIS
Adds an AWS::EC2::NetworkAclEntry.Icmp resource property to the template
.DESCRIPTION
Adds an AWS::EC2::NetworkAclEntry.Icmp resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-icmp.html
.PARAMETER Code
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-icmp.html#cfn-ec2-networkaclentry-icmp-code
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-icmp.html#cfn-ec2-networkaclentry-icmp-type
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.NetworkAclEntry.Icmp')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$Code,
[parameter(Mandatory = $false)]
[Int]
$Type
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.NetworkAclEntry.Icmp'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksInstanceEbsBlockDevice.ps1
|
Add-VSOpsWorksInstanceEbsBlockDevice.ps1
|
function Add-VSOpsWorksInstanceEbsBlockDevice {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Instance.EbsBlockDevice resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Instance.EbsBlockDevice resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html
.PARAMETER DeleteOnTermination
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-deleteontermination
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Iops
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-iops
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER SnapshotId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-snapshotid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER VolumeSize
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-volumesize
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER VolumeType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-ebsblockdevice.html#cfn-opsworks-instance-ebsblockdevice-volumetype
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Instance.EbsBlockDevice')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$DeleteOnTermination,
[parameter(Mandatory = $false)]
[Int]
$Iops,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SnapshotId,
[parameter(Mandatory = $false)]
[Int]
$VolumeSize,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VolumeType
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.OpsWorks.Instance.EbsBlockDevice'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelinePipelineBlockerDeclaration.ps1
|
Add-VSCodePipelinePipelineBlockerDeclaration.ps1
|
function Add-VSCodePipelinePipelineBlockerDeclaration {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::Pipeline.BlockerDeclaration resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::Pipeline.BlockerDeclaration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-blockers.html
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-blockers.html#cfn-codepipeline-pipeline-stages-blockers-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-blockers.html#cfn-codepipeline-pipeline-stages-blockers-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.Pipeline.BlockerDeclaration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Name,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodePipeline.Pipeline.BlockerDeclaration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigVolumeSpecification.ps1
|
Add-VSEMRInstanceGroupConfigVolumeSpecification.ps1
|
function Add-VSEMRInstanceGroupConfigVolumeSpecification {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.VolumeSpecification resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.VolumeSpecification resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html
.PARAMETER Iops
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification-iops
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER SizeInGB
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification-sizeingb
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER VolumeType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification-volumetype
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.VolumeSpecification')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$Iops,
[parameter(Mandatory = $true)]
[Int]
$SizeInGB,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VolumeType
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.InstanceGroupConfig.VolumeSpecification'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupMetricsCollection.ps1
|
Add-VSAutoScalingAutoScalingGroupMetricsCollection.ps1
|
function Add-VSAutoScalingAutoScalingGroupMetricsCollection {
<#
.SYNOPSIS
Adds an AWS::AutoScaling::AutoScalingGroup.MetricsCollection resource property to the template
.DESCRIPTION
Adds an AWS::AutoScaling::AutoScalingGroup.MetricsCollection resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-metricscollection.html
.PARAMETER Granularity
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-metricscollection.html#cfn-as-metricscollection-granularity
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Metrics
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-metricscollection.html#cfn-as-metricscollection-metrics
DuplicatesAllowed: True
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.AutoScaling.AutoScalingGroup.MetricsCollection')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Granularity,
[parameter(Mandatory = $false)]
$Metrics
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.AutoScaling.AutoScalingGroup.MetricsCollection'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketNotificationFilter.ps1
|
Add-VSS3BucketNotificationFilter.ps1
|
function Add-VSS3BucketNotificationFilter {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.NotificationFilter resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.NotificationFilter resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html
.PARAMETER S3Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key
Required: True
Type: S3KeyFilter
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.NotificationFilter')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$S3Key
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.S3.Bucket.NotificationFilter'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSApiGatewayMethodIntegration.ps1
|
Add-VSApiGatewayMethodIntegration.ps1
|
function Add-VSApiGatewayMethodIntegration {
<#
.SYNOPSIS
Adds an AWS::ApiGateway::Method.Integration resource property to the template
.DESCRIPTION
Adds an AWS::ApiGateway::Method.Integration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html
.PARAMETER CacheKeyParameters
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-cachekeyparameters
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER CacheNamespace
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-cachenamespace
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Credentials
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-credentials
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER IntegrationHttpMethod
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-integrationhttpmethod
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER IntegrationResponses
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-integrationresponses
DuplicatesAllowed: False
ItemType: IntegrationResponse
Required: False
Type: List
UpdateType: Mutable
.PARAMETER PassthroughBehavior
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-passthroughbehavior
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER RequestParameters
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-requestparameters
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER RequestTemplates
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-requesttemplates
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-type
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Uri
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-method-integration.html#cfn-apigateway-method-integration-uri
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ApiGateway.Method.Integration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$CacheKeyParameters,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CacheNamespace,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Credentials,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$IntegrationHttpMethod,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.ApiGateway.Method.IntegrationResponse"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$IntegrationResponses,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$PassthroughBehavior,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$RequestParameters,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$RequestTemplates,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Uri
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ApiGateway.Method.Integration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionViewerCertificate.ps1
|
Add-VSCloudFrontDistributionViewerCertificate.ps1
|
function Add-VSCloudFrontDistributionViewerCertificate {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.ViewerCertificate resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.ViewerCertificate resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-viewercertificate.html
.PARAMETER AcmCertificateArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-viewercertificate.html#cfn-cloudfront-distributionconfig-viewercertificate-acmcertificatearn
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER CloudFrontDefaultCertificate
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-viewercertificate.html#cfn-cloudfront-distributionconfig-viewercertificate-cloudfrontdefaultcertificate
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER IamCertificateId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-viewercertificate.html#cfn-cloudfront-distributionconfig-viewercertificate-iamcertificateid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER MinimumProtocolVersion
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-viewercertificate.html#cfn-cloudfront-distributionconfig-viewercertificate-sslsupportmethod
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SslSupportMethod
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-viewercertificate.html#cfn-cloudfront-distributionconfig-viewercertificate-minimumprotocolversion
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.ViewerCertificate')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$AcmCertificateArn,
[parameter(Mandatory = $false)]
[System.Boolean]
$CloudFrontDefaultCertificate,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$IamCertificateId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$MinimumProtocolVersion,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SslSupportMethod
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CloudFront.Distribution.ViewerCertificate'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRStepHadoopJarStepConfig.ps1
|
Add-VSEMRStepHadoopJarStepConfig.ps1
|
function Add-VSEMRStepHadoopJarStepConfig {
<#
.SYNOPSIS
Adds an AWS::EMR::Step.HadoopJarStepConfig resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Step.HadoopJarStepConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html
.PARAMETER Args
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-args
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER Jar
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-jar
PrimitiveType: String
Required: True
UpdateType: Immutable
.PARAMETER MainClass
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-mainclass
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER StepProperties
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-hadoopjarstepconfig.html#cfn-elasticmapreduce-step-hadoopjarstepconfig-stepproperties
DuplicatesAllowed: False
ItemType: KeyValue
Required: False
Type: List
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Step.HadoopJarStepConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$Args,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Jar,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$MainClass,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.Step.KeyValue"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$StepProperties
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Step.HadoopJarStepConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRulesConfigurationType.ps1
|
Add-VSCognitoIdentityPoolRoleAttachmentRulesConfigurationType.ps1
|
function Add-VSCognitoIdentityPoolRoleAttachmentRulesConfigurationType {
<#
.SYNOPSIS
Adds an AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::IdentityPoolRoleAttachment.RulesConfigurationType resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rulesconfigurationtype.html
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.IdentityPoolRoleAttachment.RulesConfigurationType')]
[cmdletbinding()]
Param
(
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Cognito.IdentityPoolRoleAttachment.RulesConfigurationType'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetGroupIdentifier.ps1
|
Add-VSEC2SpotFleetGroupIdentifier.ps1
|
function Add-VSEC2SpotFleetGroupIdentifier {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.GroupIdentifier resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.GroupIdentifier resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-securitygroups.html
.PARAMETER GroupId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-securitygroups.html#cfn-ec2-spotfleet-groupidentifier-groupid
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.GroupIdentifier')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$GroupId
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.SpotFleet.GroupIdentifier'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionOriginCustomHeader.ps1
|
Add-VSCloudFrontDistributionOriginCustomHeader.ps1
|
function Add-VSCloudFrontDistributionOriginCustomHeader {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.OriginCustomHeader resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.OriginCustomHeader resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-origin-origincustomheader.html
.PARAMETER HeaderName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-origin-origincustomheader.html#cfn-cloudfront-origin-origincustomheader-headername
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER HeaderValue
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-origin-origincustomheader.html#cfn-cloudfront-origin-origincustomheader-headervalue
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.OriginCustomHeader')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$HeaderName,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$HeaderValue
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CloudFront.Distribution.OriginCustomHeader'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelinePipelineStageTransition.ps1
|
Add-VSCodePipelinePipelineStageTransition.ps1
|
function Add-VSCodePipelinePipelineStageTransition {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::Pipeline.StageTransition resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::Pipeline.StageTransition resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-disableinboundstagetransitions.html
.PARAMETER Reason
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-disableinboundstagetransitions.html#cfn-codepipeline-pipeline-disableinboundstagetransitions-reason
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER StageName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-disableinboundstagetransitions.html#cfn-codepipeline-pipeline-disableinboundstagetransitions-stagename
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.Pipeline.StageTransition')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Reason,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$StageName
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodePipeline.Pipeline.StageTransition'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterEbsBlockDeviceConfig.ps1
|
Add-VSEMRClusterEbsBlockDeviceConfig.ps1
|
function Add-VSEMRClusterEbsBlockDeviceConfig {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.EbsBlockDeviceConfig resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.EbsBlockDeviceConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html
.PARAMETER VolumeSpecification
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumespecification
Required: True
Type: VolumeSpecification
UpdateType: Mutable
.PARAMETER VolumesPerInstance
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration-ebsblockdeviceconfig.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfig-volumesperinstance
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.EbsBlockDeviceConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$VolumeSpecification,
[parameter(Mandatory = $false)]
[Int]
$VolumesPerInstance
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Cluster.EbsBlockDeviceConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksAppSource.ps1
|
Add-VSOpsWorksAppSource.ps1
|
function Add-VSOpsWorksAppSource {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::App.Source resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::App.Source resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html
.PARAMETER Password
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-pw
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Revision
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-revision
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SshKey
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-sshkey
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-type
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Url
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-url
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Username
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-source.html#cfn-opsworks-custcookbooksource-username
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.App.Source')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Password,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Revision,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SshKey,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Url,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Username
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.OpsWorks.App.Source'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterJobFlowInstancesConfig.ps1
|
Add-VSEMRClusterJobFlowInstancesConfig.ps1
|
function Add-VSEMRClusterJobFlowInstancesConfig {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.JobFlowInstancesConfig resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.JobFlowInstancesConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html
.PARAMETER AdditionalMasterSecurityGroups
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-additionalmastersecuritygroups
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER AdditionalSlaveSecurityGroups
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-additionalslavesecuritygroups
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER CoreInstanceGroup
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-coreinstancegroup
Required: False
Type: InstanceGroupConfig
UpdateType: Immutable
.PARAMETER Ec2KeyName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-ec2keyname
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Ec2SubnetId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-ec2subnetid
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER EmrManagedMasterSecurityGroup
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-emrmanagedmastersecuritygroup
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER EmrManagedSlaveSecurityGroup
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-emrmanagedslavesecuritygroup
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER HadoopVersion
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-hadoopversion
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER MasterInstanceGroup
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-masterinstancegroup
Required: True
Type: InstanceGroupConfig
UpdateType: Immutable
.PARAMETER Placement
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-placement
Required: False
Type: PlacementType
UpdateType: Immutable
.PARAMETER ServiceAccessSecurityGroup
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-serviceaccesssecuritygroup
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER TerminationProtected
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-jobflowinstancesconfig.html#cfn-emr-cluster-jobflowinstancesconfig-terminationprotected
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.JobFlowInstancesConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$AdditionalMasterSecurityGroups,
[parameter(Mandatory = $false)]
$AdditionalSlaveSecurityGroups,
[parameter(Mandatory = $false)]
$CoreInstanceGroup,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Ec2KeyName,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Ec2SubnetId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$EmrManagedMasterSecurityGroup,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$EmrManagedSlaveSecurityGroup,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$HadoopVersion,
[parameter(Mandatory = $true)]
$MasterInstanceGroup,
[parameter(Mandatory = $false)]
$Placement,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ServiceAccessSecurityGroup,
[parameter(Mandatory = $false)]
[System.Boolean]
$TerminationProtected
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Cluster.JobFlowInstancesConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionDefaultCacheBehavior.ps1
|
Add-VSCloudFrontDistributionDefaultCacheBehavior.ps1
|
function Add-VSCloudFrontDistributionDefaultCacheBehavior {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.DefaultCacheBehavior resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.DefaultCacheBehavior resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html
.PARAMETER AllowedMethods
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-allowedmethods
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER CachedMethods
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-cachedmethods
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Compress
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-compress
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER DefaultTTL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-defaultttl
PrimitiveType: Long
Required: False
UpdateType: Mutable
.PARAMETER ForwardedValues
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-forwardedvalues
Required: True
Type: ForwardedValues
UpdateType: Mutable
.PARAMETER MaxTTL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-maxttl
PrimitiveType: Long
Required: False
UpdateType: Mutable
.PARAMETER MinTTL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-minttl
PrimitiveType: Long
Required: False
UpdateType: Mutable
.PARAMETER SmoothStreaming
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-smoothstreaming
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER TargetOriginId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-targetoriginid
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER TrustedSigners
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-trustedsigners
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER ViewerProtocolPolicy
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-viewerprotocolpolicy
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.DefaultCacheBehavior')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$AllowedMethods,
[parameter(Mandatory = $false)]
$CachedMethods,
[parameter(Mandatory = $false)]
[System.Boolean]
$Compress,
[parameter(Mandatory = $false)]
$DefaultTTL,
[parameter(Mandatory = $true)]
$ForwardedValues,
[parameter(Mandatory = $false)]
$MaxTTL,
[parameter(Mandatory = $false)]
$MinTTL,
[parameter(Mandatory = $false)]
[System.Boolean]
$SmoothStreaming,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TargetOriginId,
[parameter(Mandatory = $false)]
$TrustedSigners,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ViewerProtocolPolicy
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CloudFront.Distribution.DefaultCacheBehavior'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetByteMatchTuple.ps1
|
Add-VSWAFRegionalByteMatchSetByteMatchTuple.ps1
|
function Add-VSWAFRegionalByteMatchSetByteMatchTuple {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::ByteMatchSet.ByteMatchTuple resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::ByteMatchSet.ByteMatchTuple resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html
.PARAMETER TargetString
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstring
PrimitiveType: String
UpdateType: Mutable
.PARAMETER TargetStringBase64
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-targetstringbase64
PrimitiveType: String
UpdateType: Mutable
.PARAMETER PositionalConstraint
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-positionalconstraint
PrimitiveType: String
UpdateType: Mutable
.PARAMETER TextTransformation
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-texttransformation
PrimitiveType: String
UpdateType: Mutable
.PARAMETER FieldToMatch
Type: FieldToMatch
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html#cfn-wafregional-bytematchset-bytematchtuple-fieldtomatch
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.ByteMatchSet.ByteMatchTuple')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TargetString,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TargetStringBase64,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$PositionalConstraint,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TextTransformation,
[parameter(Mandatory = $true)]
$FieldToMatch
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAFRegional.ByteMatchSet.ByteMatchTuple'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoIdentityProvider.ps1
|
Add-VSCognitoIdentityPoolCognitoIdentityProvider.ps1
|
function Add-VSCognitoIdentityPoolCognitoIdentityProvider {
<#
.SYNOPSIS
Adds an AWS::Cognito::IdentityPool.CognitoIdentityProvider resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::IdentityPool.CognitoIdentityProvider resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html
.PARAMETER ServerSideTokenCheck
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html#cfn-cognito-identitypool-cognitoidentityprovider-serversidetokencheck
PrimitiveType: Boolean
UpdateType: Mutable
.PARAMETER ProviderName
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html#cfn-cognito-identitypool-cognitoidentityprovider-providername
PrimitiveType: String
UpdateType: Mutable
.PARAMETER ClientId
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html#cfn-cognito-identitypool-cognitoidentityprovider-clientid
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.IdentityPool.CognitoIdentityProvider')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$ServerSideTokenCheck,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ProviderName,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ClientId
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Cognito.IdentityPool.CognitoIdentityProvider'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SecurityGroupRule.ps1
|
Add-VSEC2SecurityGroupRule.ps1
|
function Add-VSEC2SecurityGroupRule {
<#
.SYNOPSIS
Adds an AWS::EC2::SecurityGroup.Rule resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SecurityGroup.Rule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html
.PARAMETER CidrIp
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-cidrip
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER FromPort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-fromport
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER IpProtocol
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-ipprotocol
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER SourceSecurityGroupId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-sourcesecuritygroupid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SourceSecurityGroupName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-sourcesecuritygroupname
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SourceSecurityGroupOwnerId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-sourcesecuritygroupownerid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER ToPort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group-rule.html#cfn-ec2-security-group-rule-toport
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SecurityGroup.Rule')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CidrIp,
[parameter(Mandatory = $false)]
[Int]
$FromPort,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$IpProtocol,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SourceSecurityGroupId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SourceSecurityGroupName,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SourceSecurityGroupOwnerId,
[parameter(Mandatory = $false)]
[Int]
$ToPort
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.SecurityGroup.Rule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamKMSEncryptionConfig.ps1
|
Add-VSKinesisFirehoseDeliveryStreamKMSEncryptionConfig.ps1
|
function Add-VSKinesisFirehoseDeliveryStreamKMSEncryptionConfig {
<#
.SYNOPSIS
Adds an AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig resource property to the template
.DESCRIPTION
Adds an AWS::KinesisFirehose::DeliveryStream.KMSEncryptionConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration-kmsencryptionconfig.html
.PARAMETER AWSKMSKeyARN
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration-kmsencryptionconfig.html#cfn-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-encryptionconfiguration-kmsencryptionconfig-awskmskeyarn
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.KinesisFirehose.DeliveryStream.KMSEncryptionConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$AWSKMSKeyARN
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.KinesisFirehose.DeliveryStream.KMSEncryptionConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupS3Location.ps1
|
Add-VSCodeDeployDeploymentGroupS3Location.ps1
|
function Add-VSCodeDeployDeploymentGroupS3Location {
<#
.SYNOPSIS
Adds an AWS::CodeDeploy::DeploymentGroup.S3Location resource property to the template
.DESCRIPTION
Adds an AWS::CodeDeploy::DeploymentGroup.S3Location resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html
.PARAMETER Bucket
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-bucket
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER BundleType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-bundletype
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER ETag
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-etag
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Version
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision-s3location.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location-value
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeDeploy.DeploymentGroup.S3Location')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Bucket,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$BundleType,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ETag,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Key,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Version
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodeDeploy.DeploymentGroup.S3Location'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSTaskDefinitionContainerDefinition.ps1
|
Add-VSECSTaskDefinitionContainerDefinition.ps1
|
function Add-VSECSTaskDefinitionContainerDefinition {
<#
.SYNOPSIS
Adds an AWS::ECS::TaskDefinition.ContainerDefinition resource property to the template
.DESCRIPTION
Adds an AWS::ECS::TaskDefinition.ContainerDefinition resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html
.PARAMETER Command
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-command
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER Cpu
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-cpu
PrimitiveType: Integer
Required: False
UpdateType: Immutable
.PARAMETER DisableNetworking
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-disablenetworking
PrimitiveType: Boolean
Required: False
UpdateType: Immutable
.PARAMETER DnsSearchDomains
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dnssearchdomains
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER DnsServers
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dnsservers
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER DockerLabels
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dockerlabels
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Immutable
.PARAMETER DockerSecurityOptions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-dockersecurityoptions
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER EntryPoint
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-entrypoint
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER Environment
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-environment
DuplicatesAllowed: False
ItemType: KeyValuePair
Required: False
Type: List
UpdateType: Immutable
.PARAMETER Essential
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-essential
PrimitiveType: Boolean
Required: False
UpdateType: Immutable
.PARAMETER ExtraHosts
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-extrahosts
DuplicatesAllowed: False
ItemType: HostEntry
Required: False
Type: List
UpdateType: Immutable
.PARAMETER Hostname
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-hostname
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Image
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-image
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Links
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-links
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER LogConfiguration
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration
Required: False
Type: LogConfiguration
UpdateType: Immutable
.PARAMETER Memory
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-memory
PrimitiveType: Integer
Required: False
UpdateType: Immutable
.PARAMETER MemoryReservation
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-memoryreservation
PrimitiveType: Integer
Required: False
UpdateType: Immutable
.PARAMETER MountPoints
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-mountpoints
DuplicatesAllowed: False
ItemType: MountPoint
Required: False
Type: List
UpdateType: Immutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-name
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER PortMappings
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-portmappings
DuplicatesAllowed: False
ItemType: PortMapping
Required: False
Type: List
UpdateType: Immutable
.PARAMETER Privileged
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-privileged
PrimitiveType: Boolean
Required: False
UpdateType: Immutable
.PARAMETER ReadonlyRootFilesystem
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-readonlyrootfilesystem
PrimitiveType: Boolean
Required: False
UpdateType: Immutable
.PARAMETER Ulimits
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-ulimits
DuplicatesAllowed: False
ItemType: Ulimit
Required: False
Type: List
UpdateType: Immutable
.PARAMETER User
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-user
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER VolumesFrom
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom
DuplicatesAllowed: False
ItemType: VolumeFrom
Required: False
Type: List
UpdateType: Immutable
.PARAMETER WorkingDirectory
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions.html#cfn-ecs-taskdefinition-containerdefinition-workingdirectory
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.TaskDefinition.ContainerDefinition')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$Command,
[parameter(Mandatory = $false)]
[Int]
$Cpu,
[parameter(Mandatory = $false)]
[System.Boolean]
$DisableNetworking,
[parameter(Mandatory = $false)]
$DnsSearchDomains,
[parameter(Mandatory = $false)]
$DnsServers,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$DockerLabels,
[parameter(Mandatory = $false)]
$DockerSecurityOptions,
[parameter(Mandatory = $false)]
$EntryPoint,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.ECS.TaskDefinition.KeyValuePair"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Environment,
[parameter(Mandatory = $false)]
[System.Boolean]
$Essential,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.ECS.TaskDefinition.HostEntry"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ExtraHosts,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Hostname,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Image,
[parameter(Mandatory = $false)]
$Links,
[parameter(Mandatory = $false)]
$LogConfiguration,
[parameter(Mandatory = $false)]
[Int]
$Memory,
[parameter(Mandatory = $false)]
[Int]
$MemoryReservation,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.ECS.TaskDefinition.MountPoint"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$MountPoints,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Name,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.ECS.TaskDefinition.PortMapping"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$PortMappings,
[parameter(Mandatory = $false)]
[System.Boolean]
$Privileged,
[parameter(Mandatory = $false)]
[System.Boolean]
$ReadonlyRootFilesystem,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.ECS.TaskDefinition.Ulimit"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Ulimits,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$User,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.ECS.TaskDefinition.VolumeFrom"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VolumesFrom,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$WorkingDirectory
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ECS.TaskDefinition.ContainerDefinition'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIoTTopicRuleFirehoseAction.ps1
|
Add-VSIoTTopicRuleFirehoseAction.ps1
|
function Add-VSIoTTopicRuleFirehoseAction {
<#
.SYNOPSIS
Adds an AWS::IoT::TopicRule.FirehoseAction resource property to the template
.DESCRIPTION
Adds an AWS::IoT::TopicRule.FirehoseAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-firehose.html
.PARAMETER DeliveryStreamName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-firehose.html#cfn-iot-firehose-deliverystreamname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER RoleArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-firehose.html#cfn-iot-firehose-rolearn
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Separator
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-firehose.html#cfn-iot-firehose-separator
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IoT.TopicRule.FirehoseAction')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$DeliveryStreamName,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RoleArn,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Separator
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.IoT.TopicRule.FirehoseAction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksInstanceBlockDeviceMapping.ps1
|
Add-VSOpsWorksInstanceBlockDeviceMapping.ps1
|
function Add-VSOpsWorksInstanceBlockDeviceMapping {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Instance.BlockDeviceMapping resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Instance.BlockDeviceMapping resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html
.PARAMETER DeviceName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-devicename
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Ebs
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-ebs
Required: False
Type: EbsBlockDevice
UpdateType: Mutable
.PARAMETER NoDevice
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-nodevice
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER VirtualName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-instance-blockdevicemapping.html#cfn-opsworks-instance-blockdevicemapping-virtualname
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Instance.BlockDeviceMapping')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$DeviceName,
[parameter(Mandatory = $false)]
$Ebs,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$NoDevice,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VirtualName
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.OpsWorks.Instance.BlockDeviceMapping'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterEbsConfiguration.ps1
|
Add-VSEMRClusterEbsConfiguration.ps1
|
function Add-VSEMRClusterEbsConfiguration {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.EbsConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.EbsConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html
.PARAMETER EbsBlockDeviceConfigs
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html#cfn-emr-ebsconfiguration-ebsblockdeviceconfigs
DuplicatesAllowed: False
ItemType: EbsBlockDeviceConfig
Required: False
Type: List
UpdateType: Mutable
.PARAMETER EbsOptimized
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-ebsconfiguration.html#cfn-emr-ebsconfiguration-ebsoptimized
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.EbsConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.Cluster.EbsBlockDeviceConfig"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$EbsBlockDeviceConfigs,
[parameter(Mandatory = $false)]
[System.Boolean]
$EbsOptimized
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Cluster.EbsConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetSizeConstraint.ps1
|
Add-VSWAFRegionalSizeConstraintSetSizeConstraint.ps1
|
function Add-VSWAFRegionalSizeConstraintSetSizeConstraint {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::SizeConstraintSet.SizeConstraint resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::SizeConstraintSet.SizeConstraint resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html
.PARAMETER ComparisonOperator
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-comparisonoperator
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Size
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-size
PrimitiveType: Integer
UpdateType: Mutable
.PARAMETER TextTransformation
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-texttransformation
PrimitiveType: String
UpdateType: Mutable
.PARAMETER FieldToMatch
Type: FieldToMatch
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html#cfn-wafregional-sizeconstraintset-sizeconstraint-fieldtomatch
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.SizeConstraintSet.SizeConstraint')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ComparisonOperator,
[parameter(Mandatory = $true)]
[Int]
$Size,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TextTransformation,
[parameter(Mandatory = $true)]
$FieldToMatch
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAFRegional.SizeConstraintSet.SizeConstraint'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalByteMatchSetFieldToMatch.ps1
|
Add-VSWAFRegionalByteMatchSetFieldToMatch.ps1
|
function Add-VSWAFRegionalByteMatchSetFieldToMatch {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::ByteMatchSet.FieldToMatch resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::ByteMatchSet.FieldToMatch resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html
.PARAMETER Type
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html#cfn-wafregional-bytematchset-fieldtomatch-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Data
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html#cfn-wafregional-bytematchset-fieldtomatch-data
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.ByteMatchSet.FieldToMatch')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Data
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAFRegional.ByteMatchSet.FieldToMatch'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterCloudWatchAlarmDefinition.ps1
|
Add-VSEMRClusterCloudWatchAlarmDefinition.ps1
|
function Add-VSEMRClusterCloudWatchAlarmDefinition {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.CloudWatchAlarmDefinition resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.CloudWatchAlarmDefinition resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html
.PARAMETER ComparisonOperator
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-comparisonoperator
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Dimensions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-dimensions
DuplicatesAllowed: False
ItemType: MetricDimension
Required: False
Type: List
UpdateType: Mutable
.PARAMETER EvaluationPeriods
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-evaluationperiods
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER MetricName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-metricname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Namespace
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-namespace
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Period
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-period
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER Statistic
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-statistic
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Threshold
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-threshold
PrimitiveType: Double
Required: True
UpdateType: Mutable
.PARAMETER Unit
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-cloudwatchalarmdefinition.html#cfn-elasticmapreduce-cluster-cloudwatchalarmdefinition-unit
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.CloudWatchAlarmDefinition')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ComparisonOperator,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.Cluster.MetricDimension"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Dimensions,
[parameter(Mandatory = $false)]
[Int]
$EvaluationPeriods,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$MetricName,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Namespace,
[parameter(Mandatory = $true)]
[Int]
$Period,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Statistic,
[parameter(Mandatory = $true)]
[System.Double]
$Threshold,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Unit
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.Cluster.CloudWatchAlarmDefinition'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelineCustomActionTypeConfigurationProperties.ps1
|
Add-VSCodePipelineCustomActionTypeConfigurationProperties.ps1
|
function Add-VSCodePipelineCustomActionTypeConfigurationProperties {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::CustomActionType.ConfigurationProperties resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::CustomActionType.ConfigurationProperties resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html
.PARAMETER Description
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-description
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-key
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Queryable
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-queryable
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Required
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-required
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER Secret
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-secret
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html#cfn-codepipeline-customactiontype-configurationproperties-type
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.CustomActionType.ConfigurationProperties')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Description,
[parameter(Mandatory = $true)]
[System.Boolean]
$Key,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Name,
[parameter(Mandatory = $false)]
[System.Boolean]
$Queryable,
[parameter(Mandatory = $true)]
[System.Boolean]
$Required,
[parameter(Mandatory = $true)]
[System.Boolean]
$Secret,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodePipeline.CustomActionType.ConfigurationProperties'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionSettings.ps1
|
Add-VSElasticLoadBalancingLoadBalancerConnectionSettings.ps1
|
function Add-VSElasticLoadBalancingLoadBalancerConnectionSettings {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancing::LoadBalancer.ConnectionSettings resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-connectionsettings.html
.PARAMETER IdleTimeout
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-connectionsettings.html#cfn-elb-connectionsettings-idletimeout
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.ConnectionSettings')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[Int]
$IdleTimeout
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.ConnectionSettings'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIoTTopicRuleSqsAction.ps1
|
Add-VSIoTTopicRuleSqsAction.ps1
|
function Add-VSIoTTopicRuleSqsAction {
<#
.SYNOPSIS
Adds an AWS::IoT::TopicRule.SqsAction resource property to the template
.DESCRIPTION
Adds an AWS::IoT::TopicRule.SqsAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-sqs.html
.PARAMETER QueueUrl
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-sqs.html#cfn-iot-sqs-queueurl
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER RoleArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-sqs.html#cfn-iot-sqs-rolearn
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER UseBase64
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-sqs.html#cfn-iot-sqs-usebase64
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IoT.TopicRule.SqsAction')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$QueueUrl,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RoleArn,
[parameter(Mandatory = $false)]
[System.Boolean]
$UseBase64
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.IoT.TopicRule.SqsAction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2InstanceVolume.ps1
|
Add-VSEC2InstanceVolume.ps1
|
function Add-VSEC2InstanceVolume {
<#
.SYNOPSIS
Adds an AWS::EC2::Instance.Volume resource property to the template
.DESCRIPTION
Adds an AWS::EC2::Instance.Volume resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html
.PARAMETER Device
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html#cfn-ec2-mountpoint-device
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER VolumeId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-mount-point.html#cfn-ec2-mountpoint-volumeid
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.Instance.Volume')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Device,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VolumeId
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.Instance.Volume'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSDirectoryServiceSimpleADVpcSettings.ps1
|
Add-VSDirectoryServiceSimpleADVpcSettings.ps1
|
function Add-VSDirectoryServiceSimpleADVpcSettings {
<#
.SYNOPSIS
Adds an AWS::DirectoryService::SimpleAD.VpcSettings resource property to the template
.DESCRIPTION
Adds an AWS::DirectoryService::SimpleAD.VpcSettings resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-simplead-vpcsettings.html
.PARAMETER SubnetIds
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-simplead-vpcsettings.html#cfn-directoryservice-simplead-vpcsettings-subnetids
DuplicatesAllowed: False
PrimitiveItemType: String
Required: True
Type: List
UpdateType: Mutable
.PARAMETER VpcId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-directoryservice-simplead-vpcsettings.html#cfn-directoryservice-simplead-vpcsettings-vpcid
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.DirectoryService.SimpleAD.VpcSettings')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$SubnetIds,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VpcId
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.DirectoryService.SimpleAD.VpcSettings'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSTaskDefinitionHostVolumeProperties.ps1
|
Add-VSECSTaskDefinitionHostVolumeProperties.ps1
|
function Add-VSECSTaskDefinitionHostVolumeProperties {
<#
.SYNOPSIS
Adds an AWS::ECS::TaskDefinition.HostVolumeProperties resource property to the template
.DESCRIPTION
Adds an AWS::ECS::TaskDefinition.HostVolumeProperties resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes-host.html
.PARAMETER SourcePath
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes-host.html#cfn-ecs-taskdefinition-volumes-host-sourcepath
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.TaskDefinition.HostVolumeProperties')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SourcePath
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ECS.TaskDefinition.HostVolumeProperties'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionDistributionConfig.ps1
|
Add-VSCloudFrontDistributionDistributionConfig.ps1
|
function Add-VSCloudFrontDistributionDistributionConfig {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.DistributionConfig resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.DistributionConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html
.PARAMETER Aliases
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-aliases
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER CacheBehaviors
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-cachebehaviors
DuplicatesAllowed: False
ItemType: CacheBehavior
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Comment
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-comment
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER CustomErrorResponses
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-customerrorresponses
DuplicatesAllowed: False
ItemType: CustomErrorResponse
Required: False
Type: List
UpdateType: Mutable
.PARAMETER DefaultCacheBehavior
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-defaultcachebehavior
Required: True
Type: DefaultCacheBehavior
UpdateType: Mutable
.PARAMETER DefaultRootObject
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-defaultrootobject
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Enabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-enabled
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER HttpVersion
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-httpversion
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Logging
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-logging
Required: False
Type: Logging
UpdateType: Mutable
.PARAMETER Origins
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-origins
DuplicatesAllowed: False
ItemType: Origin
Required: True
Type: List
UpdateType: Mutable
.PARAMETER PriceClass
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-priceclass
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Restrictions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-restrictions
Required: False
Type: Restrictions
UpdateType: Mutable
.PARAMETER ViewerCertificate
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-viewercertificate
Required: False
Type: ViewerCertificate
UpdateType: Mutable
.PARAMETER WebACLId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig.html#cfn-cloudfront-distributionconfig-webaclid
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.DistributionConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$Aliases,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CloudFront.Distribution.CacheBehavior"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CacheBehaviors,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Comment,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CloudFront.Distribution.CustomErrorResponse"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CustomErrorResponses,
[parameter(Mandatory = $true)]
$DefaultCacheBehavior,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$DefaultRootObject,
[parameter(Mandatory = $true)]
[System.Boolean]
$Enabled,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$HttpVersion,
[parameter(Mandatory = $false)]
$Logging,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CloudFront.Distribution.Origin"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Origins,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$PriceClass,
[parameter(Mandatory = $false)]
$Restrictions,
[parameter(Mandatory = $false)]
$ViewerCertificate,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$WebACLId
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CloudFront.Distribution.DistributionConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetGroupAttribute.ps1
|
Add-VSElasticLoadBalancingV2TargetGroupTargetGroupAttribute.ps1
|
function Add-VSElasticLoadBalancingV2TargetGroupTargetGroupAttribute {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttribute resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetgroupattributes.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetgroupattributes.html#cfn-elasticloadbalancingv2-targetgroup-targetgroupattributes-key
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetgroupattributes.html#cfn-elasticloadbalancingv2-targetgroup-targetgroupattributes-value
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancingV2.TargetGroup.TargetGroupAttribute')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Key,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Value
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElasticLoadBalancingV2.TargetGroup.TargetGroupAttribute'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalSizeConstraintSetFieldToMatch.ps1
|
Add-VSWAFRegionalSizeConstraintSetFieldToMatch.ps1
|
function Add-VSWAFRegionalSizeConstraintSetFieldToMatch {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::SizeConstraintSet.FieldToMatch resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::SizeConstraintSet.FieldToMatch resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html
.PARAMETER Type
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html#cfn-wafregional-sizeconstraintset-fieldtomatch-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Data
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html#cfn-wafregional-sizeconstraintset-fieldtomatch-data
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.SizeConstraintSet.FieldToMatch')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Data
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAFRegional.SizeConstraintSet.FieldToMatch'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSLambdaFunctionDeadLetterConfig.ps1
|
Add-VSLambdaFunctionDeadLetterConfig.ps1
|
function Add-VSLambdaFunctionDeadLetterConfig {
<#
.SYNOPSIS
Adds an AWS::Lambda::Function.DeadLetterConfig resource property to the template
.DESCRIPTION
Adds an AWS::Lambda::Function.DeadLetterConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-deadletterconfig.html
.PARAMETER TargetArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-deadletterconfig.html#cfn-lambda-function-deadletterconfig-targetarn
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Lambda.Function.DeadLetterConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TargetArn
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Lambda.Function.DeadLetterConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticBeanstalkConfigurationTemplateConfigurationOptionSetting.ps1
|
Add-VSElasticBeanstalkConfigurationTemplateConfigurationOptionSetting.ps1
|
function Add-VSElasticBeanstalkConfigurationTemplateConfigurationOptionSetting {
<#
.SYNOPSIS
Adds an AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting resource property to the template
.DESCRIPTION
Adds an AWS::ElasticBeanstalk::ConfigurationTemplate.ConfigurationOptionSetting resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html
.PARAMETER Namespace
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-namespace
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER OptionName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-optionname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-option-settings.html#cfn-beanstalk-optionsettings-value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticBeanstalk.ConfigurationTemplate.ConfigurationOptionSetting')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Namespace,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$OptionName,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Value
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElasticBeanstalk.ConfigurationTemplate.ConfigurationOptionSetting'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetPlacement.ps1
|
Add-VSEC2SpotFleetPlacement.ps1
|
function Add-VSEC2SpotFleetPlacement {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.Placement resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.Placement resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-placement.html
.PARAMETER AvailabilityZone
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-placement.html#cfn-ec2-spotfleet-placement-availabilityzone
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER GroupName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-placement.html#cfn-ec2-spotfleet-placement-groupname
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.Placement')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$AvailabilityZone,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$GroupName
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.SpotFleet.Placement'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFXssMatchSetXssMatchTuple.ps1
|
Add-VSWAFXssMatchSetXssMatchTuple.ps1
|
function Add-VSWAFXssMatchSetXssMatchTuple {
<#
.SYNOPSIS
Adds an AWS::WAF::XssMatchSet.XssMatchTuple resource property to the template
.DESCRIPTION
Adds an AWS::WAF::XssMatchSet.XssMatchTuple resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple.html
.PARAMETER FieldToMatch
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple.html#cfn-waf-xssmatchset-xssmatchtuple-fieldtomatch
Required: True
Type: FieldToMatch
UpdateType: Mutable
.PARAMETER TextTransformation
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple.html#cfn-waf-xssmatchset-xssmatchtuple-texttransformation
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.XssMatchSet.XssMatchTuple')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$FieldToMatch,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$TextTransformation
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.WAF.XssMatchSet.XssMatchTuple'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoIdentityPoolCognitoStreams.ps1
|
Add-VSCognitoIdentityPoolCognitoStreams.ps1
|
function Add-VSCognitoIdentityPoolCognitoStreams {
<#
.SYNOPSIS
Adds an AWS::Cognito::IdentityPool.CognitoStreams resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::IdentityPool.CognitoStreams resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html
.PARAMETER StreamingStatus
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html#cfn-cognito-identitypool-cognitostreams-streamingstatus
PrimitiveType: String
UpdateType: Mutable
.PARAMETER StreamName
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html#cfn-cognito-identitypool-cognitostreams-streamname
PrimitiveType: String
UpdateType: Mutable
.PARAMETER RoleArn
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitostreams.html#cfn-cognito-identitypool-cognitostreams-rolearn
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.IdentityPool.CognitoStreams')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$StreamingStatus,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$StreamName,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RoleArn
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Cognito.IdentityPool.CognitoStreams'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionS3OriginConfig.ps1
|
Add-VSCloudFrontDistributionS3OriginConfig.ps1
|
function Add-VSCloudFrontDistributionS3OriginConfig {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.S3OriginConfig resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.S3OriginConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-s3origin.html
.PARAMETER OriginAccessIdentity
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-s3origin.html#cfn-cloudfront-s3origin-originaccessidentity
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.S3OriginConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$OriginAccessIdentity
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CloudFront.Distribution.S3OriginConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingTrigger.ps1
|
Add-VSEMRInstanceGroupConfigScalingTrigger.ps1
|
function Add-VSEMRInstanceGroupConfigScalingTrigger {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.ScalingTrigger resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.ScalingTrigger resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingtrigger.html
.PARAMETER CloudWatchAlarmDefinition
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingtrigger.html#cfn-elasticmapreduce-instancegroupconfig-scalingtrigger-cloudwatchalarmdefinition
Required: True
Type: CloudWatchAlarmDefinition
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.ScalingTrigger')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$CloudWatchAlarmDefinition
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.InstanceGroupConfig.ScalingTrigger'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetBlockDeviceMapping.ps1
|
Add-VSEC2SpotFleetBlockDeviceMapping.ps1
|
function Add-VSEC2SpotFleetBlockDeviceMapping {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.BlockDeviceMapping resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.BlockDeviceMapping resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings.html
.PARAMETER DeviceName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings.html#cfn-ec2-spotfleet-blockdevicemapping-devicename
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Ebs
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings.html#cfn-ec2-spotfleet-blockdevicemapping-ebs
Required: False
Type: EbsBlockDevice
UpdateType: Mutable
.PARAMETER NoDevice
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings.html#cfn-ec2-spotfleet-blockdevicemapping-nodevice
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER VirtualName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings.html#cfn-ec2-spotfleet-blockdevicemapping-virtualname
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.BlockDeviceMapping')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$DeviceName,
[parameter(Mandatory = $false)]
$Ebs,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$NoDevice,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$VirtualName
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.SpotFleet.BlockDeviceMapping'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetLaunchSpecifications.ps1
|
Add-VSEC2SpotFleetLaunchSpecifications.ps1
|
function Add-VSEC2SpotFleetLaunchSpecifications {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.LaunchSpecifications resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.LaunchSpecifications resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html
.PARAMETER BlockDeviceMappings
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-blockdevicemappings
DuplicatesAllowed: False
ItemType: BlockDeviceMappings
Required: False
Type: List
UpdateType: Mutable
.PARAMETER EbsOptimized
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-ebsoptimized
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER IamInstanceProfile
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-iaminstanceprofile
Required: False
Type: IamInstanceProfile
UpdateType: Mutable
.PARAMETER ImageId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-imageid
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER InstanceType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-instancetype
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER KernelId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-kernelid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER KeyName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-keyname
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Monitoring
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-monitoring
Required: False
Type: Monitoring
UpdateType: Mutable
.PARAMETER NetworkInterfaces
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-networkinterfaces
DuplicatesAllowed: False
ItemType: NetworkInterfaces
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Placement
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-placement
Required: False
Type: Placement
UpdateType: Mutable
.PARAMETER RamdiskId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-ramdiskid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SecurityGroups
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-securitygroups
DuplicatesAllowed: False
ItemType: SecurityGroups
Required: False
Type: List
UpdateType: Mutable
.PARAMETER SpotPrice
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-spotprice
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SubnetId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-subnetid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER UserData
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-userdata
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER WeightedCapacity
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications.html#cfn-ec2-spotfleet-launchspecifications-weightedcapacity
PrimitiveType: Double
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.LaunchSpecifications')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.SpotFleet.BlockDeviceMappings"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$BlockDeviceMappings,
[parameter(Mandatory = $false)]
[System.Boolean]
$EbsOptimized,
[parameter(Mandatory = $false)]
$IamInstanceProfile,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ImageId,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$InstanceType,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$KernelId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$KeyName,
[parameter(Mandatory = $false)]
$Monitoring,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.SpotFleet.NetworkInterfaces"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$NetworkInterfaces,
[parameter(Mandatory = $false)]
$Placement,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RamdiskId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EC2.SpotFleet.SecurityGroups"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SecurityGroups,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SpotPrice,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SubnetId,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$UserData,
[parameter(Mandatory = $false)]
[Int]
$WeightedCapacity
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.SpotFleet.LaunchSpecifications'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigAutoScalingPolicy.ps1
|
Add-VSEMRInstanceGroupConfigAutoScalingPolicy.ps1
|
function Add-VSEMRInstanceGroupConfigAutoScalingPolicy {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.AutoScalingPolicy resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.AutoScalingPolicy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-autoscalingpolicy.html
.PARAMETER Constraints
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-autoscalingpolicy.html#cfn-elasticmapreduce-instancegroupconfig-autoscalingpolicy-constraints
Required: True
Type: ScalingConstraints
UpdateType: Mutable
.PARAMETER Rules
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-autoscalingpolicy.html#cfn-elasticmapreduce-instancegroupconfig-autoscalingpolicy-rules
DuplicatesAllowed: False
ItemType: ScalingRule
Required: True
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.AutoScalingPolicy')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$Constraints,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.InstanceGroupConfig.ScalingRule"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Rules
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EMR.InstanceGroupConfig.AutoScalingPolicy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIoTTopicRuleLambdaAction.ps1
|
Add-VSIoTTopicRuleLambdaAction.ps1
|
function Add-VSIoTTopicRuleLambdaAction {
<#
.SYNOPSIS
Adds an AWS::IoT::TopicRule.LambdaAction resource property to the template
.DESCRIPTION
Adds an AWS::IoT::TopicRule.LambdaAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-lambda.html
.PARAMETER FunctionArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-lambda.html#cfn-iot-lambda-functionarn
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IoT.TopicRule.LambdaAction')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$FunctionArn
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.IoT.TopicRule.LambdaAction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentTier.ps1
|
Add-VSElasticBeanstalkEnvironmentTier.ps1
|
function Add-VSElasticBeanstalkEnvironmentTier {
<#
.SYNOPSIS
Adds an AWS::ElasticBeanstalk::Environment.Tier resource property to the template
.DESCRIPTION
Adds an AWS::ElasticBeanstalk::Environment.Tier resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-name
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-type
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Version
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-environment-tier.html#cfn-beanstalk-env-tier-version
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticBeanstalk.Environment.Tier')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Name,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Version
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElasticBeanstalk.Environment.Tier'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSTaskDefinitionTaskDefinitionPlacementConstraint.ps1
|
Add-VSECSTaskDefinitionTaskDefinitionPlacementConstraint.ps1
|
function Add-VSECSTaskDefinitionTaskDefinitionPlacementConstraint {
<#
.SYNOPSIS
Adds an AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint resource property to the template
.DESCRIPTION
Adds an AWS::ECS::TaskDefinition.TaskDefinitionPlacementConstraint resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html
.PARAMETER Expression
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html#cfn-ecs-taskdefinition-taskdefinitionplacementconstraint-expression
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-taskdefinitionplacementconstraint.html#cfn-ecs-taskdefinition-taskdefinitionplacementconstraint-type
PrimitiveType: String
Required: True
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.TaskDefinition.TaskDefinitionPlacementConstraint')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Expression,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ECS.TaskDefinition.TaskDefinitionPlacementConstraint'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoUserPoolNumberAttributeConstraints.ps1
|
Add-VSCognitoUserPoolNumberAttributeConstraints.ps1
|
function Add-VSCognitoUserPoolNumberAttributeConstraints {
<#
.SYNOPSIS
Adds an AWS::Cognito::UserPool.NumberAttributeConstraints resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::UserPool.NumberAttributeConstraints resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html
.PARAMETER MinValue
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html#cfn-cognito-userpool-numberattributeconstraints-minvalue
PrimitiveType: String
UpdateType: Mutable
.PARAMETER MaxValue
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html#cfn-cognito-userpool-numberattributeconstraints-maxvalue
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.UserPool.NumberAttributeConstraints')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$MinValue,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$MaxValue
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Cognito.UserPool.NumberAttributeConstraints'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSLambdaFunctionEnvironment.ps1
|
Add-VSLambdaFunctionEnvironment.ps1
|
function Add-VSLambdaFunctionEnvironment {
<#
.SYNOPSIS
Adds an AWS::Lambda::Function.Environment resource property to the template
.DESCRIPTION
Adds an AWS::Lambda::Function.Environment resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-environment.html
.PARAMETER Variables
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-environment.html#cfn-lambda-function-environment-variables
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Lambda.Function.Environment')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Variables
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Lambda.Function.Environment'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeDeployDeploymentConfigMinimumHealthyHosts.ps1
|
Add-VSCodeDeployDeploymentConfigMinimumHealthyHosts.ps1
|
function Add-VSCodeDeployDeploymentConfigMinimumHealthyHosts {
<#
.SYNOPSIS
Adds an AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts resource property to the template
.DESCRIPTION
Adds an AWS::CodeDeploy::DeploymentConfig.MinimumHealthyHosts resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-minimumhealthyhosts.html
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-minimumhealthyhosts.html#cfn-codedeploy-deploymentconfig-minimumhealthyhosts-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentconfig-minimumhealthyhosts.html#cfn-codedeploy-deploymentconfig-minimumhealthyhosts-value
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeDeploy.DeploymentConfig.MinimumHealthyHosts')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Type,
[parameter(Mandatory = $true)]
[Int]
$Value
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.CodeDeploy.DeploymentConfig.MinimumHealthyHosts'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElastiCacheReplicationGroupNodeGroupConfiguration.ps1
|
Add-VSElastiCacheReplicationGroupNodeGroupConfiguration.ps1
|
function Add-VSElastiCacheReplicationGroupNodeGroupConfiguration {
<#
.SYNOPSIS
Adds an AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::ElastiCache::ReplicationGroup.NodeGroupConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html
.PARAMETER PrimaryAvailabilityZone
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-primaryavailabilityzone
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER ReplicaAvailabilityZones
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-replicaavailabilityzones
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Immutable
.PARAMETER ReplicaCount
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-replicacount
PrimitiveType: Integer
Required: False
UpdateType: Immutable
.PARAMETER Slots
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-replicationgroup-nodegroupconfiguration.html#cfn-elasticache-replicationgroup-nodegroupconfiguration-slots
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElastiCache.ReplicationGroup.NodeGroupConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$PrimaryAvailabilityZone,
[parameter(Mandatory = $false)]
$ReplicaAvailabilityZones,
[parameter(Mandatory = $false)]
[Int]
$ReplicaCount,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Slots
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElastiCache.ReplicationGroup.NodeGroupConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2NetworkAclEntryPortRange.ps1
|
Add-VSEC2NetworkAclEntryPortRange.ps1
|
function Add-VSEC2NetworkAclEntryPortRange {
<#
.SYNOPSIS
Adds an AWS::EC2::NetworkAclEntry.PortRange resource property to the template
.DESCRIPTION
Adds an AWS::EC2::NetworkAclEntry.PortRange resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-portrange.html
.PARAMETER From
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-portrange.html#cfn-ec2-networkaclentry-portrange-from
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER To
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkaclentry-portrange.html#cfn-ec2-networkaclentry-portrange-to
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.NetworkAclEntry.PortRange')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$From,
[parameter(Mandatory = $false)]
[Int]
$To
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.EC2.NetworkAclEntry.PortRange'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRoute53RecordSetGeoLocation.ps1
|
Add-VSRoute53RecordSetGeoLocation.ps1
|
function Add-VSRoute53RecordSetGeoLocation {
<#
.SYNOPSIS
Adds an AWS::Route53::RecordSet.GeoLocation resource property to the template
.DESCRIPTION
Adds an AWS::Route53::RecordSet.GeoLocation resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html
.PARAMETER ContinentCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html#cfn-route53-recordset-geolocation-continentcode
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER CountryCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html#cfn-route53-recordset-geolocation-countrycode
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SubdivisionCode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html#cfn-route53-recordset-geolocation-subdivisioncode
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Route53.RecordSet.GeoLocation')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$ContinentCode,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$CountryCode,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$SubdivisionCode
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Route53.RecordSet.GeoLocation'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRoute53RecordSetAliasTarget.ps1
|
Add-VSRoute53RecordSetAliasTarget.ps1
|
function Add-VSRoute53RecordSetAliasTarget {
<#
.SYNOPSIS
Adds an AWS::Route53::RecordSet.AliasTarget resource property to the template
.DESCRIPTION
Adds an AWS::Route53::RecordSet.AliasTarget resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-aliastarget.html
.PARAMETER DNSName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-aliastarget.html#cfn-route53-aliastarget-dnshostname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER EvaluateTargetHealth
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-aliastarget.html#cfn-route53-aliastarget-evaluatetargethealth
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER HostedZoneId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-aliastarget.html#cfn-route53-aliastarget-hostedzoneid
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Route53.RecordSet.AliasTarget')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$DNSName,
[parameter(Mandatory = $false)]
[System.Boolean]
$EvaluateTargetHealth,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$HostedZoneId
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Route53.RecordSet.AliasTarget'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute.ps1
|
Add-VSElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute.ps1
|
function Add-VSElasticLoadBalancingV2LoadBalancerLoadBalancerAttribute {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancingV2::LoadBalancer.LoadBalancerAttribute resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattributes.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattributes.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattributes-key
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-loadbalancer-loadbalancerattributes.html#cfn-elasticloadbalancingv2-loadbalancer-loadbalancerattributes-value
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancingV2.LoadBalancer.LoadBalancerAttribute')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Key,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$Value
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ElasticLoadBalancingV2.LoadBalancer.LoadBalancerAttribute'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIoTTopicRuleCloudwatchAlarmAction.ps1
|
Add-VSIoTTopicRuleCloudwatchAlarmAction.ps1
|
function Add-VSIoTTopicRuleCloudwatchAlarmAction {
<#
.SYNOPSIS
Adds an AWS::IoT::TopicRule.CloudwatchAlarmAction resource property to the template
.DESCRIPTION
Adds an AWS::IoT::TopicRule.CloudwatchAlarmAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cloudwatchalarm.html
.PARAMETER AlarmName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cloudwatchalarm.html#cfn-iot-cloudwatchalarm-alarmname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER RoleArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cloudwatchalarm.html#cfn-iot-cloudwatchalarm-rolearn
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER StateReason
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cloudwatchalarm.html#cfn-iot-cloudwatchalarm-statereason
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER StateValue
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-cloudwatchalarm.html#cfn-iot-cloudwatchalarm-statevalue
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IoT.TopicRule.CloudwatchAlarmAction')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$AlarmName,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$RoleArn,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$StateReason,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "System.String","Vaporshell.Function"
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") {
$true
}
else {
throw "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ")."
}
})]
$StateValue
)
Begin {
$obj = [PSCustomObject]@{}
}
Process {
foreach ($key in $PSBoundParameters.Keys) {
$val = $((Get-Variable $key).Value)
if ($val -eq "True") {
$val = "true"
}
elseif ($val -eq "False") {
$val = "false"
}
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $val
}
}
End {
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.IoT.TopicRule.CloudwatchAlarmAction'
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.