This repository has been archived by the owner on Oct 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #74 and brings functions up to date
- Loading branch information
Showing
618 changed files
with
21,346 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
VaporShell/Public/Resource Property Types/Add-VSApiGatewayV2IntegrationTlsConfig.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
function Add-VSApiGatewayV2IntegrationTlsConfig { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::ApiGatewayV2::Integration.TlsConfig resource property to the template. | ||
.DESCRIPTION | ||
Adds an AWS::ApiGatewayV2::Integration.TlsConfig resource property to the template. | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html | ||
.PARAMETER ServerNameToVerify | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html#cfn-apigatewayv2-integration-tlsconfig-servernametoverify | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.ApiGatewayV2.Integration.TlsConfig')] | ||
[cmdletbinding()] | ||
Param | ||
( | ||
[parameter(Mandatory = $false)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","Vaporshell.Function","Vaporshell.Condition" | ||
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") { | ||
$true | ||
} | ||
else { | ||
$PSCmdlet.ThrowTerminatingError((New-VSError -String "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ").")) | ||
} | ||
})] | ||
$ServerNameToVerify | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
switch ($key) { | ||
Default { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.ApiGatewayV2.Integration.TlsConfig' | ||
Write-Verbose "Resulting JSON from $($MyInvocation.MyCommand): `n`n$($obj | ConvertTo-Json -Depth 5)`n" | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
VaporShell/Public/Resource Property Types/Add-VSAthenaWorkGroupEncryptionConfiguration.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
function Add-VSAthenaWorkGroupEncryptionConfiguration { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::Athena::WorkGroup.EncryptionConfiguration resource property to the template. | ||
.DESCRIPTION | ||
Adds an AWS::Athena::WorkGroup.EncryptionConfiguration resource property to the template. | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-encryptionconfiguration.html | ||
.PARAMETER EncryptionOption | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-encryptionconfiguration.html#cfn-athena-workgroup-encryptionconfiguration-encryptionoption | ||
UpdateType: Mutable | ||
PrimitiveType: String | ||
.PARAMETER KmsKey | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-encryptionconfiguration.html#cfn-athena-workgroup-encryptionconfiguration-kmskey | ||
UpdateType: Mutable | ||
PrimitiveType: String | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.Athena.WorkGroup.EncryptionConfiguration')] | ||
[cmdletbinding()] | ||
Param | ||
( | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","Vaporshell.Function","Vaporshell.Condition" | ||
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") { | ||
$true | ||
} | ||
else { | ||
$PSCmdlet.ThrowTerminatingError((New-VSError -String "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ").")) | ||
} | ||
})] | ||
$EncryptionOption, | ||
[parameter(Mandatory = $false)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","Vaporshell.Function","Vaporshell.Condition" | ||
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") { | ||
$true | ||
} | ||
else { | ||
$PSCmdlet.ThrowTerminatingError((New-VSError -String "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ").")) | ||
} | ||
})] | ||
$KmsKey | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
switch ($key) { | ||
Default { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Athena.WorkGroup.EncryptionConfiguration' | ||
Write-Verbose "Resulting JSON from $($MyInvocation.MyCommand): `n`n$($obj | ConvertTo-Json -Depth 5)`n" | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
VaporShell/Public/Resource Property Types/Add-VSAthenaWorkGroupResultConfiguration.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
function Add-VSAthenaWorkGroupResultConfiguration { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::Athena::WorkGroup.ResultConfiguration resource property to the template. | ||
.DESCRIPTION | ||
Adds an AWS::Athena::WorkGroup.ResultConfiguration resource property to the template. | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html | ||
.PARAMETER EncryptionConfiguration | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-encryptionconfiguration | ||
UpdateType: Mutable | ||
Type: EncryptionConfiguration | ||
.PARAMETER OutputLocation | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfiguration.html#cfn-athena-workgroup-resultconfiguration-outputlocation | ||
UpdateType: Mutable | ||
PrimitiveType: String | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.Athena.WorkGroup.ResultConfiguration')] | ||
[cmdletbinding()] | ||
Param | ||
( | ||
[parameter(Mandatory = $false)] | ||
$EncryptionConfiguration, | ||
[parameter(Mandatory = $false)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","Vaporshell.Function","Vaporshell.Condition" | ||
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") { | ||
$true | ||
} | ||
else { | ||
$PSCmdlet.ThrowTerminatingError((New-VSError -String "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ").")) | ||
} | ||
})] | ||
$OutputLocation | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
switch ($key) { | ||
Default { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Athena.WorkGroup.ResultConfiguration' | ||
Write-Verbose "Resulting JSON from $($MyInvocation.MyCommand): `n`n$($obj | ConvertTo-Json -Depth 5)`n" | ||
} | ||
} |
93 changes: 93 additions & 0 deletions
93
...rShell/Public/Resource Property Types/Add-VSAthenaWorkGroupResultConfigurationUpdates.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
function Add-VSAthenaWorkGroupResultConfigurationUpdates { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::Athena::WorkGroup.ResultConfigurationUpdates resource property to the template. | ||
.DESCRIPTION | ||
Adds an AWS::Athena::WorkGroup.ResultConfigurationUpdates resource property to the template. | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html | ||
.PARAMETER EncryptionConfiguration | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-encryptionconfiguration | ||
UpdateType: Mutable | ||
Type: EncryptionConfiguration | ||
.PARAMETER OutputLocation | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-outputlocation | ||
UpdateType: Mutable | ||
PrimitiveType: String | ||
.PARAMETER RemoveEncryptionConfiguration | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-removeencryptionconfiguration | ||
UpdateType: Mutable | ||
PrimitiveType: Boolean | ||
.PARAMETER RemoveOutputLocation | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-resultconfigurationupdates.html#cfn-athena-workgroup-resultconfigurationupdates-removeoutputlocation | ||
UpdateType: Mutable | ||
PrimitiveType: Boolean | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.Athena.WorkGroup.ResultConfigurationUpdates')] | ||
[cmdletbinding()] | ||
Param | ||
( | ||
[parameter(Mandatory = $false)] | ||
$EncryptionConfiguration, | ||
[parameter(Mandatory = $false)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","Vaporshell.Function","Vaporshell.Condition" | ||
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") { | ||
$true | ||
} | ||
else { | ||
$PSCmdlet.ThrowTerminatingError((New-VSError -String "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ").")) | ||
} | ||
})] | ||
$OutputLocation, | ||
[parameter(Mandatory = $false)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.Boolean","Vaporshell.Function" | ||
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") { | ||
$true | ||
} | ||
else { | ||
$PSCmdlet.ThrowTerminatingError((New-VSError -String "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ").")) | ||
} | ||
})] | ||
$RemoveEncryptionConfiguration, | ||
[parameter(Mandatory = $false)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.Boolean","Vaporshell.Function" | ||
if ([string]$($_.PSTypeNames) -match "($(($allowedTypes|ForEach-Object{[RegEx]::Escape($_)}) -join '|'))") { | ||
$true | ||
} | ||
else { | ||
$PSCmdlet.ThrowTerminatingError((New-VSError -String "This parameter only accepts the following types: $($allowedTypes -join ", "). The current types of the value are: $($_.PSTypeNames -join ", ").")) | ||
} | ||
})] | ||
$RemoveOutputLocation | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
switch ($key) { | ||
Default { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.Athena.WorkGroup.ResultConfigurationUpdates' | ||
Write-Verbose "Resulting JSON from $($MyInvocation.MyCommand): `n`n$($obj | ConvertTo-Json -Depth 5)`n" | ||
} | ||
} |
Oops, something went wrong.