VaporShell.WAFRegional.Classes.ps1
using namespace System using namespace System.Collections using namespace System.Collections.Generic using namespace System.IO using namespace System.Management.Automation [CmdletBinding()] Param() Write-Verbose "Importing class 'WAFRegionalByteMatchSetByteMatchTuple'" class WAFRegionalByteMatchSetByteMatchTuple : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalByteMatchSetByteMatchTuple' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-bytematchtuple.html' hidden [object] $_targetString hidden [object] $_targetStringBase64 hidden [object] $_positionalConstraint hidden [object] $_textTransformation hidden [object] $_fieldToMatch [string] $TargetString [string] $TargetStringBase64 [string] $PositionalConstraint [string] $TextTransformation [WAFRegionalByteMatchSetFieldToMatch] $FieldToMatch hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name TargetString -Value { $this._targetString } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._targetString = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name TargetStringBase64 -Value { $this._targetStringBase64 } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._targetStringBase64 = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name PositionalConstraint -Value { $this._positionalConstraint } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._positionalConstraint = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name TextTransformation -Value { $this._textTransformation } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._textTransformation = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name FieldToMatch -Value { $this._fieldToMatch } -SecondValue { param([ValidateType(([WAFRegionalByteMatchSetFieldToMatch], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._fieldToMatch = $value } } WAFRegionalByteMatchSetByteMatchTuple() : base() {} WAFRegionalByteMatchSetByteMatchTuple([IDictionary] $props) : base($props) {} WAFRegionalByteMatchSetByteMatchTuple([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalRulePredicate'" class WAFRegionalRulePredicate : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalRulePredicate' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-rule-predicate.html' hidden [object] $_type hidden [object] $_dataId hidden [object] $_negated [string] $Type [string] $DataId [bool] $Negated hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DataId -Value { $this._dataId } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._dataId = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Negated -Value { $this._negated } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._negated = $value } } WAFRegionalRulePredicate() : base() {} WAFRegionalRulePredicate([IDictionary] $props) : base($props) {} WAFRegionalRulePredicate([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalSizeConstraintSetSizeConstraint'" class WAFRegionalSizeConstraintSetSizeConstraint : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalSizeConstraintSetSizeConstraint' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-sizeconstraint.html' hidden [object] $_comparisonOperator hidden [object] $_size hidden [object] $_textTransformation hidden [object] $_fieldToMatch [string] $ComparisonOperator [int] $Size [string] $TextTransformation [WAFRegionalSizeConstraintSetFieldToMatch] $FieldToMatch hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ComparisonOperator -Value { $this._comparisonOperator } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._comparisonOperator = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Size -Value { $this._size } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._size = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name TextTransformation -Value { $this._textTransformation } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._textTransformation = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name FieldToMatch -Value { $this._fieldToMatch } -SecondValue { param([ValidateType(([WAFRegionalSizeConstraintSetFieldToMatch], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._fieldToMatch = $value } } WAFRegionalSizeConstraintSetSizeConstraint() : base() {} WAFRegionalSizeConstraintSetSizeConstraint([IDictionary] $props) : base($props) {} WAFRegionalSizeConstraintSetSizeConstraint([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalByteMatchSetFieldToMatch'" class WAFRegionalByteMatchSetFieldToMatch : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalByteMatchSetFieldToMatch' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-bytematchset-fieldtomatch.html' hidden [object] $_type hidden [object] $_data [string] $Type [string] $Data hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Data -Value { $this._data } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._data = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalByteMatchSetFieldToMatch() : base() {} WAFRegionalByteMatchSetFieldToMatch([IDictionary] $props) : base($props) {} WAFRegionalByteMatchSetFieldToMatch([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalXssMatchSetXssMatchTuple'" class WAFRegionalXssMatchSetXssMatchTuple : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalXssMatchSetXssMatchTuple' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-xssmatchtuple.html' hidden [object] $_textTransformation hidden [object] $_fieldToMatch [string] $TextTransformation [WAFRegionalXssMatchSetFieldToMatch] $FieldToMatch hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name TextTransformation -Value { $this._textTransformation } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._textTransformation = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name FieldToMatch -Value { $this._fieldToMatch } -SecondValue { param([ValidateType(([WAFRegionalXssMatchSetFieldToMatch], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._fieldToMatch = $value } } WAFRegionalXssMatchSetXssMatchTuple() : base() {} WAFRegionalXssMatchSetXssMatchTuple([IDictionary] $props) : base($props) {} WAFRegionalXssMatchSetXssMatchTuple([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalSizeConstraintSetFieldToMatch'" class WAFRegionalSizeConstraintSetFieldToMatch : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalSizeConstraintSetFieldToMatch' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sizeconstraintset-fieldtomatch.html' hidden [object] $_type hidden [object] $_data [string] $Type [string] $Data hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Data -Value { $this._data } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._data = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalSizeConstraintSetFieldToMatch() : base() {} WAFRegionalSizeConstraintSetFieldToMatch([IDictionary] $props) : base($props) {} WAFRegionalSizeConstraintSetFieldToMatch([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalGeoMatchSetGeoMatchConstraint'" class WAFRegionalGeoMatchSetGeoMatchConstraint : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalGeoMatchSetGeoMatchConstraint' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-geomatchset-geomatchconstraint.html' hidden [object] $_type hidden [object] $_value [string] $Type [string] $Value hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Value -Value { $this._value } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._value = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalGeoMatchSetGeoMatchConstraint() : base() {} WAFRegionalGeoMatchSetGeoMatchConstraint([IDictionary] $props) : base($props) {} WAFRegionalGeoMatchSetGeoMatchConstraint([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalSqlInjectionMatchSetFieldToMatch'" class WAFRegionalSqlInjectionMatchSetFieldToMatch : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalSqlInjectionMatchSetFieldToMatch' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-fieldtomatch.html' hidden [object] $_type hidden [object] $_data [string] $Type [string] $Data hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Data -Value { $this._data } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._data = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalSqlInjectionMatchSetFieldToMatch() : base() {} WAFRegionalSqlInjectionMatchSetFieldToMatch([IDictionary] $props) : base($props) {} WAFRegionalSqlInjectionMatchSetFieldToMatch([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalWebACLAction'" class WAFRegionalWebACLAction : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalWebACLAction' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-action.html' hidden [object] $_type [string] $Type hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalWebACLAction() : base() {} WAFRegionalWebACLAction([IDictionary] $props) : base($props) {} WAFRegionalWebACLAction([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple'" class WAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-sqlinjectionmatchset-sqlinjectionmatchtuple.html' hidden [object] $_textTransformation hidden [object] $_fieldToMatch [string] $TextTransformation [WAFRegionalSqlInjectionMatchSetFieldToMatch] $FieldToMatch hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name TextTransformation -Value { $this._textTransformation } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._textTransformation = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name FieldToMatch -Value { $this._fieldToMatch } -SecondValue { param([ValidateType(([WAFRegionalSqlInjectionMatchSetFieldToMatch], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._fieldToMatch = $value } } WAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple() : base() {} WAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple([IDictionary] $props) : base($props) {} WAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalWebACLRule'" class WAFRegionalWebACLRule : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalWebACLRule' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-webacl-rule.html' hidden [object] $_action hidden [object] $_priority hidden [object] $_ruleId [WAFRegionalWebACLAction] $Action [int] $Priority [string] $RuleId hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Action -Value { $this._action } -SecondValue { param([ValidateType(([WAFRegionalWebACLAction], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._action = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Priority -Value { $this._priority } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._priority = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RuleId -Value { $this._ruleId } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._ruleId = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalWebACLRule() : base() {} WAFRegionalWebACLRule([IDictionary] $props) : base($props) {} WAFRegionalWebACLRule([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalIPSetIPSetDescriptor'" class WAFRegionalIPSetIPSetDescriptor : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalIPSetIPSetDescriptor' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ipset-ipsetdescriptor.html' hidden [object] $_type hidden [object] $_value [string] $Type [string] $Value hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Value -Value { $this._value } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._value = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalIPSetIPSetDescriptor() : base() {} WAFRegionalIPSetIPSetDescriptor([IDictionary] $props) : base($props) {} WAFRegionalIPSetIPSetDescriptor([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalXssMatchSetFieldToMatch'" class WAFRegionalXssMatchSetFieldToMatch : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalXssMatchSetFieldToMatch' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-xssmatchset-fieldtomatch.html' hidden [object] $_type hidden [object] $_data [string] $Type [string] $Data hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Data -Value { $this._data } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._data = if ($value -is [int]) { $value.ToString() } else { $value } } } WAFRegionalXssMatchSetFieldToMatch() : base() {} WAFRegionalXssMatchSetFieldToMatch([IDictionary] $props) : base($props) {} WAFRegionalXssMatchSetFieldToMatch([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalRateBasedRulePredicate'" class WAFRegionalRateBasedRulePredicate : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSWAFRegionalRateBasedRulePredicate' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafregional-ratebasedrule-predicate.html' hidden [object] $_type hidden [object] $_dataId hidden [object] $_negated [string] $Type [string] $DataId [bool] $Negated hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Type -Value { $this._type } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._type = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DataId -Value { $this._dataId } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._dataId = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Negated -Value { $this._negated } -SecondValue { param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._negated = $value } } WAFRegionalRateBasedRulePredicate() : base() {} WAFRegionalRateBasedRulePredicate([IDictionary] $props) : base($props) {} WAFRegionalRateBasedRulePredicate([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalRateBasedRule'" class WAFRegionalRateBasedRule : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalRateBasedRule' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ratebasedrule.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::RateBasedRule' [string] $MetricName [int] $RateLimit [WAFRegionalRateBasedRulePredicate[]] $MatchPredicates [string] $RateKey [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name MetricName -Value { $this.Properties['MetricName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['MetricName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name RateLimit -Value { $this.Properties['RateLimit'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['RateLimit'] = if ($cast = $value -as [int]) { $cast } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name MatchPredicates -Value { $this.Properties['MatchPredicates'] } -SecondValue { param([ValidateType(([WAFRegionalRateBasedRulePredicate], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['MatchPredicates'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name RateKey -Value { $this.Properties['RateKey'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['RateKey'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalRateBasedRule() : base() {} WAFRegionalRateBasedRule([IDictionary] $props) : base($props) {} WAFRegionalRateBasedRule([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalSqlInjectionMatchSet'" class WAFRegionalSqlInjectionMatchSet : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalSqlInjectionMatchSet' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sqlinjectionmatchset.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::SqlInjectionMatchSet' [WAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple[]] $SqlInjectionMatchTuples [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name SqlInjectionMatchTuples -Value { $this.Properties['SqlInjectionMatchTuples'] } -SecondValue { param([ValidateType(([WAFRegionalSqlInjectionMatchSetSqlInjectionMatchTuple], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['SqlInjectionMatchTuples'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalSqlInjectionMatchSet() : base() {} WAFRegionalSqlInjectionMatchSet([IDictionary] $props) : base($props) {} WAFRegionalSqlInjectionMatchSet([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalGeoMatchSet'" class WAFRegionalGeoMatchSet : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalGeoMatchSet' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-geomatchset.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::GeoMatchSet' [WAFRegionalGeoMatchSetGeoMatchConstraint[]] $GeoMatchConstraints [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name GeoMatchConstraints -Value { $this.Properties['GeoMatchConstraints'] } -SecondValue { param([ValidateType(([WAFRegionalGeoMatchSetGeoMatchConstraint], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['GeoMatchConstraints'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalGeoMatchSet() : base() {} WAFRegionalGeoMatchSet([IDictionary] $props) : base($props) {} WAFRegionalGeoMatchSet([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalRegexPatternSet'" class WAFRegionalRegexPatternSet : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalRegexPatternSet' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-regexpatternset.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::RegexPatternSet' [string[]] $RegexPatternStrings [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name RegexPatternStrings -Value { $this.Properties['RegexPatternStrings'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['RegexPatternStrings'] = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalRegexPatternSet() : base() {} WAFRegionalRegexPatternSet([IDictionary] $props) : base($props) {} WAFRegionalRegexPatternSet([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalWebACLAssociation'" class WAFRegionalWebACLAssociation : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalWebACLAssociation' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webaclassociation.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::WebACLAssociation' [string] $ResourceArn [string] $WebACLId [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ResourceArn -Value { $this.Properties['ResourceArn'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['ResourceArn'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name WebACLId -Value { $this.Properties['WebACLId'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['WebACLId'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalWebACLAssociation() : base() {} WAFRegionalWebACLAssociation([IDictionary] $props) : base($props) {} WAFRegionalWebACLAssociation([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalWebACL'" class WAFRegionalWebACL : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalWebACL' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-webacl.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::WebACL' [string] $MetricName [WAFRegionalWebACLAction] $DefaultAction [WAFRegionalWebACLRule[]] $Rules [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name MetricName -Value { $this.Properties['MetricName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['MetricName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DefaultAction -Value { $this.Properties['DefaultAction'] } -SecondValue { param([ValidateType(([WAFRegionalWebACLAction], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['DefaultAction'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Rules -Value { $this.Properties['Rules'] } -SecondValue { param([ValidateType(([WAFRegionalWebACLRule], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Rules'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalWebACL() : base() {} WAFRegionalWebACL([IDictionary] $props) : base($props) {} WAFRegionalWebACL([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalIPSet'" class WAFRegionalIPSet : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalIPSet' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-ipset.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::IPSet' [WAFRegionalIPSetIPSetDescriptor[]] $IPSetDescriptors [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name IPSetDescriptors -Value { $this.Properties['IPSetDescriptors'] } -SecondValue { param([ValidateType(([WAFRegionalIPSetIPSetDescriptor], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['IPSetDescriptors'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalIPSet() : base() {} WAFRegionalIPSet([IDictionary] $props) : base($props) {} WAFRegionalIPSet([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalSizeConstraintSet'" class WAFRegionalSizeConstraintSet : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalSizeConstraintSet' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-sizeconstraintset.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::SizeConstraintSet' [WAFRegionalSizeConstraintSetSizeConstraint[]] $SizeConstraints [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name SizeConstraints -Value { $this.Properties['SizeConstraints'] } -SecondValue { param([ValidateType(([WAFRegionalSizeConstraintSetSizeConstraint], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['SizeConstraints'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalSizeConstraintSet() : base() {} WAFRegionalSizeConstraintSet([IDictionary] $props) : base($props) {} WAFRegionalSizeConstraintSet([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalXssMatchSet'" class WAFRegionalXssMatchSet : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalXssMatchSet' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-xssmatchset.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::XssMatchSet' [WAFRegionalXssMatchSetXssMatchTuple[]] $XssMatchTuples [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name XssMatchTuples -Value { $this.Properties['XssMatchTuples'] } -SecondValue { param([ValidateType(([WAFRegionalXssMatchSetXssMatchTuple], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['XssMatchTuples'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalXssMatchSet() : base() {} WAFRegionalXssMatchSet([IDictionary] $props) : base($props) {} WAFRegionalXssMatchSet([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalByteMatchSet'" class WAFRegionalByteMatchSet : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalByteMatchSet' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-bytematchset.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::ByteMatchSet' [WAFRegionalByteMatchSetByteMatchTuple[]] $ByteMatchTuples [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name ByteMatchTuples -Value { $this.Properties['ByteMatchTuples'] } -SecondValue { param([ValidateType(([WAFRegionalByteMatchSetByteMatchTuple], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['ByteMatchTuples'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalByteMatchSet() : base() {} WAFRegionalByteMatchSet([IDictionary] $props) : base($props) {} WAFRegionalByteMatchSet([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'WAFRegionalRule'" class WAFRegionalRule : VSResource { hidden [string] $_vsFunctionName = 'New-VSWAFRegionalRule' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wafregional-rule.html' hidden [object] $_condition [string] $Type = 'AWS::WAFRegional::Rule' [string] $MetricName [WAFRegionalRulePredicate[]] $Predicates [string] $Name [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name MetricName -Value { $this.Properties['MetricName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['MetricName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Predicates -Value { $this.Properties['Predicates'] } -SecondValue { param([ValidateType(([WAFRegionalRulePredicate], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Predicates'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value { $this.Properties['Name'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Name'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value { $this._condition } -SecondValue { param( [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object] $value ) $this._condition = $value } } WAFRegionalRule() : base() {} WAFRegionalRule([IDictionary] $props) : base($props) {} WAFRegionalRule([psobject] $props) : base($props) {} } |