VaporShell.CodePipeline.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 'CodePipelineWebhookWebhookFilterRule'"

class CodePipelineWebhookWebhookFilterRule : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelineWebhookWebhookFilterRule'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookfilterrule.html'

    hidden [object] $_jsonPath
    hidden [object] $_matchEquals

    [string] $JsonPath
    [string] $MatchEquals

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name JsonPath -Value {
            $this._jsonPath
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._jsonPath = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name MatchEquals -Value {
            $this._matchEquals
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._matchEquals = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelineWebhookWebhookFilterRule() : base() {}
    CodePipelineWebhookWebhookFilterRule([IDictionary] $props) : base($props) {}
    CodePipelineWebhookWebhookFilterRule([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineOutputArtifact'"

class CodePipelinePipelineOutputArtifact : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineOutputArtifact'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-outputartifacts.html'

    hidden [object] $_name

    [string] $Name

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this._name
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._name = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelinePipelineOutputArtifact() : base() {}
    CodePipelinePipelineOutputArtifact([IDictionary] $props) : base($props) {}
    CodePipelinePipelineOutputArtifact([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineStageTransition'"

class CodePipelinePipelineStageTransition : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineStageTransition'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-disableinboundstagetransitions.html'

    hidden [object] $_reason
    hidden [object] $_stageName

    [string] $Reason
    [string] $StageName

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Reason -Value {
            $this._reason
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._reason = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name StageName -Value {
            $this._stageName
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._stageName = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelinePipelineStageTransition() : base() {}
    CodePipelinePipelineStageTransition([IDictionary] $props) : base($props) {}
    CodePipelinePipelineStageTransition([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineInputArtifact'"

class CodePipelinePipelineInputArtifact : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineInputArtifact'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-inputartifacts.html'

    hidden [object] $_name

    [string] $Name

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this._name
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._name = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelinePipelineInputArtifact() : base() {}
    CodePipelinePipelineInputArtifact([IDictionary] $props) : base($props) {}
    CodePipelinePipelineInputArtifact([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineBlockerDeclaration'"

class CodePipelinePipelineBlockerDeclaration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineBlockerDeclaration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-blockers.html'

    hidden [object] $_name
    hidden [object] $_type

    [string] $Name
    [string] $Type

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this._name
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._name = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $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
            }
        }
    }

    CodePipelinePipelineBlockerDeclaration() : base() {}
    CodePipelinePipelineBlockerDeclaration([IDictionary] $props) : base($props) {}
    CodePipelinePipelineBlockerDeclaration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineArtifactStoreMap'"

class CodePipelinePipelineArtifactStoreMap : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineArtifactStoreMap'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstoremap.html'

    hidden [object] $_artifactStore
    hidden [object] $_region

    [CodePipelinePipelineArtifactStore] $ArtifactStore
    [string] $Region

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name ArtifactStore -Value {
            $this._artifactStore
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineArtifactStore], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._artifactStore = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Region -Value {
            $this._region
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._region = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelinePipelineArtifactStoreMap() : base() {}
    CodePipelinePipelineArtifactStoreMap([IDictionary] $props) : base($props) {}
    CodePipelinePipelineArtifactStoreMap([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelineCustomActionTypeArtifactDetails'"

class CodePipelineCustomActionTypeArtifactDetails : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelineCustomActionTypeArtifactDetails'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-artifactdetails.html'

    hidden [object] $_maximumCount
    hidden [object] $_minimumCount

    [int] $MaximumCount
    [int] $MinimumCount

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name MaximumCount -Value {
            $this._maximumCount
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._maximumCount = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name MinimumCount -Value {
            $this._minimumCount
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._minimumCount = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
    }

    CodePipelineCustomActionTypeArtifactDetails() : base() {}
    CodePipelineCustomActionTypeArtifactDetails([IDictionary] $props) : base($props) {}
    CodePipelineCustomActionTypeArtifactDetails([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelineCustomActionTypeConfigurationProperties'"

class CodePipelineCustomActionTypeConfigurationProperties : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelineCustomActionTypeConfigurationProperties'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-configurationproperties.html'

    hidden [object] $_description
    hidden [object] $_key
    hidden [object] $_name
    hidden [object] $_queryable
    hidden [object] $_required
    hidden [object] $_secret
    hidden [object] $_type

    [string] $Description
    [bool] $Key
    [string] $Name
    [bool] $Queryable
    [bool] $Required
    [bool] $Secret
    [string] $Type

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this._description
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._description = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Key -Value {
            $this._key
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._key = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this._name
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._name = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Queryable -Value {
            $this._queryable
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._queryable = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Required -Value {
            $this._required
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._required = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Secret -Value {
            $this._secret
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._secret = $value
        }
        $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
            }
        }
    }

    CodePipelineCustomActionTypeConfigurationProperties() : base() {}
    CodePipelineCustomActionTypeConfigurationProperties([IDictionary] $props) : base($props) {}
    CodePipelineCustomActionTypeConfigurationProperties([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineEncryptionKey'"

class CodePipelinePipelineEncryptionKey : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineEncryptionKey'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore-encryptionkey.html'

    hidden [object] $_id
    hidden [object] $_type

    [string] $Id
    [string] $Type

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Id -Value {
            $this._id
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._id = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $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
            }
        }
    }

    CodePipelinePipelineEncryptionKey() : base() {}
    CodePipelinePipelineEncryptionKey([IDictionary] $props) : base($props) {}
    CodePipelinePipelineEncryptionKey([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineActionDeclaration'"

class CodePipelinePipelineActionDeclaration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineActionDeclaration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions.html'

    hidden [object] $_actionTypeId
    hidden [VSJson] $_configuration
    hidden [object] $_inputArtifacts
    hidden [object] $_name
    hidden [object] $_namespace
    hidden [object] $_outputArtifacts
    hidden [object] $_region
    hidden [object] $_roleArn
    hidden [object] $_runOrder

    [CodePipelinePipelineActionTypeId] $ActionTypeId
    [VSJson] $Configuration
    [CodePipelinePipelineInputArtifact[]] $InputArtifacts
    [string] $Name
    [string] $Namespace
    [CodePipelinePipelineOutputArtifact[]] $OutputArtifacts
    [string] $Region
    [string] $RoleArn
    [int] $RunOrder

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name ActionTypeId -Value {
            $this._actionTypeId
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineActionTypeId], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._actionTypeId = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Configuration -Value {
            $this._configuration
        } -SecondValue {
            param([ValidateType(([string], [VSJson], [VSYaml], [psobject], [IDictionary]))][object] $value)
            $this._configuration = [VSJson]::Transform($value)
            Write-Debug $this._configuration
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name InputArtifacts -Value {
            $this._inputArtifacts
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineInputArtifact], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._inputArtifacts = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this._name
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._name = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Namespace -Value {
            $this._namespace
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._namespace = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name OutputArtifacts -Value {
            $this._outputArtifacts
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineOutputArtifact], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._outputArtifacts = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Region -Value {
            $this._region
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._region = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RoleArn -Value {
            $this._roleArn
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._roleArn = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RunOrder -Value {
            $this._runOrder
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._runOrder = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
    }

    CodePipelinePipelineActionDeclaration() : base() {}
    CodePipelinePipelineActionDeclaration([IDictionary] $props) : base($props) {}
    CodePipelinePipelineActionDeclaration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineStageDeclaration'"

class CodePipelinePipelineStageDeclaration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineStageDeclaration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages.html'

    hidden [object] $_actions
    hidden [object] $_blockers
    hidden [object] $_name

    [CodePipelinePipelineActionDeclaration[]] $Actions
    [CodePipelinePipelineBlockerDeclaration[]] $Blockers
    [string] $Name

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Actions -Value {
            $this._actions
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineActionDeclaration], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._actions = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Blockers -Value {
            $this._blockers
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineBlockerDeclaration], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this._blockers = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this._name
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._name = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelinePipelineStageDeclaration() : base() {}
    CodePipelinePipelineStageDeclaration([IDictionary] $props) : base($props) {}
    CodePipelinePipelineStageDeclaration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelineCustomActionTypeSettings'"

class CodePipelineCustomActionTypeSettings : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelineCustomActionTypeSettings'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-customactiontype-settings.html'

    hidden [object] $_entityUrlTemplate
    hidden [object] $_executionUrlTemplate
    hidden [object] $_revisionUrlTemplate
    hidden [object] $_thirdPartyConfigurationUrl

    [string] $EntityUrlTemplate
    [string] $ExecutionUrlTemplate
    [string] $RevisionUrlTemplate
    [string] $ThirdPartyConfigurationUrl

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name EntityUrlTemplate -Value {
            $this._entityUrlTemplate
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._entityUrlTemplate = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ExecutionUrlTemplate -Value {
            $this._executionUrlTemplate
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._executionUrlTemplate = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RevisionUrlTemplate -Value {
            $this._revisionUrlTemplate
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._revisionUrlTemplate = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ThirdPartyConfigurationUrl -Value {
            $this._thirdPartyConfigurationUrl
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._thirdPartyConfigurationUrl = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelineCustomActionTypeSettings() : base() {}
    CodePipelineCustomActionTypeSettings([IDictionary] $props) : base($props) {}
    CodePipelineCustomActionTypeSettings([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineArtifactStore'"

class CodePipelinePipelineArtifactStore : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineArtifactStore'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-artifactstore.html'

    hidden [object] $_encryptionKey
    hidden [object] $_location
    hidden [object] $_type

    [CodePipelinePipelineEncryptionKey] $EncryptionKey
    [string] $Location
    [string] $Type

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name EncryptionKey -Value {
            $this._encryptionKey
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineEncryptionKey], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._encryptionKey = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Location -Value {
            $this._location
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._location = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $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
            }
        }
    }

    CodePipelinePipelineArtifactStore() : base() {}
    CodePipelinePipelineArtifactStore([IDictionary] $props) : base($props) {}
    CodePipelinePipelineArtifactStore([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipelineActionTypeId'"

class CodePipelinePipelineActionTypeId : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelinePipelineActionTypeId'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stages-actions-actiontypeid.html'

    hidden [object] $_category
    hidden [object] $_owner
    hidden [object] $_provider
    hidden [object] $_version

    [string] $Category
    [string] $Owner
    [string] $Provider
    [string] $Version

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Category -Value {
            $this._category
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._category = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Owner -Value {
            $this._owner
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._owner = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Provider -Value {
            $this._provider
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._provider = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Version -Value {
            $this._version
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._version = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelinePipelineActionTypeId() : base() {}
    CodePipelinePipelineActionTypeId([IDictionary] $props) : base($props) {}
    CodePipelinePipelineActionTypeId([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelineWebhookWebhookAuthConfiguration'"

class CodePipelineWebhookWebhookAuthConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSCodePipelineWebhookWebhookAuthConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html'

    hidden [object] $_allowedIPRange
    hidden [object] $_secretToken

    [string] $AllowedIPRange
    [string] $SecretToken

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name AllowedIPRange -Value {
            $this._allowedIPRange
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._allowedIPRange = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name SecretToken -Value {
            $this._secretToken
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._secretToken = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

    CodePipelineWebhookWebhookAuthConfiguration() : base() {}
    CodePipelineWebhookWebhookAuthConfiguration([IDictionary] $props) : base($props) {}
    CodePipelineWebhookWebhookAuthConfiguration([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelinePipeline'"

class CodePipelinePipeline : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSCodePipelinePipeline'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html'

    hidden [string[]] $_attributes = @('Version')
    hidden [object] $_condition

    [string] $Type = 'AWS::CodePipeline::Pipeline'
    [CodePipelinePipelineArtifactStore] $ArtifactStore
    [CodePipelinePipelineArtifactStoreMap[]] $ArtifactStores
    [CodePipelinePipelineStageTransition[]] $DisableInboundStageTransitions
    [string] $Name
    [bool] $RestartExecutionOnUpdate
    [string] $RoleArn
    [CodePipelinePipelineStageDeclaration[]] $Stages
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name ArtifactStore -Value {
            $this.Properties['ArtifactStore']
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineArtifactStore], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ArtifactStore'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ArtifactStores -Value {
            $this.Properties['ArtifactStores']
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineArtifactStoreMap], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['ArtifactStores'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DisableInboundStageTransitions -Value {
            $this.Properties['DisableInboundStageTransitions']
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineStageTransition], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['DisableInboundStageTransitions'] = $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 RestartExecutionOnUpdate -Value {
            $this.Properties['RestartExecutionOnUpdate']
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['RestartExecutionOnUpdate'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RoleArn -Value {
            $this.Properties['RoleArn']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['RoleArn'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Stages -Value {
            $this.Properties['Stages']
        } -SecondValue {
            param([ValidateType(([CodePipelinePipelineStageDeclaration], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['Stages'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([TransformTag()] [ValidateType(([IDictionary], [psobject], [VSTag]))] [object] $value)
            $this.Properties['Tags'] = [VSTag]::TransformTag($value)
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    CodePipelinePipeline() : base() {}
    CodePipelinePipeline([IDictionary] $props) : base($props) {}
    CodePipelinePipeline([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelineCustomActionType'"

class CodePipelineCustomActionType : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSCodePipelineCustomActionType'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-customactiontype.html'

    hidden [object] $_condition

    [string] $Type = 'AWS::CodePipeline::CustomActionType'
    [string] $Category
    [CodePipelineCustomActionTypeConfigurationProperties[]] $ConfigurationProperties
    [CodePipelineCustomActionTypeArtifactDetails] $InputArtifactDetails
    [CodePipelineCustomActionTypeArtifactDetails] $OutputArtifactDetails
    [string] $Provider
    [CodePipelineCustomActionTypeSettings] $Settings
    [VSTag[]] $Tags
    [string] $Version
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name Category -Value {
            $this.Properties['Category']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Category'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ConfigurationProperties -Value {
            $this.Properties['ConfigurationProperties']
        } -SecondValue {
            param([ValidateType(([CodePipelineCustomActionTypeConfigurationProperties], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['ConfigurationProperties'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name InputArtifactDetails -Value {
            $this.Properties['InputArtifactDetails']
        } -SecondValue {
            param([ValidateType(([CodePipelineCustomActionTypeArtifactDetails], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['InputArtifactDetails'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name OutputArtifactDetails -Value {
            $this.Properties['OutputArtifactDetails']
        } -SecondValue {
            param([ValidateType(([CodePipelineCustomActionTypeArtifactDetails], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['OutputArtifactDetails'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Provider -Value {
            $this.Properties['Provider']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Provider'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Settings -Value {
            $this.Properties['Settings']
        } -SecondValue {
            param([ValidateType(([CodePipelineCustomActionTypeSettings], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Settings'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([TransformTag()] [ValidateType(([IDictionary], [psobject], [VSTag]))] [object] $value)
            $this.Properties['Tags'] = [VSTag]::TransformTag($value)
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Version -Value {
            $this.Properties['Version']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Version'] = 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
        }
    }

    CodePipelineCustomActionType() : base() {}
    CodePipelineCustomActionType([IDictionary] $props) : base($props) {}
    CodePipelineCustomActionType([psobject] $props) : base($props) {}
}

Write-Verbose "Importing class 'CodePipelineWebhook'"

class CodePipelineWebhook : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSCodePipelineWebhook'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html'

    hidden [string[]] $_attributes = @('Url')
    hidden [object] $_condition

    [string] $Type = 'AWS::CodePipeline::Webhook'
    [CodePipelineWebhookWebhookAuthConfiguration] $AuthenticationConfiguration
    [CodePipelineWebhookWebhookFilterRule[]] $Filters
    [string] $Authentication
    [string] $TargetPipeline
    [string] $TargetAction
    [string] $Name
    [int] $TargetPipelineVersion
    [bool] $RegisterWithThirdParty
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name AuthenticationConfiguration -Value {
            $this.Properties['AuthenticationConfiguration']
        } -SecondValue {
            param([ValidateType(([CodePipelineWebhookWebhookAuthConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['AuthenticationConfiguration'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Filters -Value {
            $this.Properties['Filters']
        } -SecondValue {
            param([ValidateType(([CodePipelineWebhookWebhookFilterRule], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value)
            $this.Properties['Filters'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Authentication -Value {
            $this.Properties['Authentication']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Authentication'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name TargetPipeline -Value {
            $this.Properties['TargetPipeline']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['TargetPipeline'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name TargetAction -Value {
            $this.Properties['TargetAction']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['TargetAction'] = 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 TargetPipelineVersion -Value {
            $this.Properties['TargetPipelineVersion']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['TargetPipelineVersion'] = if ($cast = $value -as [int]) {
                $cast
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RegisterWithThirdParty -Value {
            $this.Properties['RegisterWithThirdParty']
        } -SecondValue {
            param([ValidateType(([bool], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['RegisterWithThirdParty'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    CodePipelineWebhook() : base() {}
    CodePipelineWebhook([IDictionary] $props) : base($props) {}
    CodePipelineWebhook([psobject] $props) : base($props) {}
}