VaporShell.CodeCommit.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 'CodeCommitRepositoryCode'" class CodeCommitRepositoryCode : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSCodeCommitRepositoryCode' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-code.html' hidden [object] $_s3 hidden [object] $_branchName [CodeCommitRepositoryS3] $S3 [string] $BranchName hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name S3 -Value { $this._s3 } -SecondValue { param([ValidateType(([CodeCommitRepositoryS3], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._s3 = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name BranchName -Value { $this._branchName } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._branchName = if ($value -is [int]) { $value.ToString() } else { $value } } } CodeCommitRepositoryCode() : base() {} CodeCommitRepositoryCode([IDictionary] $props) : base($props) {} CodeCommitRepositoryCode([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'CodeCommitRepositoryS3'" class CodeCommitRepositoryS3 : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSCodeCommitRepositoryS3' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html' hidden [object] $_objectVersion hidden [object] $_bucket hidden [object] $_key [string] $ObjectVersion [string] $Bucket [string] $Key hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name ObjectVersion -Value { $this._objectVersion } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._objectVersion = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Bucket -Value { $this._bucket } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._bucket = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Key -Value { $this._key } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._key = if ($value -is [int]) { $value.ToString() } else { $value } } } CodeCommitRepositoryS3() : base() {} CodeCommitRepositoryS3([IDictionary] $props) : base($props) {} CodeCommitRepositoryS3([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'CodeCommitRepositoryRepositoryTrigger'" class CodeCommitRepositoryRepositoryTrigger : VSResourceProperty { hidden [string] $_vsFunctionName = 'Add-VSCodeCommitRepositoryRepositoryTrigger' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-repositorytrigger.html' hidden [object] $_events hidden [object] $_branches hidden [object] $_customData hidden [object] $_destinationArn hidden [object] $_name [string[]] $Events [string[]] $Branches [string] $CustomData [string] $DestinationArn [string] $Name hidden [void] _addAccessors() { $this | Add-Member -Force -MemberType ScriptProperty -Name Events -Value { $this._events } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._events = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name Branches -Value { $this._branches } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this._branches = @($value) } $this | Add-Member -Force -MemberType ScriptProperty -Name CustomData -Value { $this._customData } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._customData = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name DestinationArn -Value { $this._destinationArn } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this._destinationArn = if ($value -is [int]) { $value.ToString() } else { $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 } } } CodeCommitRepositoryRepositoryTrigger() : base() {} CodeCommitRepositoryRepositoryTrigger([IDictionary] $props) : base($props) {} CodeCommitRepositoryRepositoryTrigger([psobject] $props) : base($props) {} } Write-Verbose "Importing class 'CodeCommitRepository'" class CodeCommitRepository : VSResource { hidden [string] $_vsFunctionName = 'New-VSCodeCommitRepository' hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codecommit-repository.html' hidden [string[]] $_attributes = @('CloneUrlHttp','CloneUrlSsh','Arn','Name') hidden [object] $_condition [string] $Type = 'AWS::CodeCommit::Repository' [string] $RepositoryName [CodeCommitRepositoryRepositoryTrigger[]] $Triggers [CodeCommitRepositoryCode] $Code [string] $RepositoryDescription [VSTag[]] $Tags [VSJson] $Metadata [UpdatePolicy] $UpdatePolicy [string] $Condition hidden [void] _addAccessors() { $this._addBaseAccessors() $this | Add-Member -Force -MemberType ScriptProperty -Name RepositoryName -Value { $this.Properties['RepositoryName'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['RepositoryName'] = if ($value -is [int]) { $value.ToString() } else { $value } } $this | Add-Member -Force -MemberType ScriptProperty -Name Triggers -Value { $this.Properties['Triggers'] } -SecondValue { param([ValidateType(([CodeCommitRepositoryRepositoryTrigger], [IntrinsicFunction], [ConditionFunction]))] [object[]] $value) $this.Properties['Triggers'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name Code -Value { $this.Properties['Code'] } -SecondValue { param([ValidateType(([CodeCommitRepositoryCode], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['Code'] = $value } $this | Add-Member -Force -MemberType ScriptProperty -Name RepositoryDescription -Value { $this.Properties['RepositoryDescription'] } -SecondValue { param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value) $this.Properties['RepositoryDescription'] = if ($value -is [int]) { $value.ToString() } else { $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 } } CodeCommitRepository() : base() {} CodeCommitRepository([IDictionary] $props) : base($props) {} CodeCommitRepository([psobject] $props) : base($props) {} } |