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-VSEMRClusterBootstrapActionConfig.ps1
|
Add-VSEMRClusterBootstrapActionConfig.ps1
|
function Add-VSEMRClusterBootstrapActionConfig {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.BootstrapActionConfig resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.BootstrapActionConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-bootstrapactionconfig.html
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-bootstrapactionconfig.html#cfn-emr-cluster-bootstrapactionconfig-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER ScriptBootstrapAction
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-bootstrapactionconfig.html#cfn-emr-cluster-bootstrapactionconfig-scriptbootstrapaction
Required: True
Type: ScriptBootstrapActionConfig
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.BootstrapActionConfig')]
[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)]
$ScriptBootstrapAction
)
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.BootstrapActionConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSGameLiftBuildS3Location.ps1
|
Add-VSGameLiftBuildS3Location.ps1
|
function Add-VSGameLiftBuildS3Location {
<#
.SYNOPSIS
Adds an AWS::GameLift::Build.S3Location resource property to the template
.DESCRIPTION
Adds an AWS::GameLift::Build.S3Location resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html
.PARAMETER Bucket
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html#cfn-gamelift-build-storage-bucket
PrimitiveType: String
Required: True
UpdateType: Immutable
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html#cfn-gamelift-build-storage-key
PrimitiveType: String
Required: True
UpdateType: Immutable
.PARAMETER RoleArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-build-storagelocation.html#cfn-gamelift-build-storage-rolearn
PrimitiveType: String
Required: True
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.GameLift.Build.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 = $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 = $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
)
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.Build.S3Location'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetEbs.ps1
|
Add-VSEC2SpotFleetEbs.ps1
|
function Add-VSEC2SpotFleetEbs {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.Ebs resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.Ebs resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings-ebs.html
.PARAMETER DeleteOnTermination
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings-ebs.html#cfn-ec2-spotfleet-ebs-deleteontermination
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Encrypted
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings-ebs.html#cfn-ec2-spotfleet-ebs-encrypted
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Iops
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings-ebs.html#cfn-ec2-spotfleet-ebs-iops
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER SnapshotId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings-ebs.html#cfn-ec2-spotfleet-ebs-snapshotid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER VolumeSize
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings-ebs.html#cfn-ec2-spotfleet-ebs-volumesize
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER VolumeType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-blockdevicemappings-ebs.html#cfn-ec2-spotfleet-ebs-volumetype
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.Ebs')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$DeleteOnTermination,
[parameter(Mandatory = $false)]
[System.Boolean]
$Encrypted,
[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.EC2.SpotFleet.Ebs'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIoTTopicRuleKinesisAction.ps1
|
Add-VSIoTTopicRuleKinesisAction.ps1
|
function Add-VSIoTTopicRuleKinesisAction {
<#
.SYNOPSIS
Adds an AWS::IoT::TopicRule.KinesisAction resource property to the template
.DESCRIPTION
Adds an AWS::IoT::TopicRule.KinesisAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-kinesis.html
.PARAMETER PartitionKey
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-kinesis.html#cfn-iot-kinesis-partitionkey
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER RoleArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-kinesis.html#cfn-iot-kinesis-rolearn
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER StreamName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-kinesis.html#cfn-iot-kinesis-streamname
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IoT.TopicRule.KinesisAction')]
[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 ", ")."
}
})]
$PartitionKey,
[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 ", ")."
}
})]
$StreamName
)
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.KinesisAction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalRulePredicate.ps1
|
Add-VSWAFRegionalRulePredicate.ps1
|
function Add-VSWAFRegionalRulePredicate {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::Rule.Predicate resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::Rule.Predicate resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html
.PARAMETER Type
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER DataId
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-dataid
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Negated
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html#cfn-wafregional-rule-predicate-negated
PrimitiveType: Boolean
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.Rule.Predicate')]
[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 ", ")."
}
})]
$DataId,
[parameter(Mandatory = $true)]
[System.Boolean]
$Negated
)
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.Rule.Predicate'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterApplication.ps1
|
Add-VSEMRClusterApplication.ps1
|
function Add-VSEMRClusterApplication {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.Application resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.Application resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-application.html
.PARAMETER AdditionalInfo
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-application.html#cfn-emr-cluster-application-additionalinfo
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.PARAMETER Args
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-application.html#cfn-emr-cluster-application-args
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-application.html#cfn-emr-cluster-application-name
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Version
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-application.html#cfn-emr-cluster-application-version
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.Application')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$AdditionalInfo,
[parameter(Mandatory = $false)]
$Args,
[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 ", ")."
}
})]
$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.EMR.Cluster.Application'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionRestrictions.ps1
|
Add-VSCloudFrontDistributionRestrictions.ps1
|
function Add-VSCloudFrontDistributionRestrictions {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.Restrictions resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.Restrictions resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-restrictions.html
.PARAMETER GeoRestriction
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-restrictions.html#cfn-cloudfront-distributionconfig-restrictions-georestriction
Required: True
Type: GeoRestriction
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.Restrictions')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$GeoRestriction
)
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.Restrictions'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticBeanstalkEnvironmentOptionSettings.ps1
|
Add-VSElasticBeanstalkEnvironmentOptionSettings.ps1
|
function Add-VSElasticBeanstalkEnvironmentOptionSettings {
<#
.SYNOPSIS
Adds an AWS::ElasticBeanstalk::Environment.OptionSettings resource property to the template
.DESCRIPTION
Adds an AWS::ElasticBeanstalk::Environment.OptionSettings 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.Environment.OptionSettings')]
[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.Environment.OptionSettings'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRDSDBSecurityGroupIngress.ps1
|
Add-VSRDSDBSecurityGroupIngress.ps1
|
function Add-VSRDSDBSecurityGroupIngress {
<#
.SYNOPSIS
Adds an AWS::RDS::DBSecurityGroup.Ingress resource property to the template
.DESCRIPTION
Adds an AWS::RDS::DBSecurityGroup.Ingress resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group-rule.html
.PARAMETER CIDRIP
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group-rule.html#cfn-rds-securitygroup-cidrip
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER EC2SecurityGroupId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group-rule.html#cfn-rds-securitygroup-ec2securitygroupid
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER EC2SecurityGroupName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group-rule.html#cfn-rds-securitygroup-ec2securitygroupname
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER EC2SecurityGroupOwnerId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group-rule.html#cfn-rds-securitygroup-ec2securitygroupownerid
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.RDS.DBSecurityGroup.Ingress')]
[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)]
[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 ", ")."
}
})]
$EC2SecurityGroupId,
[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 ", ")."
}
})]
$EC2SecurityGroupName,
[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 ", ")."
}
})]
$EC2SecurityGroupOwnerId
)
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.RDS.DBSecurityGroup.Ingress'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterScalingAction.ps1
|
Add-VSEMRClusterScalingAction.ps1
|
function Add-VSEMRClusterScalingAction {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.ScalingAction resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.ScalingAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html
.PARAMETER Market
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-market
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SimpleScalingPolicyConfiguration
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingaction.html#cfn-elasticmapreduce-cluster-scalingaction-simplescalingpolicyconfiguration
Required: True
Type: SimpleScalingPolicyConfiguration
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.ScalingAction')]
[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 ", ")."
}
})]
$Market,
[parameter(Mandatory = $true)]
$SimpleScalingPolicyConfiguration
)
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.ScalingAction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketVersioningConfiguration.ps1
|
Add-VSS3BucketVersioningConfiguration.ps1
|
function Add-VSS3BucketVersioningConfiguration {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.VersioningConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.VersioningConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-versioningconfig.html
.PARAMETER Status
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-versioningconfig.html#cfn-s3-bucket-versioningconfig-status
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.VersioningConfiguration')]
[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 ", ")."
}
})]
$Status
)
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.VersioningConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterScalingRule.ps1
|
Add-VSEMRClusterScalingRule.ps1
|
function Add-VSEMRClusterScalingRule {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.ScalingRule resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.ScalingRule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html
.PARAMETER Action
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-action
Required: True
Type: ScalingAction
UpdateType: Mutable
.PARAMETER Description
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-description
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Trigger
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingrule.html#cfn-elasticmapreduce-cluster-scalingrule-trigger
Required: True
Type: ScalingTrigger
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.ScalingRule')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$Action,
[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 ", ")."
}
})]
$Name,
[parameter(Mandatory = $true)]
$Trigger
)
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.ScalingRule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFByteMatchSetByteMatchTuple.ps1
|
Add-VSWAFByteMatchSetByteMatchTuple.ps1
|
function Add-VSWAFByteMatchSetByteMatchTuple {
<#
.SYNOPSIS
Adds an AWS::WAF::ByteMatchSet.ByteMatchTuple resource property to the template
.DESCRIPTION
Adds an AWS::WAF::ByteMatchSet.ByteMatchTuple resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html
.PARAMETER FieldToMatch
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-fieldtomatch
Required: True
Type: FieldToMatch
UpdateType: Mutable
.PARAMETER PositionalConstraint
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-positionalconstraint
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER TargetString
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-targetstring
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER TargetStringBase64
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-targetstringbase64
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER TextTransformation
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples.html#cfn-waf-bytematchset-bytematchtuples-texttransformation
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.ByteMatchSet.ByteMatchTuple')]
[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 ", ")."
}
})]
$PositionalConstraint,
[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 ", ")."
}
})]
$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.ByteMatchSet.ByteMatchTuple'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeBuildProjectEnvironment.ps1
|
Add-VSCodeBuildProjectEnvironment.ps1
|
function Add-VSCodeBuildProjectEnvironment {
<#
.SYNOPSIS
Adds an AWS::CodeBuild::Project.Environment resource property to the template
.DESCRIPTION
Adds an AWS::CodeBuild::Project.Environment resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html
.PARAMETER Type
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER EnvironmentVariables
Type: List
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-environmentvariables
ItemType: EnvironmentVariable
UpdateType: Mutable
.PARAMETER Image
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-image
PrimitiveType: String
UpdateType: Mutable
.PARAMETER ComputeType
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-computetype
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeBuild.Project.Environment')]
[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 ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.CodeBuild.Project.EnvironmentVariable"
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 ", ")."
}
})]
$EnvironmentVariables,
[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)]
[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 ", ")."
}
})]
$ComputeType
)
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.CodeBuild.Project.Environment'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoUserPoolAdminCreateUserConfig.ps1
|
Add-VSCognitoUserPoolAdminCreateUserConfig.ps1
|
function Add-VSCognitoUserPoolAdminCreateUserConfig {
<#
.SYNOPSIS
Adds an AWS::Cognito::UserPool.AdminCreateUserConfig resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::UserPool.AdminCreateUserConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html
.PARAMETER InviteMessageTemplate
Type: InviteMessageTemplate
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html#cfn-cognito-userpool-admincreateuserconfig-invitemessagetemplate
UpdateType: Mutable
.PARAMETER UnusedAccountValidityDays
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html#cfn-cognito-userpool-admincreateuserconfig-unusedaccountvaliditydays
PrimitiveType: Double
UpdateType: Mutable
.PARAMETER AllowAdminCreateUserOnly
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-admincreateuserconfig.html#cfn-cognito-userpool-admincreateuserconfig-allowadmincreateuseronly
PrimitiveType: Boolean
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.UserPool.AdminCreateUserConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$InviteMessageTemplate,
[parameter(Mandatory = $false)]
[System.Double]
$UnusedAccountValidityDays,
[parameter(Mandatory = $false)]
[System.Boolean]
$AllowAdminCreateUserOnly
)
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.AdminCreateUserConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRoute53HostedZoneVPC.ps1
|
Add-VSRoute53HostedZoneVPC.ps1
|
function Add-VSRoute53HostedZoneVPC {
<#
.SYNOPSIS
Adds an AWS::Route53::HostedZone.VPC resource property to the template
.DESCRIPTION
Adds an AWS::Route53::HostedZone.VPC resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone-hostedzonevpcs.html
.PARAMETER VPCId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone-hostedzonevpcs.html#cfn-route53-hostedzone-hostedzonevpcs-vpcid
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER VPCRegion
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone-hostedzonevpcs.html#cfn-route53-hostedzone-hostedzonevpcs-vpcregion
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Route53.HostedZone.VPC')]
[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 ", ")."
}
})]
$VPCId,
[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 ", ")."
}
})]
$VPCRegion
)
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.HostedZone.VPC'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRedshiftClusterParameterGroupParameter.ps1
|
Add-VSRedshiftClusterParameterGroupParameter.ps1
|
function Add-VSRedshiftClusterParameterGroupParameter {
<#
.SYNOPSIS
Adds an AWS::Redshift::ClusterParameterGroup.Parameter resource property to the template
.DESCRIPTION
Adds an AWS::Redshift::ClusterParameterGroup.Parameter resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html
.PARAMETER ParameterName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html#cfn-redshift-clusterparametergroup-parameter-parametername
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER ParameterValue
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-property-redshift-clusterparametergroup-parameter.html#cfn-redshift-clusterparametergroup-parameter-parametervalue
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Redshift.ClusterParameterGroup.Parameter')]
[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 ", ")."
}
})]
$ParameterName,
[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 ", ")."
}
})]
$ParameterValue
)
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.Redshift.ClusterParameterGroup.Parameter'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetInstanceIpv6Address.ps1
|
Add-VSEC2SpotFleetInstanceIpv6Address.ps1
|
function Add-VSEC2SpotFleetInstanceIpv6Address {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.InstanceIpv6Address resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.InstanceIpv6Address resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instanceipv6address.html
.PARAMETER Ipv6Address
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-instanceipv6address.html#cfn-ec2-spotfleet-instanceipv6address-ipv6address
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.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.SpotFleet.InstanceIpv6Address'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSTaskDefinitionLogConfiguration.ps1
|
Add-VSECSTaskDefinitionLogConfiguration.ps1
|
function Add-VSECSTaskDefinitionLogConfiguration {
<#
.SYNOPSIS
Adds an AWS::ECS::TaskDefinition.LogConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::ECS::TaskDefinition.LogConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html
.PARAMETER LogDriver
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration-logdriver
PrimitiveType: String
Required: True
UpdateType: Immutable
.PARAMETER Options
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-logconfiguration.html#cfn-ecs-taskdefinition-containerdefinition-logconfiguration-options
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.TaskDefinition.LogConfiguration')]
[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 ", ")."
}
})]
$LogDriver,
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Options
)
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.LogConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupTriggerConfig.ps1
|
Add-VSCodeDeployDeploymentGroupTriggerConfig.ps1
|
function Add-VSCodeDeployDeploymentGroupTriggerConfig {
<#
.SYNOPSIS
Adds an AWS::CodeDeploy::DeploymentGroup.TriggerConfig resource property to the template
.DESCRIPTION
Adds an AWS::CodeDeploy::DeploymentGroup.TriggerConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html
.PARAMETER TriggerEvents
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html#cfn-codedeploy-deploymentgroup-triggerconfig-triggerevents
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER TriggerName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html#cfn-codedeploy-deploymentgroup-triggerconfig-triggername
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER TriggerTargetArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-triggerconfig.html#cfn-codedeploy-deploymentgroup-triggerconfig-triggertargetarn
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeDeploy.DeploymentGroup.TriggerConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$TriggerEvents,
[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 ", ")."
}
})]
$TriggerName,
[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 ", ")."
}
})]
$TriggerTargetArn
)
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.TriggerConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSTaskDefinitionPortMapping.ps1
|
Add-VSECSTaskDefinitionPortMapping.ps1
|
function Add-VSECSTaskDefinitionPortMapping {
<#
.SYNOPSIS
Adds an AWS::ECS::TaskDefinition.PortMapping resource property to the template
.DESCRIPTION
Adds an AWS::ECS::TaskDefinition.PortMapping resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html
.PARAMETER ContainerPort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-containerport
PrimitiveType: Integer
Required: False
UpdateType: Immutable
.PARAMETER HostPort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-readonly
PrimitiveType: Integer
Required: False
UpdateType: Immutable
.PARAMETER Protocol
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-portmappings.html#cfn-ecs-taskdefinition-containerdefinition-portmappings-sourcevolume
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.TaskDefinition.PortMapping')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$ContainerPort,
[parameter(Mandatory = $false)]
[Int]
$HostPort,
[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 ", ")."
}
})]
$Protocol
)
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.PortMapping'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionCacheBehavior.ps1
|
Add-VSCloudFrontDistributionCacheBehavior.ps1
|
function Add-VSCloudFrontDistributionCacheBehavior {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.CacheBehavior resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.CacheBehavior resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html
.PARAMETER AllowedMethods
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-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-cachebehavior.html#cfn-cloudfront-cachebehavior-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-cachebehavior.html#cfn-cloudfront-cachebehavior-compress
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER DefaultTTL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-defaultttl
PrimitiveType: Long
Required: False
UpdateType: Mutable
.PARAMETER ForwardedValues
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-forwardedvalues
Required: True
Type: ForwardedValues
UpdateType: Mutable
.PARAMETER MaxTTL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-maxttl
PrimitiveType: Long
Required: False
UpdateType: Mutable
.PARAMETER MinTTL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-minttl
PrimitiveType: Long
Required: False
UpdateType: Mutable
.PARAMETER PathPattern
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-pathpattern
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER SmoothStreaming
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-smoothstreaming
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER TargetOriginId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-targetoriginid
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER TrustedSigners
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachebehavior.html#cfn-cloudfront-cachebehavior-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-cachebehavior.html#cfn-cloudfront-cachebehavior-viewerprotocolpolicy
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.CacheBehavior')]
[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 = $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 ", ")."
}
})]
$PathPattern,
[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.CacheBehavior'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSLambdaFunctionTracingConfig.ps1
|
Add-VSLambdaFunctionTracingConfig.ps1
|
function Add-VSLambdaFunctionTracingConfig {
<#
.SYNOPSIS
Adds an AWS::Lambda::Function.TracingConfig resource property to the template
.DESCRIPTION
Adds an AWS::Lambda::Function.TracingConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-tracingconfig.html
.PARAMETER Mode
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-tracingconfig.html#cfn-lambda-function-tracingconfig-mode
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Lambda.Function.TracingConfig')]
[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 ", ")."
}
})]
$Mode
)
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.TracingConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRoute53HealthCheckAlarmIdentifier.ps1
|
Add-VSRoute53HealthCheckAlarmIdentifier.ps1
|
function Add-VSRoute53HealthCheckAlarmIdentifier {
<#
.SYNOPSIS
Adds an AWS::Route53::HealthCheck.AlarmIdentifier resource property to the template
.DESCRIPTION
Adds an AWS::Route53::HealthCheck.AlarmIdentifier resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-alarmidentifier.html
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-alarmidentifier.html#cfn-route53-healthcheck-alarmidentifier-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Region
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-alarmidentifier.html#cfn-route53-healthcheck-alarmidentifier-region
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Route53.HealthCheck.AlarmIdentifier')]
[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 ", ")."
}
})]
$Region
)
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.HealthCheck.AlarmIdentifier'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSLogsMetricFilterMetricTransformation.ps1
|
Add-VSLogsMetricFilterMetricTransformation.ps1
|
function Add-VSLogsMetricFilterMetricTransformation {
<#
.SYNOPSIS
Adds an AWS::Logs::MetricFilter.MetricTransformation resource property to the template
.DESCRIPTION
Adds an AWS::Logs::MetricFilter.MetricTransformation resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html
.PARAMETER MetricName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER MetricNamespace
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricnamespace
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER MetricValue
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-metricfilter-metrictransformation.html#cfn-cwl-metricfilter-metrictransformation-metricvalue
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Logs.MetricFilter.MetricTransformation')]
[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 ", ")."
}
})]
$MetricName,
[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 ", ")."
}
})]
$MetricNamespace,
[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 ", ")."
}
})]
$MetricValue
)
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.Logs.MetricFilter.MetricTransformation'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSApiGatewayUsagePlanThrottleSettings.ps1
|
Add-VSApiGatewayUsagePlanThrottleSettings.ps1
|
function Add-VSApiGatewayUsagePlanThrottleSettings {
<#
.SYNOPSIS
Adds an AWS::ApiGateway::UsagePlan.ThrottleSettings resource property to the template
.DESCRIPTION
Adds an AWS::ApiGateway::UsagePlan.ThrottleSettings resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-throttlesettings.html
.PARAMETER BurstLimit
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-throttlesettings.html#cfn-apigateway-usageplan-throttlesettings-burstlimit
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER RateLimit
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-throttlesettings.html#cfn-apigateway-usageplan-throttlesettings-ratelimit
PrimitiveType: Double
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ApiGateway.UsagePlan.ThrottleSettings')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$BurstLimit,
[parameter(Mandatory = $false)]
[System.Double]
$RateLimit
)
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.UsagePlan.ThrottleSettings'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksAppSslConfiguration.ps1
|
Add-VSOpsWorksAppSslConfiguration.ps1
|
function Add-VSOpsWorksAppSslConfiguration {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::App.SslConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::App.SslConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html
.PARAMETER Certificate
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html#cfn-opsworks-app-sslconfig-certificate
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Chain
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html#cfn-opsworks-app-sslconfig-chain
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER PrivateKey
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-app-sslconfiguration.html#cfn-opsworks-app-sslconfig-privatekey
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.App.SslConfiguration')]
[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 ", ")."
}
})]
$Certificate,
[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 ", ")."
}
})]
$Chain,
[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 ", ")."
}
})]
$PrivateKey
)
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.SslConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketReplicationRule.ps1
|
Add-VSS3BucketReplicationRule.ps1
|
function Add-VSS3BucketReplicationRule {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.ReplicationRule resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.ReplicationRule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html
.PARAMETER Destination
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-destination
Required: True
Type: ReplicationDestination
UpdateType: Mutable
.PARAMETER Id
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-id
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Prefix
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-prefix
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Status
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicationconfiguration-rules.html#cfn-s3-bucket-replicationconfiguration-rules-status
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.ReplicationRule')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$Destination,
[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 = $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 ", ")."
}
})]
$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
)
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.ReplicationRule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAppCookieStickinessPolicy.ps1
|
Add-VSElasticLoadBalancingLoadBalancerAppCookieStickinessPolicy.ps1
|
function Add-VSElasticLoadBalancingLoadBalancerAppCookieStickinessPolicy {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancing::LoadBalancer.AppCookieStickinessPolicy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-AppCookieStickinessPolicy.html
.PARAMETER CookieName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-AppCookieStickinessPolicy.html#cfn-elb-appcookiestickinesspolicy-cookiename
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER PolicyName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-AppCookieStickinessPolicy.html#cfn-elb-appcookiestickinesspolicy-policyname
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.AppCookieStickinessPolicy')]
[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 ", ")."
}
})]
$CookieName,
[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 ", ")."
}
})]
$PolicyName
)
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.AppCookieStickinessPolicy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSDataPipelinePipelinePipelineTag.ps1
|
Add-VSDataPipelinePipelinePipelineTag.ps1
|
function Add-VSDataPipelinePipelinePipelineTag {
<#
.SYNOPSIS
Adds an AWS::DataPipeline::Pipeline.PipelineTag resource property to the template
.DESCRIPTION
Adds an AWS::DataPipeline::Pipeline.PipelineTag resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html#cfn-datapipeline-pipeline-pipelinetags-key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelinetags.html#cfn-datapipeline-pipeline-pipelinetags-value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.DataPipeline.Pipeline.PipelineTag')]
[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 ", ")."
}
})]
$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 ", ")."
}
})]
$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.DataPipeline.Pipeline.PipelineTag'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFIPSetIPSetDescriptor.ps1
|
Add-VSWAFIPSetIPSetDescriptor.ps1
|
function Add-VSWAFIPSetIPSetDescriptor {
<#
.SYNOPSIS
Adds an AWS::WAF::IPSet.IPSetDescriptor resource property to the template
.DESCRIPTION
Adds an AWS::WAF::IPSet.IPSetDescriptor resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-ipset-ipsetdescriptors.html
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-ipset-ipsetdescriptors.html#cfn-waf-ipset-ipsetdescriptors-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-ipset-ipsetdescriptors.html#cfn-waf-ipset-ipsetdescriptors-value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.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.WAF.IPSet.IPSetDescriptor'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRoute53HealthCheckHealthCheckTag.ps1
|
Add-VSRoute53HealthCheckHealthCheckTag.ps1
|
function Add-VSRoute53HealthCheckHealthCheckTag {
<#
.SYNOPSIS
Adds an AWS::Route53::HealthCheck.HealthCheckTag resource property to the template
.DESCRIPTION
Adds an AWS::Route53::HealthCheck.HealthCheckTag resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthchecktag.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthchecktag.html#cfn-route53-healthchecktags-key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-healthcheck-healthchecktag.html#cfn-route53-healthchecktags-value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Route53.HealthCheck.HealthCheckTag')]
[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 ", ")."
}
})]
$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 ", ")."
}
})]
$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.Route53.HealthCheck.HealthCheckTag'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSAutoScalingLaunchConfigurationBlockDevice.ps1
|
Add-VSAutoScalingLaunchConfigurationBlockDevice.ps1
|
function Add-VSAutoScalingLaunchConfigurationBlockDevice {
<#
.SYNOPSIS
Adds an AWS::AutoScaling::LaunchConfiguration.BlockDevice resource property to the template
.DESCRIPTION
Adds an AWS::AutoScaling::LaunchConfiguration.BlockDevice resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html
.PARAMETER DeleteOnTermination
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-deleteonterm
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Encrypted
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-encrypted
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER Iops
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-iops
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER SnapshotId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-snapshotid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER VolumeSize
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-volumesize
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER VolumeType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig-blockdev-template.html#cfn-as-launchconfig-blockdev-template-volumetype
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.AutoScaling.LaunchConfiguration.BlockDevice')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$DeleteOnTermination,
[parameter(Mandatory = $false)]
[System.Boolean]
$Encrypted,
[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.AutoScaling.LaunchConfiguration.BlockDevice'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalXssMatchSetXssMatchTuple.ps1
|
Add-VSWAFRegionalXssMatchSetXssMatchTuple.ps1
|
function Add-VSWAFRegionalXssMatchSetXssMatchTuple {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::XssMatchSet.XssMatchTuple resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::XssMatchSet.XssMatchTuple resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html
.PARAMETER TextTransformation
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html#cfn-wafregional-xssmatchset-xssmatchtuple-texttransformation
PrimitiveType: String
UpdateType: Mutable
.PARAMETER FieldToMatch
Type: FieldToMatch
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html#cfn-wafregional-xssmatchset-xssmatchtuple-fieldtomatch
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.XssMatchSet.XssMatchTuple')]
[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 ", ")."
}
})]
$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.XssMatchSet.XssMatchTuple'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRoute53RecordSetGroupAliasTarget.ps1
|
Add-VSRoute53RecordSetGroupAliasTarget.ps1
|
function Add-VSRoute53RecordSetGroupAliasTarget {
<#
.SYNOPSIS
Adds an AWS::Route53::RecordSetGroup.AliasTarget resource property to the template
.DESCRIPTION
Adds an AWS::Route53::RecordSetGroup.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.RecordSetGroup.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.RecordSetGroup.AliasTarget'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIoTThingAttributePayload.ps1
|
Add-VSIoTThingAttributePayload.ps1
|
function Add-VSIoTThingAttributePayload {
<#
.SYNOPSIS
Adds an AWS::IoT::Thing.AttributePayload resource property to the template
.DESCRIPTION
Adds an AWS::IoT::Thing.AttributePayload resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thing-attributepayload.html
.PARAMETER Attributes
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-thing-attributepayload.html#cfn-iot-thing-attributepayload-attributes
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: Map
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IoT.Thing.AttributePayload')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Collections.Hashtable]
$Attributes
)
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.Thing.AttributePayload'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSRDSOptionGroupOptionConfiguration.ps1
|
Add-VSRDSOptionGroupOptionConfiguration.ps1
|
function Add-VSRDSOptionGroupOptionConfiguration {
<#
.SYNOPSIS
Adds an AWS::RDS::OptionGroup.OptionConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::RDS::OptionGroup.OptionConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html
.PARAMETER DBSecurityGroupMemberships
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-dbsecuritygroupmemberships
DuplicatesAllowed: True
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER OptionName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-optionname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER OptionSettings
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-optionsettings
Required: False
Type: OptionSetting
UpdateType: Mutable
.PARAMETER Port
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-port
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER VpcSecurityGroupMemberships
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-optiongroup-optionconfigurations.html#cfn-rds-optiongroup-optionconfigurations-vpcsecuritygroupmemberships
DuplicatesAllowed: True
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.RDS.OptionGroup.OptionConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$DBSecurityGroupMemberships,
[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 = $false)]
$OptionSettings,
[parameter(Mandatory = $false)]
[Int]
$Port,
[parameter(Mandatory = $false)]
$VpcSecurityGroupMemberships
)
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.RDS.OptionGroup.OptionConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelinePipelineEncryptionKey.ps1
|
Add-VSCodePipelinePipelineEncryptionKey.ps1
|
function Add-VSCodePipelinePipelineEncryptionKey {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::Pipeline.EncryptionKey resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::Pipeline.EncryptionKey resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore-encryptionkey.html
.PARAMETER Id
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore-encryptionkey.html#cfn-codepipeline-pipeline-artifactstore-encryptionkey-id
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore-encryptionkey.html#cfn-codepipeline-pipeline-artifactstore-encryptionkey-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.Pipeline.EncryptionKey')]
[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 ", ")."
}
})]
$Id,
[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.EncryptionKey'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoUserPoolPolicies.ps1
|
Add-VSCognitoUserPoolPolicies.ps1
|
function Add-VSCognitoUserPoolPolicies {
<#
.SYNOPSIS
Adds an AWS::Cognito::UserPool.Policies resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::UserPool.Policies resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html
.PARAMETER PasswordPolicy
Type: PasswordPolicy
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-policies.html#cfn-cognito-userpool-policies-passwordpolicy
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.UserPool.Policies')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$PasswordPolicy
)
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.Policies'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingV2TargetGroupTargetDescription.ps1
|
Add-VSElasticLoadBalancingV2TargetGroupTargetDescription.ps1
|
function Add-VSElasticLoadBalancingV2TargetGroupTargetDescription {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancingV2::TargetGroup.TargetDescription resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetdescription.html
.PARAMETER Id
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetdescription.html#cfn-elasticloadbalancingv2-targetgroup-targetdescription-id
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Port
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-targetgroup-targetdescription.html#cfn-elasticloadbalancingv2-targetgroup-targetdescription-port
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancingV2.TargetGroup.TargetDescription')]
[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 ", ")."
}
})]
$Id,
[parameter(Mandatory = $false)]
[Int]
$Port
)
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.TargetDescription'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksStackRdsDbInstance.ps1
|
Add-VSOpsWorksStackRdsDbInstance.ps1
|
function Add-VSOpsWorksStackRdsDbInstance {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Stack.RdsDbInstance resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Stack.RdsDbInstance resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html
.PARAMETER DbPassword
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html#cfn-opsworks-stack-rdsdbinstance-dbpassword
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER DbUser
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html#cfn-opsworks-stack-rdsdbinstance-dbuser
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER RdsDbInstanceArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-stack-rdsdbinstance.html#cfn-opsworks-stack-rdsdbinstance-rdsdbinstancearn
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Stack.RdsDbInstance')]
[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 ", ")."
}
})]
$DbPassword,
[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 ", ")."
}
})]
$DbUser,
[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 ", ")."
}
})]
$RdsDbInstanceArn
)
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.RdsDbInstance'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFXssMatchSetFieldToMatch.ps1
|
Add-VSWAFXssMatchSetFieldToMatch.ps1
|
function Add-VSWAFXssMatchSetFieldToMatch {
<#
.SYNOPSIS
Adds an AWS::WAF::XssMatchSet.FieldToMatch resource property to the template
.DESCRIPTION
Adds an AWS::WAF::XssMatchSet.FieldToMatch resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple-fieldtomatch.html
.PARAMETER Data
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple-fieldtomatch.html#cfn-waf-xssmatchset-xssmatchtuple-fieldtomatch-data
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-xssmatchset-xssmatchtuple-fieldtomatch.html#cfn-waf-xssmatchset-xssmatchtuple-fieldtomatch-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.XssMatchSet.FieldToMatch')]
[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 ", ")."
}
})]
$Data,
[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.WAF.XssMatchSet.FieldToMatch'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSTaskDefinitionVolume.ps1
|
Add-VSECSTaskDefinitionVolume.ps1
|
function Add-VSECSTaskDefinitionVolume {
<#
.SYNOPSIS
Adds an AWS::ECS::TaskDefinition.Volume resource property to the template
.DESCRIPTION
Adds an AWS::ECS::TaskDefinition.Volume resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html
.PARAMETER Host
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volumes-host
Required: False
Type: HostVolumeProperties
UpdateType: Immutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-volumes.html#cfn-ecs-taskdefinition-volumes-name
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.TaskDefinition.Volume')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$Host,
[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
)
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.Volume'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketS3KeyFilter.ps1
|
Add-VSS3BucketS3KeyFilter.ps1
|
function Add-VSS3BucketS3KeyFilter {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.S3KeyFilter resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.S3KeyFilter resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key.html
.PARAMETER Rules
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key-rules
DuplicatesAllowed: False
ItemType: FilterRule
Required: True
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.S3KeyFilter')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.S3.Bucket.FilterRule"
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.S3.Bucket.S3KeyFilter'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketFilterRule.ps1
|
Add-VSS3BucketFilterRule.ps1
|
function Add-VSS3BucketFilterRule {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.FilterRule resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.FilterRule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key-rules-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfiguration-config-filter-s3key-rules.html#cfn-s3-bucket-notificationconfiguraiton-config-filter-s3key-rules-value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.FilterRule')]
[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 ", ")."
}
})]
$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.S3.Bucket.FilterRule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSTaskDefinitionVolumeFrom.ps1
|
Add-VSECSTaskDefinitionVolumeFrom.ps1
|
function Add-VSECSTaskDefinitionVolumeFrom {
<#
.SYNOPSIS
Adds an AWS::ECS::TaskDefinition.VolumeFrom resource property to the template
.DESCRIPTION
Adds an AWS::ECS::TaskDefinition.VolumeFrom resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html
.PARAMETER ReadOnly
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom-readonly
PrimitiveType: Boolean
Required: False
UpdateType: Immutable
.PARAMETER SourceContainer
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-containerdefinitions-volumesfrom.html#cfn-ecs-taskdefinition-containerdefinition-volumesfrom-sourcecontainer
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.TaskDefinition.VolumeFrom')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$ReadOnly,
[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 ", ")."
}
})]
$SourceContainer
)
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.VolumeFrom'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeBuildProjectSource.ps1
|
Add-VSCodeBuildProjectSource.ps1
|
function Add-VSCodeBuildProjectSource {
<#
.SYNOPSIS
Adds an AWS::CodeBuild::Project.Source resource property to the template
.DESCRIPTION
Adds an AWS::CodeBuild::Project.Source resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html
.PARAMETER Type
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Auth
Type: SourceAuth
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-auth
UpdateType: Mutable
.PARAMETER BuildSpec
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-buildspec
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Location
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-source.html#cfn-codebuild-project-source-location
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeBuild.Project.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 ", ")."
}
})]
$Type,
[parameter(Mandatory = $false)]
$Auth,
[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 ", ")."
}
})]
$BuildSpec,
[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 ", ")."
}
})]
$Location
)
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.CodeBuild.Project.Source'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketLoggingConfiguration.ps1
|
Add-VSS3BucketLoggingConfiguration.ps1
|
function Add-VSS3BucketLoggingConfiguration {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.LoggingConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.LoggingConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfig.html
.PARAMETER DestinationBucketName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfig.html#cfn-s3-bucket-loggingconfig-destinationbucketname
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER LogFilePrefix
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-loggingconfig.html#cfn-s3-bucket-loggingconfig-logfileprefix
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.LoggingConfiguration')]
[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 ", ")."
}
})]
$DestinationBucketName,
[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 ", ")."
}
})]
$LogFilePrefix
)
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.LoggingConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamRedshiftDestinationConfiguration.ps1
|
Add-VSKinesisFirehoseDeliveryStreamRedshiftDestinationConfiguration.ps1
|
function Add-VSKinesisFirehoseDeliveryStreamRedshiftDestinationConfiguration {
<#
.SYNOPSIS
Adds an AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::KinesisFirehose::DeliveryStream.RedshiftDestinationConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html
.PARAMETER CloudWatchLoggingOptions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration-cloudwatchloggingoptions
Required: False
Type: CloudWatchLoggingOptions
UpdateType: Mutable
.PARAMETER ClusterJDBCURL
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration-clusterjdbcurl
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER CopyCommand
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration-copycommand
Required: True
Type: CopyCommand
UpdateType: Mutable
.PARAMETER Password
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration-password
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER RoleARN
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration-rolearn
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER S3Configuration
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration-s3configuration
Required: True
Type: S3DestinationConfiguration
UpdateType: Mutable
.PARAMETER Username
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-redshiftdestinationconfiguration-usename
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.KinesisFirehose.DeliveryStream.RedshiftDestinationConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$CloudWatchLoggingOptions,
[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 ", ")."
}
})]
$ClusterJDBCURL,
[parameter(Mandatory = $true)]
$CopyCommand,
[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 ", ")."
}
})]
$Password,
[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)]
$S3Configuration,
[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 ", ")."
}
})]
$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.KinesisFirehose.DeliveryStream.RedshiftDestinationConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupTagProperty.ps1
|
Add-VSAutoScalingAutoScalingGroupTagProperty.ps1
|
function Add-VSAutoScalingAutoScalingGroupTagProperty {
<#
.SYNOPSIS
Adds an AWS::AutoScaling::AutoScalingGroup.TagProperty resource property to the template
.DESCRIPTION
Adds an AWS::AutoScaling::AutoScalingGroup.TagProperty resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html#cfn-as-tags-Key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER PropagateAtLaunch
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html#cfn-as-tags-PropagateAtLaunch
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-tags.html#cfn-as-tags-Value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.AutoScaling.AutoScalingGroup.TagProperty')]
[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 ", ")."
}
})]
$Key,
[parameter(Mandatory = $true)]
[System.Boolean]
$PropagateAtLaunch,
[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.AutoScaling.AutoScalingGroup.TagProperty'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFSqlInjectionMatchSetFieldToMatch.ps1
|
Add-VSWAFSqlInjectionMatchSetFieldToMatch.ps1
|
function Add-VSWAFSqlInjectionMatchSetFieldToMatch {
<#
.SYNOPSIS
Adds an AWS::WAF::SqlInjectionMatchSet.FieldToMatch resource property to the template
.DESCRIPTION
Adds an AWS::WAF::SqlInjectionMatchSet.FieldToMatch resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html
.PARAMETER Data
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch-data
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-bytematchset-bytematchtuples-fieldtomatch.html#cfn-waf-sizeconstraintset-sizeconstraint-fieldtomatch-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.SqlInjectionMatchSet.FieldToMatch')]
[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 ", ")."
}
})]
$Data,
[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.WAF.SqlInjectionMatchSet.FieldToMatch'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodePipelinePipelineInputArtifact.ps1
|
Add-VSCodePipelinePipelineInputArtifact.ps1
|
function Add-VSCodePipelinePipelineInputArtifact {
<#
.SYNOPSIS
Adds an AWS::CodePipeline::Pipeline.InputArtifact resource property to the template
.DESCRIPTION
Adds an AWS::CodePipeline::Pipeline.InputArtifact resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-inputartifacts.html
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-inputartifacts.html#cfn-codepipeline-pipeline-stages-actions-inputartifacts-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodePipeline.Pipeline.InputArtifact')]
[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
)
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.InputArtifact'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketTransition.ps1
|
Add-VSS3BucketTransition.ps1
|
function Add-VSS3BucketTransition {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.Transition resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.Transition resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html
.PARAMETER StorageClass
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html#cfn-s3-bucket-lifecycleconfig-rule-transition-storageclass
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER TransitionDate
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html#cfn-s3-bucket-lifecycleconfig-rule-transition-transitiondate
PrimitiveType: Timestamp
Required: False
UpdateType: Mutable
.PARAMETER TransitionInDays
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-transition.html#cfn-s3-bucket-lifecycleconfig-rule-transition-transitionindays
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.Transition')]
[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 ", ")."
}
})]
$StorageClass,
[parameter(Mandatory = $false)]
$TransitionDate,
[parameter(Mandatory = $false)]
[Int]
$TransitionInDays
)
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.Transition'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSServicePlacementStrategy.ps1
|
Add-VSECSServicePlacementStrategy.ps1
|
function Add-VSECSServicePlacementStrategy {
<#
.SYNOPSIS
Adds an AWS::ECS::Service.PlacementStrategy resource property to the template
.DESCRIPTION
Adds an AWS::ECS::Service.PlacementStrategy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementstrategy.html
.PARAMETER Field
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementstrategy.html#cfn-ecs-service-placementstrategy-field
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-placementstrategy.html#cfn-ecs-service-placementstrategy-type
PrimitiveType: String
Required: True
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.Service.PlacementStrategy')]
[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 ", ")."
}
})]
$Field,
[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.PlacementStrategy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIAMUserLoginProfile.ps1
|
Add-VSIAMUserLoginProfile.ps1
|
function Add-VSIAMUserLoginProfile {
<#
.SYNOPSIS
Adds an AWS::IAM::User.LoginProfile resource property to the template
.DESCRIPTION
Adds an AWS::IAM::User.LoginProfile resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-loginprofile.html
.PARAMETER Password
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-loginprofile.html#cfn-iam-user-loginprofile-password
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER PasswordResetRequired
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-loginprofile.html#cfn-iam-user-loginprofile-passwordresetrequired
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IAM.User.LoginProfile')]
[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 ", ")."
}
})]
$Password,
[parameter(Mandatory = $false)]
[System.Boolean]
$PasswordResetRequired
)
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.IAM.User.LoginProfile'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCloudFrontDistributionGeoRestriction.ps1
|
Add-VSCloudFrontDistributionGeoRestriction.ps1
|
function Add-VSCloudFrontDistributionGeoRestriction {
<#
.SYNOPSIS
Adds an AWS::CloudFront::Distribution.GeoRestriction resource property to the template
.DESCRIPTION
Adds an AWS::CloudFront::Distribution.GeoRestriction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-restrictions-georestriction.html
.PARAMETER Locations
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-restrictions-georestriction.html#cfn-cloudfront-distributionconfig-restrictions-georestriction-locations
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER RestrictionType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributionconfig-restrictions-georestriction.html#cfn-cloudfront-distributionconfig-restrictions-georestriction-restrictiontype
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CloudFront.Distribution.GeoRestriction')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$Locations,
[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 ", ")."
}
})]
$RestrictionType
)
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.GeoRestriction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSDynamoDBTableKeySchema.ps1
|
Add-VSDynamoDBTableKeySchema.ps1
|
function Add-VSDynamoDBTableKeySchema {
<#
.SYNOPSIS
Adds an AWS::DynamoDB::Table.KeySchema resource property to the template
.DESCRIPTION
Adds an AWS::DynamoDB::Table.KeySchema resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-keyschema.html
.PARAMETER AttributeName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-keyschema.html#aws-properties-dynamodb-keyschema-attributename
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER KeyType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-keyschema.html#aws-properties-dynamodb-keyschema-keytype
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.DynamoDB.Table.KeySchema')]
[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 ", ")."
}
})]
$AttributeName,
[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 ", ")."
}
})]
$KeyType
)
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.KeySchema'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketNotificationConfiguration.ps1
|
Add-VSS3BucketNotificationConfiguration.ps1
|
function Add-VSS3BucketNotificationConfiguration {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.NotificationConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.NotificationConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html
.PARAMETER LambdaConfigurations
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig
DuplicatesAllowed: False
ItemType: LambdaConfiguration
Required: False
Type: List
UpdateType: Mutable
.PARAMETER QueueConfigurations
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html#cfn-s3-bucket-notificationconfig-queueconfig
DuplicatesAllowed: False
ItemType: QueueConfiguration
Required: False
Type: List
UpdateType: Mutable
.PARAMETER TopicConfigurations
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html#cfn-s3-bucket-notificationconfig-topicconfig
DuplicatesAllowed: False
ItemType: TopicConfiguration
Required: False
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.NotificationConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.S3.Bucket.LambdaConfiguration"
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 ", ")."
}
})]
$LambdaConfigurations,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.S3.Bucket.QueueConfiguration"
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 ", ")."
}
})]
$QueueConfigurations,
[parameter(Mandatory = $false)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.S3.Bucket.TopicConfiguration"
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 ", ")."
}
})]
$TopicConfigurations
)
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.NotificationConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCodeDeployDeploymentGroupRevisionLocation.ps1
|
Add-VSCodeDeployDeploymentGroupRevisionLocation.ps1
|
function Add-VSCodeDeployDeploymentGroupRevisionLocation {
<#
.SYNOPSIS
Adds an AWS::CodeDeploy::DeploymentGroup.RevisionLocation resource property to the template
.DESCRIPTION
Adds an AWS::CodeDeploy::DeploymentGroup.RevisionLocation resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html
.PARAMETER GitHubLocation
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-githublocation
Required: False
Type: GitHubLocation
UpdateType: Mutable
.PARAMETER RevisionType
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-revisiontype
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER S3Location
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-deployment-revision.html#cfn-properties-codedeploy-deploymentgroup-deployment-revision-s3location
Required: False
Type: S3Location
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.CodeDeploy.DeploymentGroup.RevisionLocation')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$GitHubLocation,
[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 ", ")."
}
})]
$RevisionType,
[parameter(Mandatory = $false)]
$S3Location
)
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.RevisionLocation'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIoTTopicRuleTopicRulePayload.ps1
|
Add-VSIoTTopicRuleTopicRulePayload.ps1
|
function Add-VSIoTTopicRuleTopicRulePayload {
<#
.SYNOPSIS
Adds an AWS::IoT::TopicRule.TopicRulePayload resource property to the template
.DESCRIPTION
Adds an AWS::IoT::TopicRule.TopicRulePayload resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrulepayload.html
.PARAMETER Actions
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrulepayload.html#cfn-iot-topicrulepayload-actions
DuplicatesAllowed: False
ItemType: Action
Required: True
Type: List
UpdateType: Mutable
.PARAMETER AwsIotSqlVersion
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrulepayload.html#cfn-iot-topicrulepayload-awsiotsqlversion
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Description
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrulepayload.html#cfn-iot-topicrulepayload-description
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER RuleDisabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrulepayload.html#cfn-iot-topicrulepayload-ruledisabled
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER Sql
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrulepayload.html#cfn-iot-topicrulepayload-sql
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IoT.TopicRule.TopicRulePayload')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.IoT.TopicRule.Action"
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 = "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 ", ")."
}
})]
$AwsIotSqlVersion,
[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]
$RuleDisabled,
[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 ", ")."
}
})]
$Sql
)
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.TopicRulePayload'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSConfigConfigRuleScope.ps1
|
Add-VSConfigConfigRuleScope.ps1
|
function Add-VSConfigConfigRuleScope {
<#
.SYNOPSIS
Adds an AWS::Config::ConfigRule.Scope resource property to the template
.DESCRIPTION
Adds an AWS::Config::ConfigRule.Scope resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html
.PARAMETER ComplianceResourceId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-complianceresourceid
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER ComplianceResourceTypes
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-complianceresourcetypes
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER TagKey
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-tagkey
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER TagValue
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html#cfn-config-configrule-scope-tagvalue
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Config.ConfigRule.Scope')]
[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 ", ")."
}
})]
$ComplianceResourceId,
[parameter(Mandatory = $false)]
$ComplianceResourceTypes,
[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 ", ")."
}
})]
$TagKey,
[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 ", ")."
}
})]
$TagValue
)
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.ConfigRule.Scope'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSAutoScalingAutoScalingGroupNotificationConfigurations.ps1
|
Add-VSAutoScalingAutoScalingGroupNotificationConfigurations.ps1
|
function Add-VSAutoScalingAutoScalingGroupNotificationConfigurations {
<#
.SYNOPSIS
Adds an AWS::AutoScaling::AutoScalingGroup.NotificationConfigurations resource property to the template
.DESCRIPTION
Adds an AWS::AutoScaling::AutoScalingGroup.NotificationConfigurations resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-notificationconfigurations.html
.PARAMETER NotificationTypes
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-notificationconfigurations.html#cfn-as-group-notificationconfigurations-notificationtypes
DuplicatesAllowed: True
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER TopicARN
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-notificationconfigurations.html#cfn-autoscaling-autoscalinggroup-notificationconfigurations-topicarn
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.AutoScaling.AutoScalingGroup.NotificationConfigurations')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
$NotificationTypes,
[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 ", ")."
}
})]
$TopicARN
)
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.NotificationConfigurations'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFWebACLWafAction.ps1
|
Add-VSWAFWebACLWafAction.ps1
|
function Add-VSWAFWebACLWafAction {
<#
.SYNOPSIS
Adds an AWS::WAF::WebACL.WafAction resource property to the template
.DESCRIPTION
Adds an AWS::WAF::WebACL.WafAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-action.html
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-action.html#cfn-waf-webacl-action-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.WebACL.WafAction')]
[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
)
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.WebACL.WafAction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSLambdaFunctionVpcConfig.ps1
|
Add-VSLambdaFunctionVpcConfig.ps1
|
function Add-VSLambdaFunctionVpcConfig {
<#
.SYNOPSIS
Adds an AWS::Lambda::Function.VpcConfig resource property to the template
.DESCRIPTION
Adds an AWS::Lambda::Function.VpcConfig resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html
.PARAMETER SecurityGroupIds
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html#cfn-lambda-function-vpcconfig-securitygroupids
DuplicatesAllowed: False
PrimitiveItemType: String
Required: True
Type: List
UpdateType: Mutable
.PARAMETER SubnetIds
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-vpcconfig.html#cfn-lambda-function-vpcconfig-subnetids
DuplicatesAllowed: False
PrimitiveItemType: String
Required: True
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Lambda.Function.VpcConfig')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$SecurityGroupIds,
[parameter(Mandatory = $true)]
$SubnetIds
)
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.VpcConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketLambdaConfiguration.ps1
|
Add-VSS3BucketLambdaConfiguration.ps1
|
function Add-VSS3BucketLambdaConfiguration {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.LambdaConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.LambdaConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html
.PARAMETER Event
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig-event
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Filter
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig-filter
Required: False
Type: NotificationFilter
UpdateType: Mutable
.PARAMETER Function
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-lambdaconfig.html#cfn-s3-bucket-notificationconfig-lambdaconfig-function
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.LambdaConfiguration')]
[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 ", ")."
}
})]
$Event,
[parameter(Mandatory = $false)]
$Filter,
[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 ", ")."
}
})]
$Function
)
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.LambdaConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamBufferingHints.ps1
|
Add-VSKinesisFirehoseDeliveryStreamBufferingHints.ps1
|
function Add-VSKinesisFirehoseDeliveryStreamBufferingHints {
<#
.SYNOPSIS
Adds an AWS::KinesisFirehose::DeliveryStream.BufferingHints resource property to the template
.DESCRIPTION
Adds an AWS::KinesisFirehose::DeliveryStream.BufferingHints resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-bufferinghints.html
.PARAMETER IntervalInSeconds
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-bufferinghints.html#cfn-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-bufferinghints-intervalinseconds
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER SizeInMBs
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-bufferinghints.html#cfn-kinesisfirehose-kinesisdeliverystream-s3destinationconfiguration-bufferinghints-sizeinmbs
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.KinesisFirehose.DeliveryStream.BufferingHints')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[Int]
$IntervalInSeconds,
[parameter(Mandatory = $true)]
[Int]
$SizeInMBs
)
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.BufferingHints'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2InstanceAssociationParameter.ps1
|
Add-VSEC2InstanceAssociationParameter.ps1
|
function Add-VSEC2InstanceAssociationParameter {
<#
.SYNOPSIS
Adds an AWS::EC2::Instance.AssociationParameter resource property to the template
.DESCRIPTION
Adds an AWS::EC2::Instance.AssociationParameter resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html#cfn-ec2-instance-ssmassociations-associationparameters-key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance-ssmassociations-associationparameters.html#cfn-ec2-instance-ssmassociations-associationparameters-value
DuplicatesAllowed: True
PrimitiveItemType: String
Required: True
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.Instance.AssociationParameter')]
[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 ", ")."
}
})]
$Key,
[parameter(Mandatory = $true)]
$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.EC2.Instance.AssociationParameter'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2InstancePrivateIpAddressSpecification.ps1
|
Add-VSEC2InstancePrivateIpAddressSpecification.ps1
|
function Add-VSEC2InstancePrivateIpAddressSpecification {
<#
.SYNOPSIS
Adds an AWS::EC2::Instance.PrivateIpAddressSpecification resource property to the template
.DESCRIPTION
Adds an AWS::EC2::Instance.PrivateIpAddressSpecification resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-interface-privateipspec.html
.PARAMETER Primary
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-interface-privateipspec.html#cfn-ec2-networkinterface-privateipspecification-primary
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER PrivateIpAddress
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-network-interface-privateipspec.html#cfn-ec2-networkinterface-privateipspecification-privateipaddress
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.Instance.PrivateIpAddressSpecification')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[System.Boolean]
$Primary,
[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 ", ")."
}
})]
$PrivateIpAddress
)
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.PrivateIpAddressSpecification'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalWebACLAction.ps1
|
Add-VSWAFRegionalWebACLAction.ps1
|
function Add-VSWAFRegionalWebACLAction {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::WebACL.Action resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::WebACL.Action resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-action.html
.PARAMETER Type
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-action.html#cfn-wafregional-webacl-action-type
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.WebACL.Action')]
[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
)
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.WebACL.Action'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSKinesisFirehoseDeliveryStreamElasticsearchBufferingHints.ps1
|
Add-VSKinesisFirehoseDeliveryStreamElasticsearchBufferingHints.ps1
|
function Add-VSKinesisFirehoseDeliveryStreamElasticsearchBufferingHints {
<#
.SYNOPSIS
Adds an AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints resource property to the template
.DESCRIPTION
Adds an AWS::KinesisFirehose::DeliveryStream.ElasticsearchBufferingHints resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-elasticsearchdestinationconfiguration.html
.PARAMETER IntervalInSeconds
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-elasticsearchdestinationconfiguration-bufferinghints-intervalinseconds
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER SizeInMBs
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-kinesisdeliverystream-elasticsearchdestinationconfiguration.html#cfn-kinesisfirehose-kinesisdeliverystream-elasticsearchdestinationconfiguration-bufferinghints-sizeinmbs
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.KinesisFirehose.DeliveryStream.ElasticsearchBufferingHints')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[Int]
$IntervalInSeconds,
[parameter(Mandatory = $true)]
[Int]
$SizeInMBs
)
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.ElasticsearchBufferingHints'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetIamInstanceProfileSpecification.ps1
|
Add-VSEC2SpotFleetIamInstanceProfileSpecification.ps1
|
function Add-VSEC2SpotFleetIamInstanceProfileSpecification {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.IamInstanceProfileSpecification resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.IamInstanceProfileSpecification resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-iaminstanceprofile.html
.PARAMETER Arn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-iaminstanceprofile.html#cfn-ec2-spotfleet-iaminstanceprofilespecification-arn
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.IamInstanceProfileSpecification')]
[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 ", ")."
}
})]
$Arn
)
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.IamInstanceProfileSpecification'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerAccessLoggingPolicy.ps1
|
Add-VSElasticLoadBalancingLoadBalancerAccessLoggingPolicy.ps1
|
function Add-VSElasticLoadBalancingLoadBalancerAccessLoggingPolicy {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancing::LoadBalancer.AccessLoggingPolicy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-accessloggingpolicy.html
.PARAMETER EmitInterval
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-accessloggingpolicy.html#cfn-elb-accessloggingpolicy-emitinterval
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER Enabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-accessloggingpolicy.html#cfn-elb-accessloggingpolicy-enabled
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER S3BucketName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-accessloggingpolicy.html#cfn-elb-accessloggingpolicy-s3bucketname
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER S3BucketPrefix
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-accessloggingpolicy.html#cfn-elb-accessloggingpolicy-s3bucketprefix
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.AccessLoggingPolicy')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$EmitInterval,
[parameter(Mandatory = $true)]
[System.Boolean]
$Enabled,
[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 ", ")."
}
})]
$S3BucketName,
[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 ", ")."
}
})]
$S3BucketPrefix
)
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.AccessLoggingPolicy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSApplicationAutoScalingScalingPolicyStepAdjustment.ps1
|
Add-VSApplicationAutoScalingScalingPolicyStepAdjustment.ps1
|
function Add-VSApplicationAutoScalingScalingPolicyStepAdjustment {
<#
.SYNOPSIS
Adds an AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment resource property to the template
.DESCRIPTION
Adds an AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html
.PARAMETER MetricIntervalLowerBound
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment-metricintervallowerbound
PrimitiveType: Double
Required: False
UpdateType: Mutable
.PARAMETER MetricIntervalUpperBound
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment-metricintervalupperbound
PrimitiveType: Double
Required: False
UpdateType: Mutable
.PARAMETER ScalingAdjustment
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment.html#cfn-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration-stepadjustment-scalingadjustment
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ApplicationAutoScaling.ScalingPolicy.StepAdjustment')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Double]
$MetricIntervalLowerBound,
[parameter(Mandatory = $false)]
[System.Double]
$MetricIntervalUpperBound,
[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.ApplicationAutoScaling.ScalingPolicy.StepAdjustment'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig.ps1
|
Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig.ps1
|
function Add-VSEMRInstanceGroupConfigEbsBlockDeviceConfig {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.EbsBlockDeviceConfig resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.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.InstanceGroupConfig.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.InstanceGroupConfig.EbsBlockDeviceConfig'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigMetricDimension.ps1
|
Add-VSEMRInstanceGroupConfigMetricDimension.ps1
|
function Add-VSEMRInstanceGroupConfigMetricDimension {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.MetricDimension resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.MetricDimension resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-metricdimension.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-metricdimension.html#cfn-elasticmapreduce-instancegroupconfig-metricdimension-key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-metricdimension.html#cfn-elasticmapreduce-instancegroupconfig-metricdimension-value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.MetricDimension')]
[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 ", ")."
}
})]
$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 ", ")."
}
})]
$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.EMR.InstanceGroupConfig.MetricDimension'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetIamInstanceProfile.ps1
|
Add-VSEC2SpotFleetIamInstanceProfile.ps1
|
function Add-VSEC2SpotFleetIamInstanceProfile {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.IamInstanceProfile resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.IamInstanceProfile resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-iaminstanceprofile.html
.PARAMETER Arn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-iaminstanceprofile.html#cfn-ec2-spotfleet-iaminstanceprofile-arn
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.IamInstanceProfile')]
[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 ", ")."
}
})]
$Arn
)
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.IamInstanceProfile'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerListeners.ps1
|
Add-VSElasticLoadBalancingLoadBalancerListeners.ps1
|
function Add-VSElasticLoadBalancingLoadBalancerListeners {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancing::LoadBalancer.Listeners resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancing::LoadBalancer.Listeners resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html
.PARAMETER InstancePort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html#cfn-ec2-elb-listener-instanceport
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER InstanceProtocol
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html#cfn-ec2-elb-listener-instanceprotocol
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER LoadBalancerPort
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html#cfn-ec2-elb-listener-loadbalancerport
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER PolicyNames
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html#cfn-ec2-elb-listener-policynames
DuplicatesAllowed: False
PrimitiveItemType: String
Required: False
Type: List
UpdateType: Mutable
.PARAMETER Protocol
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html#cfn-ec2-elb-listener-protocol
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER SSLCertificateId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-listener.html#cfn-ec2-elb-listener-sslcertificateid
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.Listeners')]
[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 ", ")."
}
})]
$InstancePort,
[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 ", ")."
}
})]
$InstanceProtocol,
[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 ", ")."
}
})]
$LoadBalancerPort,
[parameter(Mandatory = $false)]
$PolicyNames,
[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 = $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 ", ")."
}
})]
$SSLCertificateId
)
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.Listeners'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetPrivateIpAddresses.ps1
|
Add-VSEC2SpotFleetPrivateIpAddresses.ps1
|
function Add-VSEC2SpotFleetPrivateIpAddresses {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.PrivateIpAddresses resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.PrivateIpAddresses resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-networkinterfaces-privateipaddresses.html
.PARAMETER Primary
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-networkinterfaces-privateipaddresses.html#cfn-ec2-spotfleet-privateipaddresses-primary
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER PrivateIpAddress
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-networkinterfaces-privateipaddresses.html#cfn-ec2-spotfleet-privateipaddresses-privateipaddress
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.PrivateIpAddresses')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$Primary,
[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 ", ")."
}
})]
$PrivateIpAddress
)
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.PrivateIpAddresses'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetPrivateIpAddressSpecification.ps1
|
Add-VSEC2SpotFleetPrivateIpAddressSpecification.ps1
|
function Add-VSEC2SpotFleetPrivateIpAddressSpecification {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.PrivateIpAddressSpecification resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.PrivateIpAddressSpecification resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-networkinterfaces-privateipaddresses.html
.PARAMETER Primary
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-networkinterfaces-privateipaddresses.html#cfn-ec2-spotfleet-privateipaddressspecification-primary
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER PrivateIpAddress
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-networkinterfaces-privateipaddresses.html#cfn-ec2-spotfleet-privateipaddressspecification-privateipaddress
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.PrivateIpAddressSpecification')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$Primary,
[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 ", ")."
}
})]
$PrivateIpAddress
)
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.PrivateIpAddressSpecification'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEC2SpotFleetSpotFleetMonitoring.ps1
|
Add-VSEC2SpotFleetSpotFleetMonitoring.ps1
|
function Add-VSEC2SpotFleetSpotFleetMonitoring {
<#
.SYNOPSIS
Adds an AWS::EC2::SpotFleet.SpotFleetMonitoring resource property to the template
.DESCRIPTION
Adds an AWS::EC2::SpotFleet.SpotFleetMonitoring resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-monitoring.html
.PARAMETER Enabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetrequestconfigdata-launchspecifications-monitoring.html#cfn-ec2-spotfleet-spotfleetmonitoring-enabled
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EC2.SpotFleet.SpotFleetMonitoring')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$Enabled
)
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.SpotFleetMonitoring'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingLoadBalancerConnectionDrainingPolicy.ps1
|
Add-VSElasticLoadBalancingLoadBalancerConnectionDrainingPolicy.ps1
|
function Add-VSElasticLoadBalancingLoadBalancerConnectionDrainingPolicy {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancing::LoadBalancer.ConnectionDrainingPolicy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-connectiondrainingpolicy.html
.PARAMETER Enabled
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-connectiondrainingpolicy.html#cfn-elb-connectiondrainingpolicy-enabled
PrimitiveType: Boolean
Required: True
UpdateType: Mutable
.PARAMETER Timeout
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-elb-connectiondrainingpolicy.html#cfn-elb-connectiondrainingpolicy-timeout
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancing.LoadBalancer.ConnectionDrainingPolicy')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[System.Boolean]
$Enabled,
[parameter(Mandatory = $false)]
[Int]
$Timeout
)
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.ConnectionDrainingPolicy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSApiGatewayRestApiS3Location.ps1
|
Add-VSApiGatewayRestApiS3Location.ps1
|
function Add-VSApiGatewayRestApiS3Location {
<#
.SYNOPSIS
Adds an AWS::ApiGateway::RestApi.S3Location resource property to the template
.DESCRIPTION
Adds an AWS::ApiGateway::RestApi.S3Location resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-restapi-bodys3location.html
.PARAMETER Bucket
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-restapi-bodys3location.html#cfn-apigateway-restapi-s3location-bucket
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER ETag
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-restapi-bodys3location.html#cfn-apigateway-restapi-s3location-etag
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-restapi-bodys3location.html#cfn-apigateway-restapi-s3location-key
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Version
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apitgateway-restapi-bodys3location.html#cfn-apigateway-restapi-s3location-version
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ApiGateway.RestApi.S3Location')]
[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 ", ")."
}
})]
$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 ", ")."
}
})]
$ETag,
[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 ", ")."
}
})]
$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.ApiGateway.RestApi.S3Location'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketCorsConfiguration.ps1
|
Add-VSS3BucketCorsConfiguration.ps1
|
function Add-VSS3BucketCorsConfiguration {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.CorsConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.CorsConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors.html
.PARAMETER CorsRules
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-cors.html#cfn-s3-bucket-cors-corsrule
DuplicatesAllowed: False
ItemType: CorsRule
Required: True
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.CorsConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.S3.Bucket.CorsRule"
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 ", ")."
}
})]
$CorsRules
)
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.CorsConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentMappingRule.ps1
|
Add-VSCognitoIdentityPoolRoleAttachmentMappingRule.ps1
|
function Add-VSCognitoIdentityPoolRoleAttachmentMappingRule {
<#
.SYNOPSIS
Adds an AWS::Cognito::IdentityPoolRoleAttachment.MappingRule resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::IdentityPoolRoleAttachment.MappingRule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html
.PARAMETER MatchType
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-matchtype
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Value
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-value
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Claim
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-claim
PrimitiveType: String
UpdateType: Mutable
.PARAMETER RoleARN
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-mappingrule.html#cfn-cognito-identitypoolroleattachment-mappingrule-rolearn
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.IdentityPoolRoleAttachment.MappingRule')]
[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 ", ")."
}
})]
$MatchType,
[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,
[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 ", ")."
}
})]
$Claim,
[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
)
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.MappingRule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSS3BucketNoncurrentVersionTransition.ps1
|
Add-VSS3BucketNoncurrentVersionTransition.ps1
|
function Add-VSS3BucketNoncurrentVersionTransition {
<#
.SYNOPSIS
Adds an AWS::S3::Bucket.NoncurrentVersionTransition resource property to the template
.DESCRIPTION
Adds an AWS::S3::Bucket.NoncurrentVersionTransition resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html
.PARAMETER StorageClass
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-storageclass
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER TransitionInDays
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition.html#cfn-s3-bucket-lifecycleconfig-rule-noncurrentversiontransition-transitionindays
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.S3.Bucket.NoncurrentVersionTransition')]
[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 ", ")."
}
})]
$StorageClass,
[parameter(Mandatory = $true)]
[Int]
$TransitionInDays
)
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.NoncurrentVersionTransition'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterAutoScalingPolicy.ps1
|
Add-VSEMRClusterAutoScalingPolicy.ps1
|
function Add-VSEMRClusterAutoScalingPolicy {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.AutoScalingPolicy resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.AutoScalingPolicy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html
.PARAMETER Constraints
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html#cfn-elasticmapreduce-cluster-autoscalingpolicy-constraints
Required: True
Type: ScalingConstraints
UpdateType: Mutable
.PARAMETER Rules
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-autoscalingpolicy.html#cfn-elasticmapreduce-cluster-autoscalingpolicy-rules
DuplicatesAllowed: False
ItemType: ScalingRule
Required: True
Type: List
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.AutoScalingPolicy')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$Constraints,
[parameter(Mandatory = $true)]
[ValidateScript( {
$allowedTypes = "Vaporshell.Resource.EMR.Cluster.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.Cluster.AutoScalingPolicy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch.ps1
|
Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch.ps1
|
function Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch {
<#
.SYNOPSIS
Adds an AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch resource property to the template
.DESCRIPTION
Adds an AWS::WAFRegional::SqlInjectionMatchSet.FieldToMatch resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html
.PARAMETER Type
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html#cfn-wafregional-sqlinjectionmatchset-fieldtomatch-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER Data
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html#cfn-wafregional-sqlinjectionmatchset-fieldtomatch-data
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAFRegional.SqlInjectionMatchSet.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.SqlInjectionMatchSet.FieldToMatch'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingAction.ps1
|
Add-VSEMRInstanceGroupConfigScalingAction.ps1
|
function Add-VSEMRInstanceGroupConfigScalingAction {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.ScalingAction resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.ScalingAction resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingaction.html
.PARAMETER Market
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingaction.html#cfn-elasticmapreduce-instancegroupconfig-scalingaction-market
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER SimpleScalingPolicyConfiguration
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingaction.html#cfn-elasticmapreduce-instancegroupconfig-scalingaction-simplescalingpolicyconfiguration
Required: True
Type: SimpleScalingPolicyConfiguration
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.ScalingAction')]
[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 ", ")."
}
})]
$Market,
[parameter(Mandatory = $true)]
$SimpleScalingPolicyConfiguration
)
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.ScalingAction'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSWAFWebACLActivatedRule.ps1
|
Add-VSWAFWebACLActivatedRule.ps1
|
function Add-VSWAFWebACLActivatedRule {
<#
.SYNOPSIS
Adds an AWS::WAF::WebACL.ActivatedRule resource property to the template
.DESCRIPTION
Adds an AWS::WAF::WebACL.ActivatedRule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html
.PARAMETER Action
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html#cfn-waf-webacl-rules-action
Required: True
Type: WafAction
UpdateType: Mutable
.PARAMETER Priority
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html#cfn-waf-webacl-rules-priority
PrimitiveType: Integer
Required: True
UpdateType: Mutable
.PARAMETER RuleId
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-waf-webacl-rules.html#cfn-waf-webacl-rules-ruleid
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.WAF.WebACL.ActivatedRule')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$Action,
[parameter(Mandatory = $true)]
[Int]
$Priority,
[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 ", ")."
}
})]
$RuleId
)
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.WebACL.ActivatedRule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRStepKeyValue.ps1
|
Add-VSEMRStepKeyValue.ps1
|
function Add-VSEMRStepKeyValue {
<#
.SYNOPSIS
Adds an AWS::EMR::Step.KeyValue resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Step.KeyValue resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-keyvalue.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-keyvalue.html#cfn-elasticmapreduce-step-keyvalue-key
PrimitiveType: String
Required: False
UpdateType: Immutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-step-keyvalue.html#cfn-elasticmapreduce-step-keyvalue-value
PrimitiveType: String
Required: False
UpdateType: Immutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Step.KeyValue')]
[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.EMR.Step.KeyValue'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterMetricDimension.ps1
|
Add-VSEMRClusterMetricDimension.ps1
|
function Add-VSEMRClusterMetricDimension {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.MetricDimension resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.MetricDimension resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html#cfn-elasticmapreduce-cluster-metricdimension-key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Value
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-metricdimension.html#cfn-elasticmapreduce-cluster-metricdimension-value
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.MetricDimension')]
[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 ", ")."
}
})]
$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 ", ")."
}
})]
$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.EMR.Cluster.MetricDimension'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSElasticLoadBalancingV2ListenerAction.ps1
|
Add-VSElasticLoadBalancingV2ListenerAction.ps1
|
function Add-VSElasticLoadBalancingV2ListenerAction {
<#
.SYNOPSIS
Adds an AWS::ElasticLoadBalancingV2::Listener.Action resource property to the template
.DESCRIPTION
Adds an AWS::ElasticLoadBalancingV2::Listener.Action resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-defaultactions.html
.PARAMETER TargetGroupArn
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-defaultactions.html#cfn-elasticloadbalancingv2-listener-defaultactions-targetgrouparn
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Type
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listener-defaultactions.html#cfn-elasticloadbalancingv2-listener-defaultactions-type
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ElasticLoadBalancingV2.Listener.Action')]
[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 ", ")."
}
})]
$TargetGroupArn,
[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.ElasticLoadBalancingV2.Listener.Action'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRClusterScalingTrigger.ps1
|
Add-VSEMRClusterScalingTrigger.ps1
|
function Add-VSEMRClusterScalingTrigger {
<#
.SYNOPSIS
Adds an AWS::EMR::Cluster.ScalingTrigger resource property to the template
.DESCRIPTION
Adds an AWS::EMR::Cluster.ScalingTrigger resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingtrigger.html
.PARAMETER CloudWatchAlarmDefinition
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-cluster-scalingtrigger.html#cfn-elasticmapreduce-cluster-scalingtrigger-cloudwatchalarmdefinition
Required: True
Type: CloudWatchAlarmDefinition
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.Cluster.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.Cluster.ScalingTrigger'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoIdentityPoolRoleAttachmentRoleMapping.ps1
|
Add-VSCognitoIdentityPoolRoleAttachmentRoleMapping.ps1
|
function Add-VSCognitoIdentityPoolRoleAttachmentRoleMapping {
<#
.SYNOPSIS
Adds an AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::IdentityPoolRoleAttachment.RoleMapping resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html
.PARAMETER Type
Required: True
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html#cfn-cognito-identitypoolroleattachment-rolemapping-type
PrimitiveType: String
UpdateType: Mutable
.PARAMETER AmbiguousRoleResolution
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html#cfn-cognito-identitypoolroleattachment-rolemapping-ambiguousroleresolution
PrimitiveType: String
UpdateType: Mutable
.PARAMETER RulesConfiguration
Type: RulesConfigurationType
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypoolroleattachment-rolemapping.html#cfn-cognito-identitypoolroleattachment-rolemapping-rulesconfiguration
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.IdentityPoolRoleAttachment.RoleMapping')]
[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 ", ")."
}
})]
$AmbiguousRoleResolution,
[parameter(Mandatory = $false)]
$RulesConfiguration
)
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.RoleMapping'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSDataPipelinePipelineField.ps1
|
Add-VSDataPipelinePipelineField.ps1
|
function Add-VSDataPipelinePipelineField {
<#
.SYNOPSIS
Adds an AWS::DataPipeline::Pipeline.Field resource property to the template
.DESCRIPTION
Adds an AWS::DataPipeline::Pipeline.Field resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html
.PARAMETER Key
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-key
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER RefValue
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-refvalue
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER StringValue
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datapipeline-pipeline-pipelineobjects-fields.html#cfn-datapipeline-pipeline-pipelineobjects-fields-stringvalue
PrimitiveType: String
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.DataPipeline.Pipeline.Field')]
[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 ", ")."
}
})]
$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 ", ")."
}
})]
$RefValue,
[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 ", ")."
}
})]
$StringValue
)
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.DataPipeline.Pipeline.Field'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSOpsWorksLayerShutdownEventConfiguration.ps1
|
Add-VSOpsWorksLayerShutdownEventConfiguration.ps1
|
function Add-VSOpsWorksLayerShutdownEventConfiguration {
<#
.SYNOPSIS
Adds an AWS::OpsWorks::Layer.ShutdownEventConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::OpsWorks::Layer.ShutdownEventConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration-shutdowneventconfiguration.html
.PARAMETER DelayUntilElbConnectionsDrained
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration-shutdowneventconfiguration.html#cfn-opsworks-layer-lifecycleconfiguration-shutdowneventconfiguration-delayuntilelbconnectionsdrained
PrimitiveType: Boolean
Required: False
UpdateType: Mutable
.PARAMETER ExecutionTimeout
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opsworks-layer-lifecycleeventconfiguration-shutdowneventconfiguration.html#cfn-opsworks-layer-lifecycleconfiguration-shutdowneventconfiguration-executiontimeout
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.OpsWorks.Layer.ShutdownEventConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[System.Boolean]
$DelayUntilElbConnectionsDrained,
[parameter(Mandatory = $false)]
[Int]
$ExecutionTimeout
)
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.ShutdownEventConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSEMRInstanceGroupConfigScalingRule.ps1
|
Add-VSEMRInstanceGroupConfigScalingRule.ps1
|
function Add-VSEMRInstanceGroupConfigScalingRule {
<#
.SYNOPSIS
Adds an AWS::EMR::InstanceGroupConfig.ScalingRule resource property to the template
.DESCRIPTION
Adds an AWS::EMR::InstanceGroupConfig.ScalingRule resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html
.PARAMETER Action
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-action
Required: True
Type: ScalingAction
UpdateType: Mutable
.PARAMETER Description
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-description
PrimitiveType: String
Required: False
UpdateType: Mutable
.PARAMETER Name
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-name
PrimitiveType: String
Required: True
UpdateType: Mutable
.PARAMETER Trigger
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticmapreduce-instancegroupconfig-scalingrule.html#cfn-elasticmapreduce-instancegroupconfig-scalingrule-trigger
Required: True
Type: ScalingTrigger
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.EMR.InstanceGroupConfig.ScalingRule')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$Action,
[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 ", ")."
}
})]
$Name,
[parameter(Mandatory = $true)]
$Trigger
)
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.ScalingRule'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSIAMGroupPolicy.ps1
|
Add-VSIAMGroupPolicy.ps1
|
function Add-VSIAMGroupPolicy {
<#
.SYNOPSIS
Adds an AWS::IAM::Group.Policy resource property to the template
.DESCRIPTION
Adds an AWS::IAM::Group.Policy resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html
.PARAMETER PolicyDocument
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policydocument
PrimitiveType: Json
Required: True
UpdateType: Mutable
.PARAMETER PolicyName
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-policy.html#cfn-iam-policies-policyname
PrimitiveType: String
Required: True
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.IAM.Group.Policy')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $true)]
$PolicyDocument,
[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 ", ")."
}
})]
$PolicyName
)
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.IAM.Group.Policy'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSECSServiceDeploymentConfiguration.ps1
|
Add-VSECSServiceDeploymentConfiguration.ps1
|
function Add-VSECSServiceDeploymentConfiguration {
<#
.SYNOPSIS
Adds an AWS::ECS::Service.DeploymentConfiguration resource property to the template
.DESCRIPTION
Adds an AWS::ECS::Service.DeploymentConfiguration resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html
.PARAMETER MaximumPercent
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-maximumpercent
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.PARAMETER MinimumHealthyPercent
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html#cfn-ecs-service-deploymentconfiguration-minimumhealthypercent
PrimitiveType: Integer
Required: False
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.ECS.Service.DeploymentConfiguration')]
[cmdletbinding()]
Param
(
[parameter(Mandatory = $false)]
[Int]
$MaximumPercent,
[parameter(Mandatory = $false)]
[Int]
$MinimumHealthyPercent
)
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.DeploymentConfiguration'
}
}
|
PowerShellCorpus/PowerShellGallery/Vaporshell/0.7.3/Public/Resource Property Types/Add-VSCognitoUserPoolStringAttributeConstraints.ps1
|
Add-VSCognitoUserPoolStringAttributeConstraints.ps1
|
function Add-VSCognitoUserPoolStringAttributeConstraints {
<#
.SYNOPSIS
Adds an AWS::Cognito::UserPool.StringAttributeConstraints resource property to the template
.DESCRIPTION
Adds an AWS::Cognito::UserPool.StringAttributeConstraints resource property to the template
.LINK
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html
.PARAMETER MinLength
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html#cfn-cognito-userpool-stringattributeconstraints-minlength
PrimitiveType: String
UpdateType: Mutable
.PARAMETER MaxLength
Required: False
Documentation: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html#cfn-cognito-userpool-stringattributeconstraints-maxlength
PrimitiveType: String
UpdateType: Mutable
.FUNCTIONALITY
Vaporshell
#>
[OutputType('Vaporshell.Resource.Cognito.UserPool.StringAttributeConstraints')]
[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 ", ")."
}
})]
$MinLength,
[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 ", ")."
}
})]
$MaxLength
)
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.StringAttributeConstraints'
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.