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.
!deploy v2.3.1 to add get VaporShell up to date with CFN spec sheet
- Loading branch information
Showing
135 changed files
with
14,034 additions
and
95 deletions.
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerConfigurationId.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,58 @@ | ||
function Add-VSAmazonMQBrokerConfigurationId { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::AmazonMQ::Broker.ConfigurationId resource property to the template | ||
.DESCRIPTION | ||
Adds an AWS::AmazonMQ::Broker.ConfigurationId resource property to the template | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html | ||
.PARAMETER Revision | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html#cfn-amazonmq-broker-configurationid-revision | ||
PrimitiveType: Integer | ||
UpdateType: Mutable | ||
.PARAMETER Id | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html#cfn-amazonmq-broker-configurationid-id | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.AmazonMQ.Broker.ConfigurationId')] | ||
[cmdletbinding()] | ||
Param | ||
( | ||
[parameter(Mandatory = $true)] | ||
[Int] | ||
$Revision, | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$Id | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.AmazonMQ.Broker.ConfigurationId' | ||
} | ||
} |
83 changes: 83 additions & 0 deletions
83
VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerMaintenanceWindow.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,83 @@ | ||
function Add-VSAmazonMQBrokerMaintenanceWindow { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::AmazonMQ::Broker.MaintenanceWindow resource property to the template | ||
.DESCRIPTION | ||
Adds an AWS::AmazonMQ::Broker.MaintenanceWindow resource property to the template | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html | ||
.PARAMETER DayOfWeek | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-dayofweek | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.PARAMETER TimeOfDay | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-timeofday | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.PARAMETER TimeZone | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html#cfn-amazonmq-broker-maintenancewindow-timezone | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.AmazonMQ.Broker.MaintenanceWindow')] | ||
[cmdletbinding()] | ||
Param | ||
( | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$DayOfWeek, | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$TimeOfDay, | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$TimeZone | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.AmazonMQ.Broker.MaintenanceWindow' | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
VaporShell/Public/Resource Property Types/Add-VSAmazonMQBrokerUser.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,86 @@ | ||
function Add-VSAmazonMQBrokerUser { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::AmazonMQ::Broker.User resource property to the template | ||
.DESCRIPTION | ||
Adds an AWS::AmazonMQ::Broker.User resource property to the template | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html | ||
.PARAMETER Username | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-username | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.PARAMETER Groups | ||
PrimitiveItemType: String | ||
Type: List | ||
Required: False | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-groups | ||
UpdateType: Mutable | ||
.PARAMETER ConsoleAccess | ||
Required: False | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-consoleaccess | ||
PrimitiveType: Boolean | ||
UpdateType: Mutable | ||
.PARAMETER Password | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html#cfn-amazonmq-broker-user-password | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.AmazonMQ.Broker.User')] | ||
[cmdletbinding()] | ||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword","Password")] | ||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingUserNameAndPasswordParams","")] | ||
Param | ||
( | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$Username, | ||
[parameter(Mandatory = $false)] | ||
$Groups, | ||
[parameter(Mandatory = $false)] | ||
[System.Boolean] | ||
$ConsoleAccess, | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$Password | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.AmazonMQ.Broker.User' | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceDynamoDBConfig.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,77 @@ | ||
function Add-VSAppSyncDataSourceDynamoDBConfig { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::AppSync::DataSource.DynamoDBConfig resource property to the template | ||
.DESCRIPTION | ||
Adds an AWS::AppSync::DataSource.DynamoDBConfig resource property to the template | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html | ||
.PARAMETER TableName | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-tablename | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.PARAMETER AwsRegion | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-awsregion | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.PARAMETER UseCallerCredentials | ||
Required: False | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html#cfn-appsync-datasource-dynamodbconfig-usecallercredentials | ||
PrimitiveType: Boolean | ||
UpdateType: Mutable | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.AppSync.DataSource.DynamoDBConfig')] | ||
[cmdletbinding()] | ||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword","UseCallerCredentials")] | ||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingUserNameAndPasswordParams","")] | ||
Param | ||
( | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$TableName, | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$AwsRegion, | ||
[parameter(Mandatory = $false)] | ||
[System.Boolean] | ||
$UseCallerCredentials | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.AppSync.DataSource.DynamoDBConfig' | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
VaporShell/Public/Resource Property Types/Add-VSAppSyncDataSourceElasticsearchConfig.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,66 @@ | ||
function Add-VSAppSyncDataSourceElasticsearchConfig { | ||
<# | ||
.SYNOPSIS | ||
Adds an AWS::AppSync::DataSource.ElasticsearchConfig resource property to the template | ||
.DESCRIPTION | ||
Adds an AWS::AppSync::DataSource.ElasticsearchConfig resource property to the template | ||
.LINK | ||
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html | ||
.PARAMETER AwsRegion | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html#cfn-appsync-datasource-elasticsearchconfig-awsregion | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.PARAMETER Endpoint | ||
Required: True | ||
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html#cfn-appsync-datasource-elasticsearchconfig-endpoint | ||
PrimitiveType: String | ||
UpdateType: Mutable | ||
.FUNCTIONALITY | ||
Vaporshell | ||
#> | ||
[OutputType('Vaporshell.Resource.AppSync.DataSource.ElasticsearchConfig')] | ||
[cmdletbinding()] | ||
Param | ||
( | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$AwsRegion, | ||
[parameter(Mandatory = $true)] | ||
[ValidateScript( { | ||
$allowedTypes = "System.String","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 ", ").")) | ||
} | ||
})] | ||
$Endpoint | ||
) | ||
Begin { | ||
$obj = [PSCustomObject]@{} | ||
$commonParams = @('Verbose','Debug','ErrorAction','WarningAction','InformationAction','ErrorVariable','WarningVariable','InformationVariable','OutVariable','OutBuffer','PipelineVariable') | ||
} | ||
Process { | ||
foreach ($key in $PSBoundParameters.Keys | Where-Object {$commonParams -notcontains $_}) { | ||
$obj | Add-Member -MemberType NoteProperty -Name $key -Value $PSBoundParameters.$key | ||
} | ||
} | ||
End { | ||
$obj | Add-ObjectDetail -TypeName 'Vaporshell.Resource.AppSync.DataSource.ElasticsearchConfig' | ||
} | ||
} |
Oops, something went wrong.