Skip to content
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.

Commit

Permalink
!deploy v2.9.5
Browse files Browse the repository at this point in the history
## 2.9.5 - 2020-02-17

* [Issue #66](#66)
    * Fixed: `Int`,`Double`, and `Boolean` parameters now accept CloudFormation Intrinsic Functions as parameter values.
* Miscellaneous
  * Brought Resource Type and Property Type functions up to current spec sheet.
  • Loading branch information
scrthq committed Feb 17, 2020
1 parent cd715c8 commit 9d4ed79
Show file tree
Hide file tree
Showing 784 changed files with 38,077 additions and 1,057 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<!-- TOC -->

* [2.9.5 - 2020-02-17](#295---2020-02-17)
* [2.9.4 - 2019-12-11](#294---2019-12-11)
* [2.9.3 - 2019-11-24](#293---2019-11-24)
* [2.9.2 - 2019-10-06](#292---2019-10-06)
Expand Down Expand Up @@ -51,6 +52,13 @@

<!-- /TOC -->

## 2.9.5 - 2020-02-17

* [Issue #66](https://github.com/scrthq/VaporShell/issues/66)
* Fixed: `Int`,`Double`, and `Boolean` parameters now accept CloudFormation Intrinsic Functions as parameter values.
* Miscellaneous
* Brought Resource Type and Property Type functions up to current spec sheet.

## 2.9.4 - 2019-12-11

* Miscellaneous
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
function Add-VSACMPCACertificateAuthorityCrlConfiguration {
<#
.SYNOPSIS
Adds an AWS::ACMPCA::CertificateAuthority.CrlConfiguration resource property to the template.
.DESCRIPTION
Adds an AWS::ACMPCA::CertificateAuthority.CrlConfiguration resource property to the template.
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html
.PARAMETER Enabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-enabled
UpdateType: Mutable
PrimitiveType: Boolean
.PARAMETER ExpirationInDays
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-expirationindays
UpdateType: Mutable
PrimitiveType: Integer
.PARAMETER CustomCname
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-customcname
UpdateType: Mutable
PrimitiveType: String
.PARAMETER S3BucketName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-s3bucketname
UpdateType: Mutable
PrimitiveType: String
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ACMPCA.CertificateAuthority.CrlConfiguration')]
[cmdletbinding()]
Param
(
[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 ", ")."))
}
})]
$Enabled,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "System.Int32","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 ", ")."))
}
})]
$ExpirationInDays,
[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 ", ")."))
}
})]
$CustomCname,
[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 ", ")."))
}
})]
$S3BucketName
)
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.ACMPCA.CertificateAuthority.CrlConfiguration'
Write-Verbose "Resulting JSON from $($MyInvocation.MyCommand): `n`n$($obj | ConvertTo-Json -Depth 5)`n"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
function Add-VSACMPCACertificateAuthorityRevocationConfiguration {
<#
.SYNOPSIS
Adds an AWS::ACMPCA::CertificateAuthority.RevocationConfiguration resource property to the template.
.DESCRIPTION
Adds an AWS::ACMPCA::CertificateAuthority.RevocationConfiguration resource property to the template.
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-revocationconfiguration.html
.PARAMETER CrlConfiguration
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-revocationconfiguration.html#cfn-acmpca-certificateauthority-revocationconfiguration-crlconfiguration
UpdateType: Mutable
Type: CrlConfiguration
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ACMPCA.CertificateAuthority.RevocationConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$CrlConfiguration
)
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.ACMPCA.CertificateAuthority.RevocationConfiguration'
Write-Verbose "Resulting JSON from $($MyInvocation.MyCommand): `n`n$($obj | ConvertTo-Json -Depth 5)`n"
}
}
Loading

0 comments on commit 9d4ed79

Please sign in to comment.