Documentation ¶
Index ¶
- func CloudbuildTrigger_IsConstruct(x interface{}) *bool
- func CloudbuildTrigger_IsTerraformElement(x interface{}) *bool
- func CloudbuildTrigger_IsTerraformResource(x interface{}) *bool
- func CloudbuildTrigger_TfResourceType() *string
- func NewCloudbuildTriggerApprovalConfigOutputReference_Override(c CloudbuildTriggerApprovalConfigOutputReference, ...)
- func NewCloudbuildTriggerBitbucketServerTriggerConfigOutputReference_Override(c CloudbuildTriggerBitbucketServerTriggerConfigOutputReference, ...)
- func NewCloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference_Override(c CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference, ...)
- func NewCloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference_Override(c CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference, ...)
- func NewCloudbuildTriggerBuildArtifactsObjectsOutputReference_Override(c CloudbuildTriggerBuildArtifactsObjectsOutputReference, ...)
- func NewCloudbuildTriggerBuildArtifactsObjectsTimingList_Override(c CloudbuildTriggerBuildArtifactsObjectsTimingList, ...)
- func NewCloudbuildTriggerBuildArtifactsObjectsTimingOutputReference_Override(c CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference, ...)
- func NewCloudbuildTriggerBuildArtifactsOutputReference_Override(c CloudbuildTriggerBuildArtifactsOutputReference, ...)
- func NewCloudbuildTriggerBuildAvailableSecretsOutputReference_Override(c CloudbuildTriggerBuildAvailableSecretsOutputReference, ...)
- func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerList_Override(c CloudbuildTriggerBuildAvailableSecretsSecretManagerList, ...)
- func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference_Override(c CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference, ...)
- func NewCloudbuildTriggerBuildOptionsOutputReference_Override(c CloudbuildTriggerBuildOptionsOutputReference, ...)
- func NewCloudbuildTriggerBuildOptionsVolumesList_Override(c CloudbuildTriggerBuildOptionsVolumesList, ...)
- func NewCloudbuildTriggerBuildOptionsVolumesOutputReference_Override(c CloudbuildTriggerBuildOptionsVolumesOutputReference, ...)
- func NewCloudbuildTriggerBuildOutputReference_Override(c CloudbuildTriggerBuildOutputReference, ...)
- func NewCloudbuildTriggerBuildSecretList_Override(c CloudbuildTriggerBuildSecretList, ...)
- func NewCloudbuildTriggerBuildSecretOutputReference_Override(c CloudbuildTriggerBuildSecretOutputReference, ...)
- func NewCloudbuildTriggerBuildSourceOutputReference_Override(c CloudbuildTriggerBuildSourceOutputReference, ...)
- func NewCloudbuildTriggerBuildSourceRepoSourceOutputReference_Override(c CloudbuildTriggerBuildSourceRepoSourceOutputReference, ...)
- func NewCloudbuildTriggerBuildSourceStorageSourceOutputReference_Override(c CloudbuildTriggerBuildSourceStorageSourceOutputReference, ...)
- func NewCloudbuildTriggerBuildStepList_Override(c CloudbuildTriggerBuildStepList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewCloudbuildTriggerBuildStepOutputReference_Override(c CloudbuildTriggerBuildStepOutputReference, ...)
- func NewCloudbuildTriggerBuildStepVolumesList_Override(c CloudbuildTriggerBuildStepVolumesList, ...)
- func NewCloudbuildTriggerBuildStepVolumesOutputReference_Override(c CloudbuildTriggerBuildStepVolumesOutputReference, ...)
- func NewCloudbuildTriggerGitFileSourceOutputReference_Override(c CloudbuildTriggerGitFileSourceOutputReference, ...)
- func NewCloudbuildTriggerGithubOutputReference_Override(c CloudbuildTriggerGithubOutputReference, ...)
- func NewCloudbuildTriggerGithubPullRequestOutputReference_Override(c CloudbuildTriggerGithubPullRequestOutputReference, ...)
- func NewCloudbuildTriggerGithubPushOutputReference_Override(c CloudbuildTriggerGithubPushOutputReference, ...)
- func NewCloudbuildTriggerPubsubConfigOutputReference_Override(c CloudbuildTriggerPubsubConfigOutputReference, ...)
- func NewCloudbuildTriggerRepositoryEventConfigOutputReference_Override(c CloudbuildTriggerRepositoryEventConfigOutputReference, ...)
- func NewCloudbuildTriggerRepositoryEventConfigPullRequestOutputReference_Override(c CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference, ...)
- func NewCloudbuildTriggerRepositoryEventConfigPushOutputReference_Override(c CloudbuildTriggerRepositoryEventConfigPushOutputReference, ...)
- func NewCloudbuildTriggerSourceToBuildOutputReference_Override(c CloudbuildTriggerSourceToBuildOutputReference, ...)
- func NewCloudbuildTriggerTimeoutsOutputReference_Override(c CloudbuildTriggerTimeoutsOutputReference, ...)
- func NewCloudbuildTriggerTriggerTemplateOutputReference_Override(c CloudbuildTriggerTriggerTemplateOutputReference, ...)
- func NewCloudbuildTriggerWebhookConfigOutputReference_Override(c CloudbuildTriggerWebhookConfigOutputReference, ...)
- func NewCloudbuildTrigger_Override(c CloudbuildTrigger, scope constructs.Construct, id *string, ...)
- type CloudbuildTrigger
- type CloudbuildTriggerApprovalConfig
- type CloudbuildTriggerApprovalConfigOutputReference
- type CloudbuildTriggerBitbucketServerTriggerConfig
- type CloudbuildTriggerBitbucketServerTriggerConfigOutputReference
- type CloudbuildTriggerBitbucketServerTriggerConfigPullRequest
- type CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference
- type CloudbuildTriggerBitbucketServerTriggerConfigPush
- type CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference
- type CloudbuildTriggerBuild
- type CloudbuildTriggerBuildArtifacts
- type CloudbuildTriggerBuildArtifactsObjects
- type CloudbuildTriggerBuildArtifactsObjectsOutputReference
- type CloudbuildTriggerBuildArtifactsObjectsTiming
- type CloudbuildTriggerBuildArtifactsObjectsTimingList
- type CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference
- type CloudbuildTriggerBuildArtifactsOutputReference
- type CloudbuildTriggerBuildAvailableSecrets
- type CloudbuildTriggerBuildAvailableSecretsOutputReference
- type CloudbuildTriggerBuildAvailableSecretsSecretManager
- type CloudbuildTriggerBuildAvailableSecretsSecretManagerList
- type CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference
- type CloudbuildTriggerBuildOptions
- type CloudbuildTriggerBuildOptionsOutputReference
- type CloudbuildTriggerBuildOptionsVolumes
- type CloudbuildTriggerBuildOptionsVolumesList
- type CloudbuildTriggerBuildOptionsVolumesOutputReference
- type CloudbuildTriggerBuildOutputReference
- type CloudbuildTriggerBuildSecret
- type CloudbuildTriggerBuildSecretList
- type CloudbuildTriggerBuildSecretOutputReference
- type CloudbuildTriggerBuildSource
- type CloudbuildTriggerBuildSourceOutputReference
- type CloudbuildTriggerBuildSourceRepoSource
- type CloudbuildTriggerBuildSourceRepoSourceOutputReference
- type CloudbuildTriggerBuildSourceStorageSource
- type CloudbuildTriggerBuildSourceStorageSourceOutputReference
- type CloudbuildTriggerBuildStep
- type CloudbuildTriggerBuildStepList
- type CloudbuildTriggerBuildStepOutputReference
- type CloudbuildTriggerBuildStepVolumes
- type CloudbuildTriggerBuildStepVolumesList
- type CloudbuildTriggerBuildStepVolumesOutputReference
- type CloudbuildTriggerConfig
- type CloudbuildTriggerGitFileSource
- type CloudbuildTriggerGitFileSourceOutputReference
- type CloudbuildTriggerGithub
- type CloudbuildTriggerGithubOutputReference
- type CloudbuildTriggerGithubPullRequest
- type CloudbuildTriggerGithubPullRequestOutputReference
- type CloudbuildTriggerGithubPush
- type CloudbuildTriggerGithubPushOutputReference
- type CloudbuildTriggerPubsubConfig
- type CloudbuildTriggerPubsubConfigOutputReference
- type CloudbuildTriggerRepositoryEventConfig
- type CloudbuildTriggerRepositoryEventConfigOutputReference
- type CloudbuildTriggerRepositoryEventConfigPullRequest
- type CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference
- type CloudbuildTriggerRepositoryEventConfigPush
- type CloudbuildTriggerRepositoryEventConfigPushOutputReference
- type CloudbuildTriggerSourceToBuild
- type CloudbuildTriggerSourceToBuildOutputReference
- type CloudbuildTriggerTimeouts
- type CloudbuildTriggerTimeoutsOutputReference
- type CloudbuildTriggerTriggerTemplate
- type CloudbuildTriggerTriggerTemplateOutputReference
- type CloudbuildTriggerWebhookConfig
- type CloudbuildTriggerWebhookConfigOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudbuildTrigger_IsConstruct ¶
func CloudbuildTrigger_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CloudbuildTrigger_IsTerraformElement ¶
func CloudbuildTrigger_IsTerraformElement(x interface{}) *bool
Experimental.
func CloudbuildTrigger_IsTerraformResource ¶
func CloudbuildTrigger_IsTerraformResource(x interface{}) *bool
Experimental.
func CloudbuildTrigger_TfResourceType ¶
func CloudbuildTrigger_TfResourceType() *string
func NewCloudbuildTriggerApprovalConfigOutputReference_Override ¶
func NewCloudbuildTriggerApprovalConfigOutputReference_Override(c CloudbuildTriggerApprovalConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBitbucketServerTriggerConfigOutputReference_Override ¶
func NewCloudbuildTriggerBitbucketServerTriggerConfigOutputReference_Override(c CloudbuildTriggerBitbucketServerTriggerConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference_Override ¶
func NewCloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference_Override(c CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference_Override ¶
func NewCloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference_Override(c CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildArtifactsObjectsOutputReference_Override ¶
func NewCloudbuildTriggerBuildArtifactsObjectsOutputReference_Override(c CloudbuildTriggerBuildArtifactsObjectsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildArtifactsObjectsTimingList_Override ¶
func NewCloudbuildTriggerBuildArtifactsObjectsTimingList_Override(c CloudbuildTriggerBuildArtifactsObjectsTimingList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudbuildTriggerBuildArtifactsObjectsTimingOutputReference_Override ¶
func NewCloudbuildTriggerBuildArtifactsObjectsTimingOutputReference_Override(c CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudbuildTriggerBuildArtifactsOutputReference_Override ¶
func NewCloudbuildTriggerBuildArtifactsOutputReference_Override(c CloudbuildTriggerBuildArtifactsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildAvailableSecretsOutputReference_Override ¶
func NewCloudbuildTriggerBuildAvailableSecretsOutputReference_Override(c CloudbuildTriggerBuildAvailableSecretsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerList_Override ¶
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerList_Override(c CloudbuildTriggerBuildAvailableSecretsSecretManagerList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference_Override ¶
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference_Override(c CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudbuildTriggerBuildOptionsOutputReference_Override ¶
func NewCloudbuildTriggerBuildOptionsOutputReference_Override(c CloudbuildTriggerBuildOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildOptionsVolumesList_Override ¶
func NewCloudbuildTriggerBuildOptionsVolumesList_Override(c CloudbuildTriggerBuildOptionsVolumesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudbuildTriggerBuildOptionsVolumesOutputReference_Override ¶
func NewCloudbuildTriggerBuildOptionsVolumesOutputReference_Override(c CloudbuildTriggerBuildOptionsVolumesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudbuildTriggerBuildOutputReference_Override ¶
func NewCloudbuildTriggerBuildOutputReference_Override(c CloudbuildTriggerBuildOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildSecretList_Override ¶
func NewCloudbuildTriggerBuildSecretList_Override(c CloudbuildTriggerBuildSecretList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudbuildTriggerBuildSecretOutputReference_Override ¶
func NewCloudbuildTriggerBuildSecretOutputReference_Override(c CloudbuildTriggerBuildSecretOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudbuildTriggerBuildSourceOutputReference_Override ¶
func NewCloudbuildTriggerBuildSourceOutputReference_Override(c CloudbuildTriggerBuildSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildSourceRepoSourceOutputReference_Override ¶
func NewCloudbuildTriggerBuildSourceRepoSourceOutputReference_Override(c CloudbuildTriggerBuildSourceRepoSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildSourceStorageSourceOutputReference_Override ¶
func NewCloudbuildTriggerBuildSourceStorageSourceOutputReference_Override(c CloudbuildTriggerBuildSourceStorageSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerBuildStepList_Override ¶
func NewCloudbuildTriggerBuildStepList_Override(c CloudbuildTriggerBuildStepList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudbuildTriggerBuildStepOutputReference_Override ¶
func NewCloudbuildTriggerBuildStepOutputReference_Override(c CloudbuildTriggerBuildStepOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudbuildTriggerBuildStepVolumesList_Override ¶
func NewCloudbuildTriggerBuildStepVolumesList_Override(c CloudbuildTriggerBuildStepVolumesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewCloudbuildTriggerBuildStepVolumesOutputReference_Override ¶
func NewCloudbuildTriggerBuildStepVolumesOutputReference_Override(c CloudbuildTriggerBuildStepVolumesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewCloudbuildTriggerGitFileSourceOutputReference_Override ¶
func NewCloudbuildTriggerGitFileSourceOutputReference_Override(c CloudbuildTriggerGitFileSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerGithubOutputReference_Override ¶
func NewCloudbuildTriggerGithubOutputReference_Override(c CloudbuildTriggerGithubOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerGithubPullRequestOutputReference_Override ¶
func NewCloudbuildTriggerGithubPullRequestOutputReference_Override(c CloudbuildTriggerGithubPullRequestOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerGithubPushOutputReference_Override ¶
func NewCloudbuildTriggerGithubPushOutputReference_Override(c CloudbuildTriggerGithubPushOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerPubsubConfigOutputReference_Override ¶
func NewCloudbuildTriggerPubsubConfigOutputReference_Override(c CloudbuildTriggerPubsubConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerRepositoryEventConfigOutputReference_Override ¶ added in v8.0.5
func NewCloudbuildTriggerRepositoryEventConfigOutputReference_Override(c CloudbuildTriggerRepositoryEventConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerRepositoryEventConfigPullRequestOutputReference_Override ¶ added in v8.0.5
func NewCloudbuildTriggerRepositoryEventConfigPullRequestOutputReference_Override(c CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerRepositoryEventConfigPushOutputReference_Override ¶ added in v8.0.5
func NewCloudbuildTriggerRepositoryEventConfigPushOutputReference_Override(c CloudbuildTriggerRepositoryEventConfigPushOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerSourceToBuildOutputReference_Override ¶
func NewCloudbuildTriggerSourceToBuildOutputReference_Override(c CloudbuildTriggerSourceToBuildOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerTimeoutsOutputReference_Override ¶
func NewCloudbuildTriggerTimeoutsOutputReference_Override(c CloudbuildTriggerTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerTriggerTemplateOutputReference_Override ¶
func NewCloudbuildTriggerTriggerTemplateOutputReference_Override(c CloudbuildTriggerTriggerTemplateOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTriggerWebhookConfigOutputReference_Override ¶
func NewCloudbuildTriggerWebhookConfigOutputReference_Override(c CloudbuildTriggerWebhookConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewCloudbuildTrigger_Override ¶
func NewCloudbuildTrigger_Override(c CloudbuildTrigger, scope constructs.Construct, id *string, config *CloudbuildTriggerConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger google_cloudbuild_trigger} Resource.
Types ¶
type CloudbuildTrigger ¶
type CloudbuildTrigger interface { cdktf.TerraformResource ApprovalConfig() CloudbuildTriggerApprovalConfigOutputReference ApprovalConfigInput() *CloudbuildTriggerApprovalConfig BitbucketServerTriggerConfig() CloudbuildTriggerBitbucketServerTriggerConfigOutputReference BitbucketServerTriggerConfigInput() *CloudbuildTriggerBitbucketServerTriggerConfig BuildAttribute() CloudbuildTriggerBuildOutputReference BuildAttributeInput() *CloudbuildTriggerBuild // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) CreateTime() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string Disabled() interface{} SetDisabled(val interface{}) DisabledInput() interface{} Filename() *string SetFilename(val *string) FilenameInput() *string Filter() *string SetFilter(val *string) FilterInput() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GitFileSource() CloudbuildTriggerGitFileSourceOutputReference GitFileSourceInput() *CloudbuildTriggerGitFileSource Github() CloudbuildTriggerGithubOutputReference GithubInput() *CloudbuildTriggerGithub Id() *string SetId(val *string) IdInput() *string IgnoredFiles() *[]*string SetIgnoredFiles(val *[]*string) IgnoredFilesInput() *[]*string IncludeBuildLogs() *string SetIncludeBuildLogs(val *string) IncludeBuildLogsInput() *string IncludedFiles() *[]*string SetIncludedFiles(val *[]*string) IncludedFilesInput() *[]*string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Location() *string SetLocation(val *string) LocationInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) PubsubConfig() CloudbuildTriggerPubsubConfigOutputReference PubsubConfigInput() *CloudbuildTriggerPubsubConfig // Experimental. RawOverrides() interface{} RepositoryEventConfig() CloudbuildTriggerRepositoryEventConfigOutputReference RepositoryEventConfigInput() *CloudbuildTriggerRepositoryEventConfig ServiceAccount() *string SetServiceAccount(val *string) ServiceAccountInput() *string SourceToBuild() CloudbuildTriggerSourceToBuildOutputReference SourceToBuildInput() *CloudbuildTriggerSourceToBuild Substitutions() *map[string]*string SetSubstitutions(val *map[string]*string) SubstitutionsInput() *map[string]*string Tags() *[]*string SetTags(val *[]*string) TagsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() CloudbuildTriggerTimeoutsOutputReference TimeoutsInput() interface{} TriggerId() *string TriggerTemplate() CloudbuildTriggerTriggerTemplateOutputReference TriggerTemplateInput() *CloudbuildTriggerTriggerTemplate WebhookConfig() CloudbuildTriggerWebhookConfigOutputReference WebhookConfigInput() *CloudbuildTriggerWebhookConfig // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutApprovalConfig(value *CloudbuildTriggerApprovalConfig) PutBitbucketServerTriggerConfig(value *CloudbuildTriggerBitbucketServerTriggerConfig) PutBuildAttribute(value *CloudbuildTriggerBuild) PutGitFileSource(value *CloudbuildTriggerGitFileSource) PutGithub(value *CloudbuildTriggerGithub) PutPubsubConfig(value *CloudbuildTriggerPubsubConfig) PutRepositoryEventConfig(value *CloudbuildTriggerRepositoryEventConfig) PutSourceToBuild(value *CloudbuildTriggerSourceToBuild) PutTimeouts(value *CloudbuildTriggerTimeouts) PutTriggerTemplate(value *CloudbuildTriggerTriggerTemplate) PutWebhookConfig(value *CloudbuildTriggerWebhookConfig) ResetApprovalConfig() ResetBitbucketServerTriggerConfig() ResetBuildAttribute() ResetDescription() ResetDisabled() ResetFilename() ResetFilter() ResetGitFileSource() ResetGithub() ResetId() ResetIgnoredFiles() ResetIncludeBuildLogs() ResetIncludedFiles() ResetLocation() ResetName() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetPubsubConfig() ResetRepositoryEventConfig() ResetServiceAccount() ResetSourceToBuild() ResetSubstitutions() ResetTags() ResetTimeouts() ResetTriggerTemplate() ResetWebhookConfig() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger google_cloudbuild_trigger}.
func NewCloudbuildTrigger ¶
func NewCloudbuildTrigger(scope constructs.Construct, id *string, config *CloudbuildTriggerConfig) CloudbuildTrigger
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger google_cloudbuild_trigger} Resource.
type CloudbuildTriggerApprovalConfig ¶
type CloudbuildTriggerApprovalConfig struct { // Whether or not approval is needed. // // If this is set on a build, it will become pending when run, // and will need to be explicitly approved to start. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#approval_required CloudbuildTrigger#approval_required} ApprovalRequired interface{} `field:"optional" json:"approvalRequired" yaml:"approvalRequired"` }
type CloudbuildTriggerApprovalConfigOutputReference ¶
type CloudbuildTriggerApprovalConfigOutputReference interface { cdktf.ComplexObject ApprovalRequired() interface{} SetApprovalRequired(val interface{}) ApprovalRequiredInput() interface{} // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerApprovalConfig SetInternalValue(val *CloudbuildTriggerApprovalConfig) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetApprovalRequired() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerApprovalConfigOutputReference ¶
func NewCloudbuildTriggerApprovalConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerApprovalConfigOutputReference
type CloudbuildTriggerBitbucketServerTriggerConfig ¶
type CloudbuildTriggerBitbucketServerTriggerConfig struct { // The Bitbucket server config resource that this trigger config maps to. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#bitbucket_server_config_resource CloudbuildTrigger#bitbucket_server_config_resource} BitbucketServerConfigResource *string `field:"required" json:"bitbucketServerConfigResource" yaml:"bitbucketServerConfigResource"` // Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#project_key CloudbuildTrigger#project_key} ProjectKey *string `field:"required" json:"projectKey" yaml:"projectKey"` // Slug of the repository. // // A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. // For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repo_slug CloudbuildTrigger#repo_slug} RepoSlug *string `field:"required" json:"repoSlug" yaml:"repoSlug"` // pull_request block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#pull_request CloudbuildTrigger#pull_request} PullRequest *CloudbuildTriggerBitbucketServerTriggerConfigPullRequest `field:"optional" json:"pullRequest" yaml:"pullRequest"` // push block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#push CloudbuildTrigger#push} Push *CloudbuildTriggerBitbucketServerTriggerConfigPush `field:"optional" json:"push" yaml:"push"` }
type CloudbuildTriggerBitbucketServerTriggerConfigOutputReference ¶
type CloudbuildTriggerBitbucketServerTriggerConfigOutputReference interface { cdktf.ComplexObject BitbucketServerConfigResource() *string SetBitbucketServerConfigResource(val *string) BitbucketServerConfigResourceInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBitbucketServerTriggerConfig SetInternalValue(val *CloudbuildTriggerBitbucketServerTriggerConfig) ProjectKey() *string SetProjectKey(val *string) ProjectKeyInput() *string PullRequest() CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference PullRequestInput() *CloudbuildTriggerBitbucketServerTriggerConfigPullRequest Push() CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference PushInput() *CloudbuildTriggerBitbucketServerTriggerConfigPush RepoSlug() *string SetRepoSlug(val *string) RepoSlugInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutPullRequest(value *CloudbuildTriggerBitbucketServerTriggerConfigPullRequest) PutPush(value *CloudbuildTriggerBitbucketServerTriggerConfigPush) ResetPullRequest() ResetPush() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBitbucketServerTriggerConfigOutputReference ¶
func NewCloudbuildTriggerBitbucketServerTriggerConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBitbucketServerTriggerConfigOutputReference
type CloudbuildTriggerBitbucketServerTriggerConfigPullRequest ¶
type CloudbuildTriggerBitbucketServerTriggerConfigPullRequest struct { // Regex of branches to match. // // The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} Branch *string `field:"required" json:"branch" yaml:"branch"` // Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#comment_control CloudbuildTrigger#comment_control} CommentControl *string `field:"optional" json:"commentControl" yaml:"commentControl"` // If true, branches that do NOT match the git_ref will trigger a build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` }
type CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference ¶
type CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference interface { cdktf.ComplexObject Branch() *string SetBranch(val *string) BranchInput() *string CommentControl() *string SetCommentControl(val *string) CommentControlInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBitbucketServerTriggerConfigPullRequest SetInternalValue(val *CloudbuildTriggerBitbucketServerTriggerConfigPullRequest) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCommentControl() ResetInvertRegex() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference ¶
func NewCloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference
type CloudbuildTriggerBitbucketServerTriggerConfigPush ¶
type CloudbuildTriggerBitbucketServerTriggerConfigPush struct { // Regex of branches to match. Specify only one of branch or tag. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} Branch *string `field:"optional" json:"branch" yaml:"branch"` // When true, only trigger a build if the revision regex does NOT match the gitRef regex. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` // Regex of tags to match. Specify only one of branch or tag. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#tag CloudbuildTrigger#tag} Tag *string `field:"optional" json:"tag" yaml:"tag"` }
type CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference ¶
type CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference interface { cdktf.ComplexObject Branch() *string SetBranch(val *string) BranchInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBitbucketServerTriggerConfigPush SetInternalValue(val *CloudbuildTriggerBitbucketServerTriggerConfigPush) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} Tag() *string SetTag(val *string) TagInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBranch() ResetInvertRegex() ResetTag() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference ¶
func NewCloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference
type CloudbuildTriggerBuild ¶
type CloudbuildTriggerBuild struct { // step block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#step CloudbuildTrigger#step} Step interface{} `field:"required" json:"step" yaml:"step"` // artifacts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#artifacts CloudbuildTrigger#artifacts} Artifacts *CloudbuildTriggerBuildArtifacts `field:"optional" json:"artifacts" yaml:"artifacts"` // available_secrets block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#available_secrets CloudbuildTrigger#available_secrets} AvailableSecrets *CloudbuildTriggerBuildAvailableSecrets `field:"optional" json:"availableSecrets" yaml:"availableSecrets"` // A list of images to be pushed upon the successful completion of all build steps. // // The images are pushed using the builder service account's credentials. // The digests of the pushed images will be stored in the Build resource's results field. // If any of the images fail to be pushed, the build status is marked FAILURE. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#images CloudbuildTrigger#images} Images *[]*string `field:"optional" json:"images" yaml:"images"` // Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#logs_bucket CloudbuildTrigger#logs_bucket} LogsBucket *string `field:"optional" json:"logsBucket" yaml:"logsBucket"` // options block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#options CloudbuildTrigger#options} Options *CloudbuildTriggerBuildOptions `field:"optional" json:"options" yaml:"options"` // TTL in queue for this build. // // If provided and the build is enqueued longer than this value, // the build will expire and the build status will be EXPIRED. // The TTL starts ticking from createTime. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#queue_ttl CloudbuildTrigger#queue_ttl} QueueTtl *string `field:"optional" json:"queueTtl" yaml:"queueTtl"` // secret block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#secret CloudbuildTrigger#secret} Secret interface{} `field:"optional" json:"secret" yaml:"secret"` // source block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#source CloudbuildTrigger#source} Source *CloudbuildTriggerBuildSource `field:"optional" json:"source" yaml:"source"` // Substitutions data for Build resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#substitutions CloudbuildTrigger#substitutions} Substitutions *map[string]*string `field:"optional" json:"substitutions" yaml:"substitutions"` // Tags for annotation of a Build. These are not docker tags. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#tags CloudbuildTrigger#tags} Tags *[]*string `field:"optional" json:"tags" yaml:"tags"` // Amount of time that this build should be allowed to run, to second granularity. // // If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. // This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. // The expected format is the number of seconds followed by s. // Default time is ten minutes (600s). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#timeout CloudbuildTrigger#timeout} Timeout *string `field:"optional" json:"timeout" yaml:"timeout"` }
type CloudbuildTriggerBuildArtifacts ¶
type CloudbuildTriggerBuildArtifacts struct { // A list of images to be pushed upon the successful completion of all build steps. // // The images will be pushed using the builder service account's credentials. // // The digests of the pushed images will be stored in the Build resource's results field. // // If any of the images fail to be pushed, the build is marked FAILURE. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#images CloudbuildTrigger#images} Images *[]*string `field:"optional" json:"images" yaml:"images"` // objects block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#objects CloudbuildTrigger#objects} Objects *CloudbuildTriggerBuildArtifactsObjects `field:"optional" json:"objects" yaml:"objects"` }
type CloudbuildTriggerBuildArtifactsObjects ¶
type CloudbuildTriggerBuildArtifactsObjects struct { // Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". // // Files in the workspace matching any path pattern will be uploaded to Cloud Storage with // this location as a prefix. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#location CloudbuildTrigger#location} Location *string `field:"optional" json:"location" yaml:"location"` // Path globs used to match files in the build's workspace. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#paths CloudbuildTrigger#paths} Paths *[]*string `field:"optional" json:"paths" yaml:"paths"` }
type CloudbuildTriggerBuildArtifactsObjectsOutputReference ¶
type CloudbuildTriggerBuildArtifactsObjectsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBuildArtifactsObjects SetInternalValue(val *CloudbuildTriggerBuildArtifactsObjects) Location() *string SetLocation(val *string) LocationInput() *string Paths() *[]*string SetPaths(val *[]*string) PathsInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Timing() CloudbuildTriggerBuildArtifactsObjectsTimingList // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetLocation() ResetPaths() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildArtifactsObjectsOutputReference ¶
func NewCloudbuildTriggerBuildArtifactsObjectsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildArtifactsObjectsOutputReference
type CloudbuildTriggerBuildArtifactsObjectsTiming ¶
type CloudbuildTriggerBuildArtifactsObjectsTiming struct { }
type CloudbuildTriggerBuildArtifactsObjectsTimingList ¶
type CloudbuildTriggerBuildArtifactsObjectsTimingList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildArtifactsObjectsTimingList ¶
func NewCloudbuildTriggerBuildArtifactsObjectsTimingList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudbuildTriggerBuildArtifactsObjectsTimingList
type CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference ¶
type CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string EndTime() *string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBuildArtifactsObjectsTiming SetInternalValue(val *CloudbuildTriggerBuildArtifactsObjectsTiming) StartTime() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildArtifactsObjectsTimingOutputReference ¶
func NewCloudbuildTriggerBuildArtifactsObjectsTimingOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference
type CloudbuildTriggerBuildArtifactsOutputReference ¶
type CloudbuildTriggerBuildArtifactsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Images() *[]*string SetImages(val *[]*string) ImagesInput() *[]*string InternalValue() *CloudbuildTriggerBuildArtifacts SetInternalValue(val *CloudbuildTriggerBuildArtifacts) Objects() CloudbuildTriggerBuildArtifactsObjectsOutputReference ObjectsInput() *CloudbuildTriggerBuildArtifactsObjects // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutObjects(value *CloudbuildTriggerBuildArtifactsObjects) ResetImages() ResetObjects() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildArtifactsOutputReference ¶
func NewCloudbuildTriggerBuildArtifactsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildArtifactsOutputReference
type CloudbuildTriggerBuildAvailableSecrets ¶
type CloudbuildTriggerBuildAvailableSecrets struct { // secret_manager block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#secret_manager CloudbuildTrigger#secret_manager} SecretManager interface{} `field:"required" json:"secretManager" yaml:"secretManager"` }
type CloudbuildTriggerBuildAvailableSecretsOutputReference ¶
type CloudbuildTriggerBuildAvailableSecretsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBuildAvailableSecrets SetInternalValue(val *CloudbuildTriggerBuildAvailableSecrets) SecretManager() CloudbuildTriggerBuildAvailableSecretsSecretManagerList SecretManagerInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutSecretManager(value interface{}) // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildAvailableSecretsOutputReference ¶
func NewCloudbuildTriggerBuildAvailableSecretsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildAvailableSecretsOutputReference
type CloudbuildTriggerBuildAvailableSecretsSecretManager ¶
type CloudbuildTriggerBuildAvailableSecretsSecretManager struct { // Environment variable name to associate with the secret. // // Secret environment // variables must be unique across all of a build's secrets, and must be used // by at least one build step. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#env CloudbuildTrigger#env} Env *string `field:"required" json:"env" yaml:"env"` // Resource name of the SecretVersion. In format: projects/*\/secrets/*\/versions/*. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#version_name CloudbuildTrigger#version_name} VersionName *string `field:"required" json:"versionName" yaml:"versionName"` }
type CloudbuildTriggerBuildAvailableSecretsSecretManagerList ¶
type CloudbuildTriggerBuildAvailableSecretsSecretManagerList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerList ¶
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudbuildTriggerBuildAvailableSecretsSecretManagerList
type CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference ¶
type CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Env() *string SetEnv(val *string) EnvInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) VersionName() *string SetVersionName(val *string) VersionNameInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference ¶
func NewCloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference
type CloudbuildTriggerBuildOptions ¶
type CloudbuildTriggerBuildOptions struct { // Requested disk size for the VM that runs the build. // // Note that this is NOT "disk free"; // some of the space will be used by the operating system and build utilities. // Also note that this is the minimum disk size that will be allocated for the build -- // the build may run with a larger disk than requested. At present, the maximum disk size // is 1000GB; builds that request more than the maximum are rejected with an error. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#disk_size_gb CloudbuildTrigger#disk_size_gb} DiskSizeGb *float64 `field:"optional" json:"diskSizeGb" yaml:"diskSizeGb"` // Option to specify whether or not to apply bash style string operations to the substitutions. // // NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#dynamic_substitutions CloudbuildTrigger#dynamic_substitutions} DynamicSubstitutions interface{} `field:"optional" json:"dynamicSubstitutions" yaml:"dynamicSubstitutions"` // A list of global environment variable definitions that will exist for all build steps in this build. // // If a variable is defined in both globally and in a build step, // the variable will use the build step value. // // The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#env CloudbuildTrigger#env} Env *[]*string `field:"optional" json:"env" yaml:"env"` // Option to specify the logging mode, which determines if and where build logs are stored. // // Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#logging CloudbuildTrigger#logging} Logging *string `field:"optional" json:"logging" yaml:"logging"` // Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#log_streaming_option CloudbuildTrigger#log_streaming_option} LogStreamingOption *string `field:"optional" json:"logStreamingOption" yaml:"logStreamingOption"` // Compute Engine machine type on which to run the build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#machine_type CloudbuildTrigger#machine_type} MachineType *string `field:"optional" json:"machineType" yaml:"machineType"` // Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#requested_verify_option CloudbuildTrigger#requested_verify_option} RequestedVerifyOption *string `field:"optional" json:"requestedVerifyOption" yaml:"requestedVerifyOption"` // A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. // // These values must be specified in the build's Secret. These variables // will be available to all build steps in this build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#secret_env CloudbuildTrigger#secret_env} SecretEnv *[]*string `field:"optional" json:"secretEnv" yaml:"secretEnv"` // Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#source_provenance_hash CloudbuildTrigger#source_provenance_hash} SourceProvenanceHash *[]*string `field:"optional" json:"sourceProvenanceHash" yaml:"sourceProvenanceHash"` // Option to specify behavior when there is an error in the substitution checks. // // NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden // in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#substitution_option CloudbuildTrigger#substitution_option} SubstitutionOption *string `field:"optional" json:"substitutionOption" yaml:"substitutionOption"` // volumes block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#volumes CloudbuildTrigger#volumes} Volumes interface{} `field:"optional" json:"volumes" yaml:"volumes"` // Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}. // // This field is experimental. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#worker_pool CloudbuildTrigger#worker_pool} WorkerPool *string `field:"optional" json:"workerPool" yaml:"workerPool"` }
type CloudbuildTriggerBuildOptionsOutputReference ¶
type CloudbuildTriggerBuildOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DiskSizeGb() *float64 SetDiskSizeGb(val *float64) DiskSizeGbInput() *float64 DynamicSubstitutions() interface{} SetDynamicSubstitutions(val interface{}) DynamicSubstitutionsInput() interface{} Env() *[]*string SetEnv(val *[]*string) EnvInput() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBuildOptions SetInternalValue(val *CloudbuildTriggerBuildOptions) Logging() *string SetLogging(val *string) LoggingInput() *string LogStreamingOption() *string SetLogStreamingOption(val *string) LogStreamingOptionInput() *string MachineType() *string SetMachineType(val *string) MachineTypeInput() *string RequestedVerifyOption() *string SetRequestedVerifyOption(val *string) RequestedVerifyOptionInput() *string SecretEnv() *[]*string SetSecretEnv(val *[]*string) SecretEnvInput() *[]*string SourceProvenanceHash() *[]*string SetSourceProvenanceHash(val *[]*string) SourceProvenanceHashInput() *[]*string SubstitutionOption() *string SetSubstitutionOption(val *string) SubstitutionOptionInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Volumes() CloudbuildTriggerBuildOptionsVolumesList VolumesInput() interface{} WorkerPool() *string SetWorkerPool(val *string) WorkerPoolInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutVolumes(value interface{}) ResetDiskSizeGb() ResetDynamicSubstitutions() ResetEnv() ResetLogging() ResetLogStreamingOption() ResetMachineType() ResetRequestedVerifyOption() ResetSecretEnv() ResetSourceProvenanceHash() ResetSubstitutionOption() ResetVolumes() ResetWorkerPool() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildOptionsOutputReference ¶
func NewCloudbuildTriggerBuildOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildOptionsOutputReference
type CloudbuildTriggerBuildOptionsVolumes ¶
type CloudbuildTriggerBuildOptionsVolumes struct { // Name of the volume to mount. // // Volume names must be unique per build step and must be valid names for Docker volumes. // Each named volume must be used by at least two build steps. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name} Name *string `field:"optional" json:"name" yaml:"name"` // Path at which to mount the volume. // // Paths must be absolute and cannot conflict with other volume paths on the same // build step or with certain reserved volume paths. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#path CloudbuildTrigger#path} Path *string `field:"optional" json:"path" yaml:"path"` }
type CloudbuildTriggerBuildOptionsVolumesList ¶
type CloudbuildTriggerBuildOptionsVolumesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) CloudbuildTriggerBuildOptionsVolumesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildOptionsVolumesList ¶
func NewCloudbuildTriggerBuildOptionsVolumesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudbuildTriggerBuildOptionsVolumesList
type CloudbuildTriggerBuildOptionsVolumesOutputReference ¶
type CloudbuildTriggerBuildOptionsVolumesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Path() *string SetPath(val *string) PathInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetName() ResetPath() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildOptionsVolumesOutputReference ¶
func NewCloudbuildTriggerBuildOptionsVolumesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudbuildTriggerBuildOptionsVolumesOutputReference
type CloudbuildTriggerBuildOutputReference ¶
type CloudbuildTriggerBuildOutputReference interface { cdktf.ComplexObject Artifacts() CloudbuildTriggerBuildArtifactsOutputReference ArtifactsInput() *CloudbuildTriggerBuildArtifacts AvailableSecrets() CloudbuildTriggerBuildAvailableSecretsOutputReference AvailableSecretsInput() *CloudbuildTriggerBuildAvailableSecrets // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Images() *[]*string SetImages(val *[]*string) ImagesInput() *[]*string InternalValue() *CloudbuildTriggerBuild SetInternalValue(val *CloudbuildTriggerBuild) LogsBucket() *string SetLogsBucket(val *string) LogsBucketInput() *string Options() CloudbuildTriggerBuildOptionsOutputReference OptionsInput() *CloudbuildTriggerBuildOptions QueueTtl() *string SetQueueTtl(val *string) QueueTtlInput() *string Secret() CloudbuildTriggerBuildSecretList SecretInput() interface{} Source() CloudbuildTriggerBuildSourceOutputReference SourceInput() *CloudbuildTriggerBuildSource Step() CloudbuildTriggerBuildStepList StepInput() interface{} Substitutions() *map[string]*string SetSubstitutions(val *map[string]*string) SubstitutionsInput() *map[string]*string Tags() *[]*string SetTags(val *[]*string) TagsInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Timeout() *string SetTimeout(val *string) TimeoutInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutArtifacts(value *CloudbuildTriggerBuildArtifacts) PutAvailableSecrets(value *CloudbuildTriggerBuildAvailableSecrets) PutOptions(value *CloudbuildTriggerBuildOptions) PutSecret(value interface{}) PutSource(value *CloudbuildTriggerBuildSource) PutStep(value interface{}) ResetArtifacts() ResetAvailableSecrets() ResetImages() ResetLogsBucket() ResetOptions() ResetQueueTtl() ResetSecret() ResetSource() ResetSubstitutions() ResetTags() ResetTimeout() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildOutputReference ¶
func NewCloudbuildTriggerBuildOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildOutputReference
type CloudbuildTriggerBuildSecret ¶
type CloudbuildTriggerBuildSecret struct { // Cloud KMS key name to use to decrypt these envs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#kms_key_name CloudbuildTrigger#kms_key_name} KmsKeyName *string `field:"required" json:"kmsKeyName" yaml:"kmsKeyName"` // Map of environment variable name to its encrypted value. // // Secret environment variables must be unique across all of a build's secrets, // and must be used by at least one build step. Values can be at most 64 KB in size. // There can be at most 100 secret values across all of a build's secrets. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#secret_env CloudbuildTrigger#secret_env} SecretEnv *map[string]*string `field:"optional" json:"secretEnv" yaml:"secretEnv"` }
type CloudbuildTriggerBuildSecretList ¶
type CloudbuildTriggerBuildSecretList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) CloudbuildTriggerBuildSecretOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildSecretList ¶
func NewCloudbuildTriggerBuildSecretList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudbuildTriggerBuildSecretList
type CloudbuildTriggerBuildSecretOutputReference ¶
type CloudbuildTriggerBuildSecretOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) KmsKeyName() *string SetKmsKeyName(val *string) KmsKeyNameInput() *string SecretEnv() *map[string]*string SetSecretEnv(val *map[string]*string) SecretEnvInput() *map[string]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetSecretEnv() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildSecretOutputReference ¶
func NewCloudbuildTriggerBuildSecretOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudbuildTriggerBuildSecretOutputReference
type CloudbuildTriggerBuildSource ¶
type CloudbuildTriggerBuildSource struct { // repo_source block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repo_source CloudbuildTrigger#repo_source} RepoSource *CloudbuildTriggerBuildSourceRepoSource `field:"optional" json:"repoSource" yaml:"repoSource"` // storage_source block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#storage_source CloudbuildTrigger#storage_source} StorageSource *CloudbuildTriggerBuildSourceStorageSource `field:"optional" json:"storageSource" yaml:"storageSource"` }
type CloudbuildTriggerBuildSourceOutputReference ¶
type CloudbuildTriggerBuildSourceOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBuildSource SetInternalValue(val *CloudbuildTriggerBuildSource) RepoSource() CloudbuildTriggerBuildSourceRepoSourceOutputReference RepoSourceInput() *CloudbuildTriggerBuildSourceRepoSource StorageSource() CloudbuildTriggerBuildSourceStorageSourceOutputReference StorageSourceInput() *CloudbuildTriggerBuildSourceStorageSource // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutRepoSource(value *CloudbuildTriggerBuildSourceRepoSource) PutStorageSource(value *CloudbuildTriggerBuildSourceStorageSource) ResetRepoSource() ResetStorageSource() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildSourceOutputReference ¶
func NewCloudbuildTriggerBuildSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildSourceOutputReference
type CloudbuildTriggerBuildSourceRepoSource ¶
type CloudbuildTriggerBuildSourceRepoSource struct { // Name of the Cloud Source Repository. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repo_name CloudbuildTrigger#repo_name} RepoName *string `field:"required" json:"repoName" yaml:"repoName"` // Regex matching branches to build. // // Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch_name CloudbuildTrigger#branch_name} BranchName *string `field:"optional" json:"branchName" yaml:"branchName"` // Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#commit_sha CloudbuildTrigger#commit_sha} CommitSha *string `field:"optional" json:"commitSha" yaml:"commitSha"` // Directory, relative to the source root, in which to run the build. // // This must be a relative path. If a step's dir is specified and is an absolute path, // this value is ignored for that step's execution. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#dir CloudbuildTrigger#dir} Dir *string `field:"optional" json:"dir" yaml:"dir"` // Only trigger a build if the revision regex does NOT match the revision regex. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#project_id CloudbuildTrigger#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` // Substitutions to use in a triggered build. Should only be used with triggers.run. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#substitutions CloudbuildTrigger#substitutions} Substitutions *map[string]*string `field:"optional" json:"substitutions" yaml:"substitutions"` // Regex matching tags to build. // // Exactly one a of branch name, tag, or commit SHA must be provided. // The syntax of the regular expressions accepted is the syntax accepted by RE2 and // described at https://github.com/google/re2/wiki/Syntax // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#tag_name CloudbuildTrigger#tag_name} TagName *string `field:"optional" json:"tagName" yaml:"tagName"` }
type CloudbuildTriggerBuildSourceRepoSourceOutputReference ¶
type CloudbuildTriggerBuildSourceRepoSourceOutputReference interface { cdktf.ComplexObject BranchName() *string SetBranchName(val *string) BranchNameInput() *string CommitSha() *string SetCommitSha(val *string) CommitShaInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dir() *string SetDir(val *string) DirInput() *string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerBuildSourceRepoSource SetInternalValue(val *CloudbuildTriggerBuildSourceRepoSource) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} ProjectId() *string SetProjectId(val *string) ProjectIdInput() *string RepoName() *string SetRepoName(val *string) RepoNameInput() *string Substitutions() *map[string]*string SetSubstitutions(val *map[string]*string) SubstitutionsInput() *map[string]*string TagName() *string SetTagName(val *string) TagNameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBranchName() ResetCommitSha() ResetDir() ResetInvertRegex() ResetProjectId() ResetSubstitutions() ResetTagName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildSourceRepoSourceOutputReference ¶
func NewCloudbuildTriggerBuildSourceRepoSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildSourceRepoSourceOutputReference
type CloudbuildTriggerBuildSourceStorageSource ¶
type CloudbuildTriggerBuildSourceStorageSource struct { // Google Cloud Storage bucket containing the source. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#bucket CloudbuildTrigger#bucket} Bucket *string `field:"required" json:"bucket" yaml:"bucket"` // Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#object CloudbuildTrigger#object} Object *string `field:"required" json:"object" yaml:"object"` // Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#generation CloudbuildTrigger#generation} Generation *string `field:"optional" json:"generation" yaml:"generation"` }
type CloudbuildTriggerBuildSourceStorageSourceOutputReference ¶
type CloudbuildTriggerBuildSourceStorageSourceOutputReference interface { cdktf.ComplexObject Bucket() *string SetBucket(val *string) BucketInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Generation() *string SetGeneration(val *string) GenerationInput() *string InternalValue() *CloudbuildTriggerBuildSourceStorageSource SetInternalValue(val *CloudbuildTriggerBuildSourceStorageSource) Object() *string SetObject(val *string) ObjectInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetGeneration() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildSourceStorageSourceOutputReference ¶
func NewCloudbuildTriggerBuildSourceStorageSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerBuildSourceStorageSourceOutputReference
type CloudbuildTriggerBuildStep ¶
type CloudbuildTriggerBuildStep struct { // The name of the container image that will run this particular build step. // // If the image is available in the host's Docker daemon's cache, it will be // run directly. If not, the host will attempt to pull the image first, using // the builder service account's credentials if necessary. // // The Docker daemon's cache will already have the latest versions of all of // the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders // for images and examples). // The Docker daemon will also have cached many of the layers for some popular // images, like "ubuntu", "debian", but they will be refreshed at the time // you attempt to use them. // // If you built an image in a previous build step, it will be stored in the // host's Docker daemon's cache and is available to use as the name for a // later build step. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name} Name *string `field:"required" json:"name" yaml:"name"` // Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. // // If 'allowFailure' is also specified, this field will take precedence. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#allow_exit_codes CloudbuildTrigger#allow_exit_codes} AllowExitCodes *[]*float64 `field:"optional" json:"allowExitCodes" yaml:"allowExitCodes"` // Allow this build step to fail without failing the entire build. // // If false, the entire build will fail if this step fails. Otherwise, the // build will succeed, but this step will still have a failure status. // Error information will be reported in the 'failureDetail' field. // // 'allowExitCodes' takes precedence over this field. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#allow_failure CloudbuildTrigger#allow_failure} AllowFailure interface{} `field:"optional" json:"allowFailure" yaml:"allowFailure"` // A list of arguments that will be presented to the step when it is started. // // If the image used to run the step's container has an entrypoint, the args // are used as arguments to that entrypoint. If the image does not define an // entrypoint, the first element in args is used as the entrypoint, and the // remainder will be used as arguments. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#args CloudbuildTrigger#args} Args *[]*string `field:"optional" json:"args" yaml:"args"` // Working directory to use when running this step's container. // // If this value is a relative path, it is relative to the build's working // directory. If this value is absolute, it may be outside the build's working // directory, in which case the contents of the path may not be persisted // across build step executions, unless a 'volume' for that path is specified. // // If the build specifies a 'RepoSource' with 'dir' and a step with a // 'dir', // which specifies an absolute path, the 'RepoSource' 'dir' is ignored // for the step's execution. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#dir CloudbuildTrigger#dir} Dir *string `field:"optional" json:"dir" yaml:"dir"` // Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#entrypoint CloudbuildTrigger#entrypoint} Entrypoint *string `field:"optional" json:"entrypoint" yaml:"entrypoint"` // A list of environment variable definitions to be used when running a step. // // The elements are of the form "KEY=VALUE" for the environment variable // "KEY" being given the value "VALUE". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#env CloudbuildTrigger#env} Env *[]*string `field:"optional" json:"env" yaml:"env"` // Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#id CloudbuildTrigger#id} // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // A shell script to be executed in the step. // // When script is provided, the user cannot specify the entrypoint or args. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#script CloudbuildTrigger#script} Script *string `field:"optional" json:"script" yaml:"script"` // A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. // // These values must be specified in // the build's 'Secret'. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#secret_env CloudbuildTrigger#secret_env} SecretEnv *[]*string `field:"optional" json:"secretEnv" yaml:"secretEnv"` // Time limit for executing this build step. // // If not defined, // the step has no // time limit and will be allowed to continue to run until either it // completes or the build itself times out. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#timeout CloudbuildTrigger#timeout} Timeout *string `field:"optional" json:"timeout" yaml:"timeout"` // Output only. Stores timing information for executing this build step. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#timing CloudbuildTrigger#timing} Timing *string `field:"optional" json:"timing" yaml:"timing"` // volumes block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#volumes CloudbuildTrigger#volumes} Volumes interface{} `field:"optional" json:"volumes" yaml:"volumes"` // The ID(s) of the step(s) that this build step depends on. // // This build step will not start until all the build steps in 'wait_for' // have completed successfully. If 'wait_for' is empty, this build step // will start when all previous build steps in the 'Build.Steps' list // have completed successfully. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#wait_for CloudbuildTrigger#wait_for} WaitFor *[]*string `field:"optional" json:"waitFor" yaml:"waitFor"` }
type CloudbuildTriggerBuildStepList ¶
type CloudbuildTriggerBuildStepList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) CloudbuildTriggerBuildStepOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildStepList ¶
func NewCloudbuildTriggerBuildStepList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudbuildTriggerBuildStepList
type CloudbuildTriggerBuildStepOutputReference ¶
type CloudbuildTriggerBuildStepOutputReference interface { cdktf.ComplexObject AllowExitCodes() *[]*float64 SetAllowExitCodes(val *[]*float64) AllowExitCodesInput() *[]*float64 AllowFailure() interface{} SetAllowFailure(val interface{}) AllowFailureInput() interface{} Args() *[]*string SetArgs(val *[]*string) ArgsInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dir() *string SetDir(val *string) DirInput() *string Entrypoint() *string SetEntrypoint(val *string) EntrypointInput() *string Env() *[]*string SetEnv(val *[]*string) EnvInput() *[]*string // Experimental. Fqn() *string Id() *string SetId(val *string) IdInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Script() *string SetScript(val *string) ScriptInput() *string SecretEnv() *[]*string SetSecretEnv(val *[]*string) SecretEnvInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Timeout() *string SetTimeout(val *string) TimeoutInput() *string Timing() *string SetTiming(val *string) TimingInput() *string Volumes() CloudbuildTriggerBuildStepVolumesList VolumesInput() interface{} WaitFor() *[]*string SetWaitFor(val *[]*string) WaitForInput() *[]*string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutVolumes(value interface{}) ResetAllowExitCodes() ResetAllowFailure() ResetArgs() ResetDir() ResetEntrypoint() ResetEnv() ResetId() ResetScript() ResetSecretEnv() ResetTimeout() ResetTiming() ResetVolumes() ResetWaitFor() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildStepOutputReference ¶
func NewCloudbuildTriggerBuildStepOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudbuildTriggerBuildStepOutputReference
type CloudbuildTriggerBuildStepVolumes ¶
type CloudbuildTriggerBuildStepVolumes struct { // Name of the volume to mount. // // Volume names must be unique per build step and must be valid names for // Docker volumes. Each named volume must be used by at least two build steps. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name} Name *string `field:"required" json:"name" yaml:"name"` // Path at which to mount the volume. // // Paths must be absolute and cannot conflict with other volume paths on // the same build step or with certain reserved volume paths. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#path CloudbuildTrigger#path} Path *string `field:"required" json:"path" yaml:"path"` }
type CloudbuildTriggerBuildStepVolumesList ¶
type CloudbuildTriggerBuildStepVolumesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) CloudbuildTriggerBuildStepVolumesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildStepVolumesList ¶
func NewCloudbuildTriggerBuildStepVolumesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) CloudbuildTriggerBuildStepVolumesList
type CloudbuildTriggerBuildStepVolumesOutputReference ¶
type CloudbuildTriggerBuildStepVolumesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Path() *string SetPath(val *string) PathInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerBuildStepVolumesOutputReference ¶
func NewCloudbuildTriggerBuildStepVolumesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) CloudbuildTriggerBuildStepVolumesOutputReference
type CloudbuildTriggerConfig ¶
type CloudbuildTriggerConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // approval_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#approval_config CloudbuildTrigger#approval_config} ApprovalConfig *CloudbuildTriggerApprovalConfig `field:"optional" json:"approvalConfig" yaml:"approvalConfig"` // bitbucket_server_trigger_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#bitbucket_server_trigger_config CloudbuildTrigger#bitbucket_server_trigger_config} BitbucketServerTriggerConfig *CloudbuildTriggerBitbucketServerTriggerConfig `field:"optional" json:"bitbucketServerTriggerConfig" yaml:"bitbucketServerTriggerConfig"` // build block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#build CloudbuildTrigger#build} BuildAttribute *CloudbuildTriggerBuild `field:"optional" json:"buildAttribute" yaml:"buildAttribute"` // Human-readable description of the trigger. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#description CloudbuildTrigger#description} Description *string `field:"optional" json:"description" yaml:"description"` // Whether the trigger is disabled or not. If true, the trigger will never result in a build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#disabled CloudbuildTrigger#disabled} Disabled interface{} `field:"optional" json:"disabled" yaml:"disabled"` // Path, from the source root, to a file whose contents is used for the template. // // Either a filename or build template must be provided. Set this only when using trigger_template or github. // When using Pub/Sub, Webhook or Manual set the file name using git_file_source instead. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#filename CloudbuildTrigger#filename} Filename *string `field:"optional" json:"filename" yaml:"filename"` // A Common Expression Language string. Used only with Pub/Sub and Webhook. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#filter CloudbuildTrigger#filter} Filter *string `field:"optional" json:"filter" yaml:"filter"` // git_file_source block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#git_file_source CloudbuildTrigger#git_file_source} GitFileSource *CloudbuildTriggerGitFileSource `field:"optional" json:"gitFileSource" yaml:"gitFileSource"` // github block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#github CloudbuildTrigger#github} Github *CloudbuildTriggerGithub `field:"optional" json:"github" yaml:"github"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#id CloudbuildTrigger#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for '**'. // // If ignoredFiles and changed files are both empty, then they are not // used to determine whether or not to trigger a build. // // If ignoredFiles is not empty, then we ignore any files that match any // of the ignored_file globs. If the change has no files that are outside // of the ignoredFiles globs, then we do not trigger a build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#ignored_files CloudbuildTrigger#ignored_files} IgnoredFiles *[]*string `field:"optional" json:"ignoredFiles" yaml:"ignoredFiles"` // Build logs will be sent back to GitHub as part of the checkrun result. // // Values can be INCLUDE_BUILD_LOGS_UNSPECIFIED or // INCLUDE_BUILD_LOGS_WITH_STATUS Possible values: ["INCLUDE_BUILD_LOGS_UNSPECIFIED", "INCLUDE_BUILD_LOGS_WITH_STATUS"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#include_build_logs CloudbuildTrigger#include_build_logs} IncludeBuildLogs *string `field:"optional" json:"includeBuildLogs" yaml:"includeBuildLogs"` // ignoredFiles and includedFiles are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for '**'. // // If any of the files altered in the commit pass the ignoredFiles filter // and includedFiles is empty, then as far as this filter is concerned, we // should trigger the build. // // If any of the files altered in the commit pass the ignoredFiles filter // and includedFiles is not empty, then we make sure that at least one of // those files matches a includedFiles glob. If not, then we do not trigger // a build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#included_files CloudbuildTrigger#included_files} IncludedFiles *[]*string `field:"optional" json:"includedFiles" yaml:"includedFiles"` // The [Cloud Build location](https://cloud.google.com/build/docs/locations) for the trigger. If not specified, "global" is used. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#location CloudbuildTrigger#location} Location *string `field:"optional" json:"location" yaml:"location"` // Name of the trigger. Must be unique within the project. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name} Name *string `field:"optional" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#project CloudbuildTrigger#project}. Project *string `field:"optional" json:"project" yaml:"project"` // pubsub_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#pubsub_config CloudbuildTrigger#pubsub_config} PubsubConfig *CloudbuildTriggerPubsubConfig `field:"optional" json:"pubsubConfig" yaml:"pubsubConfig"` // repository_event_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repository_event_config CloudbuildTrigger#repository_event_config} RepositoryEventConfig *CloudbuildTriggerRepositoryEventConfig `field:"optional" json:"repositoryEventConfig" yaml:"repositoryEventConfig"` // The service account used for all user-controlled operations including triggers.patch, triggers.run, builds.create, and builds.cancel. // // If no service account is set, then the standard Cloud Build service account // ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. // // Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL} // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#service_account CloudbuildTrigger#service_account} ServiceAccount *string `field:"optional" json:"serviceAccount" yaml:"serviceAccount"` // source_to_build block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#source_to_build CloudbuildTrigger#source_to_build} SourceToBuild *CloudbuildTriggerSourceToBuild `field:"optional" json:"sourceToBuild" yaml:"sourceToBuild"` // Substitutions data for Build resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#substitutions CloudbuildTrigger#substitutions} Substitutions *map[string]*string `field:"optional" json:"substitutions" yaml:"substitutions"` // Tags for annotation of a BuildTrigger. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#tags CloudbuildTrigger#tags} Tags *[]*string `field:"optional" json:"tags" yaml:"tags"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#timeouts CloudbuildTrigger#timeouts} Timeouts *CloudbuildTriggerTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // trigger_template block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#trigger_template CloudbuildTrigger#trigger_template} TriggerTemplate *CloudbuildTriggerTriggerTemplate `field:"optional" json:"triggerTemplate" yaml:"triggerTemplate"` // webhook_config block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#webhook_config CloudbuildTrigger#webhook_config} WebhookConfig *CloudbuildTriggerWebhookConfig `field:"optional" json:"webhookConfig" yaml:"webhookConfig"` }
type CloudbuildTriggerGitFileSource ¶
type CloudbuildTriggerGitFileSource struct { // The path of the file, with the repo root as the root of the path. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#path CloudbuildTrigger#path} Path *string `field:"required" json:"path" yaml:"path"` // The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repo_type CloudbuildTrigger#repo_type} RepoType *string `field:"required" json:"repoType" yaml:"repoType"` // The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#bitbucket_server_config CloudbuildTrigger#bitbucket_server_config} BitbucketServerConfig *string `field:"optional" json:"bitbucketServerConfig" yaml:"bitbucketServerConfig"` // The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#github_enterprise_config CloudbuildTrigger#github_enterprise_config} GithubEnterpriseConfig *string `field:"optional" json:"githubEnterpriseConfig" yaml:"githubEnterpriseConfig"` // The fully qualified resource name of the Repo API repository. // // The fully qualified resource name of the Repo API repository. // If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repository CloudbuildTrigger#repository} Repository *string `field:"optional" json:"repository" yaml:"repository"` // The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). // // This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions // If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#revision CloudbuildTrigger#revision} Revision *string `field:"optional" json:"revision" yaml:"revision"` // The URI of the repo (optional). // // If unspecified, the repo from which the trigger // invocation originated is assumed to be the repo from which to read the specified path. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#uri CloudbuildTrigger#uri} Uri *string `field:"optional" json:"uri" yaml:"uri"` }
type CloudbuildTriggerGitFileSourceOutputReference ¶
type CloudbuildTriggerGitFileSourceOutputReference interface { cdktf.ComplexObject BitbucketServerConfig() *string SetBitbucketServerConfig(val *string) BitbucketServerConfigInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GithubEnterpriseConfig() *string SetGithubEnterpriseConfig(val *string) GithubEnterpriseConfigInput() *string InternalValue() *CloudbuildTriggerGitFileSource SetInternalValue(val *CloudbuildTriggerGitFileSource) Path() *string SetPath(val *string) PathInput() *string Repository() *string SetRepository(val *string) RepositoryInput() *string RepoType() *string SetRepoType(val *string) RepoTypeInput() *string Revision() *string SetRevision(val *string) RevisionInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Uri() *string SetUri(val *string) UriInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBitbucketServerConfig() ResetGithubEnterpriseConfig() ResetRepository() ResetRevision() ResetUri() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerGitFileSourceOutputReference ¶
func NewCloudbuildTriggerGitFileSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerGitFileSourceOutputReference
type CloudbuildTriggerGithub ¶
type CloudbuildTriggerGithub struct { // The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#enterprise_config_resource_name CloudbuildTrigger#enterprise_config_resource_name} EnterpriseConfigResourceName *string `field:"optional" json:"enterpriseConfigResourceName" yaml:"enterpriseConfigResourceName"` // Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#name CloudbuildTrigger#name} Name *string `field:"optional" json:"name" yaml:"name"` // Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform". // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#owner CloudbuildTrigger#owner} Owner *string `field:"optional" json:"owner" yaml:"owner"` // pull_request block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#pull_request CloudbuildTrigger#pull_request} PullRequest *CloudbuildTriggerGithubPullRequest `field:"optional" json:"pullRequest" yaml:"pullRequest"` // push block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#push CloudbuildTrigger#push} Push *CloudbuildTriggerGithubPush `field:"optional" json:"push" yaml:"push"` }
type CloudbuildTriggerGithubOutputReference ¶
type CloudbuildTriggerGithubOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string EnterpriseConfigResourceName() *string SetEnterpriseConfigResourceName(val *string) EnterpriseConfigResourceNameInput() *string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerGithub SetInternalValue(val *CloudbuildTriggerGithub) Name() *string SetName(val *string) NameInput() *string Owner() *string SetOwner(val *string) OwnerInput() *string PullRequest() CloudbuildTriggerGithubPullRequestOutputReference PullRequestInput() *CloudbuildTriggerGithubPullRequest Push() CloudbuildTriggerGithubPushOutputReference PushInput() *CloudbuildTriggerGithubPush // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutPullRequest(value *CloudbuildTriggerGithubPullRequest) PutPush(value *CloudbuildTriggerGithubPush) ResetEnterpriseConfigResourceName() ResetName() ResetOwner() ResetPullRequest() ResetPush() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerGithubOutputReference ¶
func NewCloudbuildTriggerGithubOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerGithubOutputReference
type CloudbuildTriggerGithubPullRequest ¶
type CloudbuildTriggerGithubPullRequest struct { // Regex of branches to match. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} Branch *string `field:"required" json:"branch" yaml:"branch"` // Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#comment_control CloudbuildTrigger#comment_control} CommentControl *string `field:"optional" json:"commentControl" yaml:"commentControl"` // If true, branches that do NOT match the git_ref will trigger a build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` }
type CloudbuildTriggerGithubPullRequestOutputReference ¶
type CloudbuildTriggerGithubPullRequestOutputReference interface { cdktf.ComplexObject Branch() *string SetBranch(val *string) BranchInput() *string CommentControl() *string SetCommentControl(val *string) CommentControlInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerGithubPullRequest SetInternalValue(val *CloudbuildTriggerGithubPullRequest) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCommentControl() ResetInvertRegex() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerGithubPullRequestOutputReference ¶
func NewCloudbuildTriggerGithubPullRequestOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerGithubPullRequestOutputReference
type CloudbuildTriggerGithubPush ¶
type CloudbuildTriggerGithubPush struct { // Regex of branches to match. Specify only one of branch or tag. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} Branch *string `field:"optional" json:"branch" yaml:"branch"` // When true, only trigger a build if the revision regex does NOT match the git_ref regex. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` // Regex of tags to match. Specify only one of branch or tag. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#tag CloudbuildTrigger#tag} Tag *string `field:"optional" json:"tag" yaml:"tag"` }
type CloudbuildTriggerGithubPushOutputReference ¶
type CloudbuildTriggerGithubPushOutputReference interface { cdktf.ComplexObject Branch() *string SetBranch(val *string) BranchInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerGithubPush SetInternalValue(val *CloudbuildTriggerGithubPush) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} Tag() *string SetTag(val *string) TagInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBranch() ResetInvertRegex() ResetTag() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerGithubPushOutputReference ¶
func NewCloudbuildTriggerGithubPushOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerGithubPushOutputReference
type CloudbuildTriggerPubsubConfig ¶
type CloudbuildTriggerPubsubConfig struct { // The name of the topic from which this subscription is receiving messages. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#topic CloudbuildTrigger#topic} Topic *string `field:"required" json:"topic" yaml:"topic"` // Service account that will make the push request. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#service_account_email CloudbuildTrigger#service_account_email} ServiceAccountEmail *string `field:"optional" json:"serviceAccountEmail" yaml:"serviceAccountEmail"` }
type CloudbuildTriggerPubsubConfigOutputReference ¶
type CloudbuildTriggerPubsubConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerPubsubConfig SetInternalValue(val *CloudbuildTriggerPubsubConfig) ServiceAccountEmail() *string SetServiceAccountEmail(val *string) ServiceAccountEmailInput() *string State() *string Subscription() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Topic() *string SetTopic(val *string) TopicInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetServiceAccountEmail() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerPubsubConfigOutputReference ¶
func NewCloudbuildTriggerPubsubConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerPubsubConfigOutputReference
type CloudbuildTriggerRepositoryEventConfig ¶ added in v8.0.5
type CloudbuildTriggerRepositoryEventConfig struct { // pull_request block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#pull_request CloudbuildTrigger#pull_request} PullRequest *CloudbuildTriggerRepositoryEventConfigPullRequest `field:"optional" json:"pullRequest" yaml:"pullRequest"` // push block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#push CloudbuildTrigger#push} Push *CloudbuildTriggerRepositoryEventConfigPush `field:"optional" json:"push" yaml:"push"` // The resource name of the Repo API resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repository CloudbuildTrigger#repository} Repository *string `field:"optional" json:"repository" yaml:"repository"` }
type CloudbuildTriggerRepositoryEventConfigOutputReference ¶ added in v8.0.5
type CloudbuildTriggerRepositoryEventConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerRepositoryEventConfig SetInternalValue(val *CloudbuildTriggerRepositoryEventConfig) PullRequest() CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference PullRequestInput() *CloudbuildTriggerRepositoryEventConfigPullRequest Push() CloudbuildTriggerRepositoryEventConfigPushOutputReference PushInput() *CloudbuildTriggerRepositoryEventConfigPush Repository() *string SetRepository(val *string) RepositoryInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutPullRequest(value *CloudbuildTriggerRepositoryEventConfigPullRequest) PutPush(value *CloudbuildTriggerRepositoryEventConfigPush) ResetPullRequest() ResetPush() ResetRepository() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerRepositoryEventConfigOutputReference ¶ added in v8.0.5
func NewCloudbuildTriggerRepositoryEventConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerRepositoryEventConfigOutputReference
type CloudbuildTriggerRepositoryEventConfigPullRequest ¶ added in v8.0.5
type CloudbuildTriggerRepositoryEventConfigPullRequest struct { // Regex of branches to match. // // The syntax of the regular expressions accepted is the syntax accepted by // RE2 and described at https://github.com/google/re2/wiki/Syntax // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} Branch *string `field:"optional" json:"branch" yaml:"branch"` // Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#comment_control CloudbuildTrigger#comment_control} CommentControl *string `field:"optional" json:"commentControl" yaml:"commentControl"` // If true, branches that do NOT match the git_ref will trigger a build. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` }
type CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference ¶ added in v8.0.5
type CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference interface { cdktf.ComplexObject Branch() *string SetBranch(val *string) BranchInput() *string CommentControl() *string SetCommentControl(val *string) CommentControlInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerRepositoryEventConfigPullRequest SetInternalValue(val *CloudbuildTriggerRepositoryEventConfigPullRequest) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBranch() ResetCommentControl() ResetInvertRegex() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerRepositoryEventConfigPullRequestOutputReference ¶ added in v8.0.5
func NewCloudbuildTriggerRepositoryEventConfigPullRequestOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference
type CloudbuildTriggerRepositoryEventConfigPush ¶ added in v8.0.5
type CloudbuildTriggerRepositoryEventConfigPush struct { // Regex of branches to match. // // The syntax of the regular expressions accepted is the syntax accepted by // RE2 and described at https://github.com/google/re2/wiki/Syntax // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch CloudbuildTrigger#branch} Branch *string `field:"optional" json:"branch" yaml:"branch"` // If true, only trigger a build if the revision regex does NOT match the git_ref regex. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` // Regex of tags to match. // // The syntax of the regular expressions accepted is the syntax accepted by // RE2 and described at https://github.com/google/re2/wiki/Syntax // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#tag CloudbuildTrigger#tag} Tag *string `field:"optional" json:"tag" yaml:"tag"` }
type CloudbuildTriggerRepositoryEventConfigPushOutputReference ¶ added in v8.0.5
type CloudbuildTriggerRepositoryEventConfigPushOutputReference interface { cdktf.ComplexObject Branch() *string SetBranch(val *string) BranchInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerRepositoryEventConfigPush SetInternalValue(val *CloudbuildTriggerRepositoryEventConfigPush) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} Tag() *string SetTag(val *string) TagInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBranch() ResetInvertRegex() ResetTag() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerRepositoryEventConfigPushOutputReference ¶ added in v8.0.5
func NewCloudbuildTriggerRepositoryEventConfigPushOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerRepositoryEventConfigPushOutputReference
type CloudbuildTriggerSourceToBuild ¶
type CloudbuildTriggerSourceToBuild struct { // The branch or tag to use. Must start with "refs/" (required). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#ref CloudbuildTrigger#ref} Ref *string `field:"required" json:"ref" yaml:"ref"` // The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repo_type CloudbuildTrigger#repo_type} RepoType *string `field:"required" json:"repoType" yaml:"repoType"` // The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#bitbucket_server_config CloudbuildTrigger#bitbucket_server_config} BitbucketServerConfig *string `field:"optional" json:"bitbucketServerConfig" yaml:"bitbucketServerConfig"` // The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#github_enterprise_config CloudbuildTrigger#github_enterprise_config} GithubEnterpriseConfig *string `field:"optional" json:"githubEnterpriseConfig" yaml:"githubEnterpriseConfig"` // The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repository CloudbuildTrigger#repository} Repository *string `field:"optional" json:"repository" yaml:"repository"` // The URI of the repo. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#uri CloudbuildTrigger#uri} Uri *string `field:"optional" json:"uri" yaml:"uri"` }
type CloudbuildTriggerSourceToBuildOutputReference ¶
type CloudbuildTriggerSourceToBuildOutputReference interface { cdktf.ComplexObject BitbucketServerConfig() *string SetBitbucketServerConfig(val *string) BitbucketServerConfigInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GithubEnterpriseConfig() *string SetGithubEnterpriseConfig(val *string) GithubEnterpriseConfigInput() *string InternalValue() *CloudbuildTriggerSourceToBuild SetInternalValue(val *CloudbuildTriggerSourceToBuild) Ref() *string SetRef(val *string) RefInput() *string Repository() *string SetRepository(val *string) RepositoryInput() *string RepoType() *string SetRepoType(val *string) RepoTypeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Uri() *string SetUri(val *string) UriInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBitbucketServerConfig() ResetGithubEnterpriseConfig() ResetRepository() ResetUri() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerSourceToBuildOutputReference ¶
func NewCloudbuildTriggerSourceToBuildOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerSourceToBuildOutputReference
type CloudbuildTriggerTimeouts ¶
type CloudbuildTriggerTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#create CloudbuildTrigger#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#delete CloudbuildTrigger#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#update CloudbuildTrigger#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type CloudbuildTriggerTimeoutsOutputReference ¶
type CloudbuildTriggerTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerTimeoutsOutputReference ¶
func NewCloudbuildTriggerTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerTimeoutsOutputReference
type CloudbuildTriggerTriggerTemplate ¶
type CloudbuildTriggerTriggerTemplate struct { // Name of the branch to build. // // Exactly one a of branch name, tag, or commit SHA must be provided. // This field is a regular expression. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#branch_name CloudbuildTrigger#branch_name} BranchName *string `field:"optional" json:"branchName" yaml:"branchName"` // Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#commit_sha CloudbuildTrigger#commit_sha} CommitSha *string `field:"optional" json:"commitSha" yaml:"commitSha"` // Directory, relative to the source root, in which to run the build. // // This must be a relative path. If a step's dir is specified and // is an absolute path, this value is ignored for that step's // execution. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#dir CloudbuildTrigger#dir} Dir *string `field:"optional" json:"dir" yaml:"dir"` // Only trigger a build if the revision regex does NOT match the revision regex. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex} InvertRegex interface{} `field:"optional" json:"invertRegex" yaml:"invertRegex"` // ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#project_id CloudbuildTrigger#project_id} ProjectId *string `field:"optional" json:"projectId" yaml:"projectId"` // Name of the Cloud Source Repository. If omitted, the name "default" is assumed. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#repo_name CloudbuildTrigger#repo_name} RepoName *string `field:"optional" json:"repoName" yaml:"repoName"` // Name of the tag to build. // // Exactly one of a branch name, tag, or commit SHA must be provided. // This field is a regular expression. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#tag_name CloudbuildTrigger#tag_name} TagName *string `field:"optional" json:"tagName" yaml:"tagName"` }
type CloudbuildTriggerTriggerTemplateOutputReference ¶
type CloudbuildTriggerTriggerTemplateOutputReference interface { cdktf.ComplexObject BranchName() *string SetBranchName(val *string) BranchNameInput() *string CommitSha() *string SetCommitSha(val *string) CommitShaInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dir() *string SetDir(val *string) DirInput() *string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerTriggerTemplate SetInternalValue(val *CloudbuildTriggerTriggerTemplate) InvertRegex() interface{} SetInvertRegex(val interface{}) InvertRegexInput() interface{} ProjectId() *string SetProjectId(val *string) ProjectIdInput() *string RepoName() *string SetRepoName(val *string) RepoNameInput() *string TagName() *string SetTagName(val *string) TagNameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBranchName() ResetCommitSha() ResetDir() ResetInvertRegex() ResetProjectId() ResetRepoName() ResetTagName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerTriggerTemplateOutputReference ¶
func NewCloudbuildTriggerTriggerTemplateOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerTriggerTemplateOutputReference
type CloudbuildTriggerWebhookConfig ¶
type CloudbuildTriggerWebhookConfig struct { // Resource name for the secret required as a URL parameter. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/4.79.0/docs/resources/cloudbuild_trigger#secret CloudbuildTrigger#secret} Secret *string `field:"required" json:"secret" yaml:"secret"` }
type CloudbuildTriggerWebhookConfigOutputReference ¶
type CloudbuildTriggerWebhookConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *CloudbuildTriggerWebhookConfig SetInternalValue(val *CloudbuildTriggerWebhookConfig) Secret() *string SetSecret(val *string) SecretInput() *string State() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewCloudbuildTriggerWebhookConfigOutputReference ¶
func NewCloudbuildTriggerWebhookConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) CloudbuildTriggerWebhookConfigOutputReference
Source Files ¶
- CloudbuildTrigger.go
- CloudbuildTriggerApprovalConfig.go
- CloudbuildTriggerApprovalConfigOutputReference.go
- CloudbuildTriggerApprovalConfigOutputReference__checks.go
- CloudbuildTriggerBitbucketServerTriggerConfig.go
- CloudbuildTriggerBitbucketServerTriggerConfigOutputReference.go
- CloudbuildTriggerBitbucketServerTriggerConfigOutputReference__checks.go
- CloudbuildTriggerBitbucketServerTriggerConfigPullRequest.go
- CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference.go
- CloudbuildTriggerBitbucketServerTriggerConfigPullRequestOutputReference__checks.go
- CloudbuildTriggerBitbucketServerTriggerConfigPush.go
- CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference.go
- CloudbuildTriggerBitbucketServerTriggerConfigPushOutputReference__checks.go
- CloudbuildTriggerBuild.go
- CloudbuildTriggerBuildArtifacts.go
- CloudbuildTriggerBuildArtifactsObjects.go
- CloudbuildTriggerBuildArtifactsObjectsOutputReference.go
- CloudbuildTriggerBuildArtifactsObjectsOutputReference__checks.go
- CloudbuildTriggerBuildArtifactsObjectsTiming.go
- CloudbuildTriggerBuildArtifactsObjectsTimingList.go
- CloudbuildTriggerBuildArtifactsObjectsTimingList__checks.go
- CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference.go
- CloudbuildTriggerBuildArtifactsObjectsTimingOutputReference__checks.go
- CloudbuildTriggerBuildArtifactsOutputReference.go
- CloudbuildTriggerBuildArtifactsOutputReference__checks.go
- CloudbuildTriggerBuildAvailableSecrets.go
- CloudbuildTriggerBuildAvailableSecretsOutputReference.go
- CloudbuildTriggerBuildAvailableSecretsOutputReference__checks.go
- CloudbuildTriggerBuildAvailableSecretsSecretManager.go
- CloudbuildTriggerBuildAvailableSecretsSecretManagerList.go
- CloudbuildTriggerBuildAvailableSecretsSecretManagerList__checks.go
- CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference.go
- CloudbuildTriggerBuildAvailableSecretsSecretManagerOutputReference__checks.go
- CloudbuildTriggerBuildOptions.go
- CloudbuildTriggerBuildOptionsOutputReference.go
- CloudbuildTriggerBuildOptionsOutputReference__checks.go
- CloudbuildTriggerBuildOptionsVolumes.go
- CloudbuildTriggerBuildOptionsVolumesList.go
- CloudbuildTriggerBuildOptionsVolumesList__checks.go
- CloudbuildTriggerBuildOptionsVolumesOutputReference.go
- CloudbuildTriggerBuildOptionsVolumesOutputReference__checks.go
- CloudbuildTriggerBuildOutputReference.go
- CloudbuildTriggerBuildOutputReference__checks.go
- CloudbuildTriggerBuildSecret.go
- CloudbuildTriggerBuildSecretList.go
- CloudbuildTriggerBuildSecretList__checks.go
- CloudbuildTriggerBuildSecretOutputReference.go
- CloudbuildTriggerBuildSecretOutputReference__checks.go
- CloudbuildTriggerBuildSource.go
- CloudbuildTriggerBuildSourceOutputReference.go
- CloudbuildTriggerBuildSourceOutputReference__checks.go
- CloudbuildTriggerBuildSourceRepoSource.go
- CloudbuildTriggerBuildSourceRepoSourceOutputReference.go
- CloudbuildTriggerBuildSourceRepoSourceOutputReference__checks.go
- CloudbuildTriggerBuildSourceStorageSource.go
- CloudbuildTriggerBuildSourceStorageSourceOutputReference.go
- CloudbuildTriggerBuildSourceStorageSourceOutputReference__checks.go
- CloudbuildTriggerBuildStep.go
- CloudbuildTriggerBuildStepList.go
- CloudbuildTriggerBuildStepList__checks.go
- CloudbuildTriggerBuildStepOutputReference.go
- CloudbuildTriggerBuildStepOutputReference__checks.go
- CloudbuildTriggerBuildStepVolumes.go
- CloudbuildTriggerBuildStepVolumesList.go
- CloudbuildTriggerBuildStepVolumesList__checks.go
- CloudbuildTriggerBuildStepVolumesOutputReference.go
- CloudbuildTriggerBuildStepVolumesOutputReference__checks.go
- CloudbuildTriggerConfig.go
- CloudbuildTriggerGitFileSource.go
- CloudbuildTriggerGitFileSourceOutputReference.go
- CloudbuildTriggerGitFileSourceOutputReference__checks.go
- CloudbuildTriggerGithub.go
- CloudbuildTriggerGithubOutputReference.go
- CloudbuildTriggerGithubOutputReference__checks.go
- CloudbuildTriggerGithubPullRequest.go
- CloudbuildTriggerGithubPullRequestOutputReference.go
- CloudbuildTriggerGithubPullRequestOutputReference__checks.go
- CloudbuildTriggerGithubPush.go
- CloudbuildTriggerGithubPushOutputReference.go
- CloudbuildTriggerGithubPushOutputReference__checks.go
- CloudbuildTriggerPubsubConfig.go
- CloudbuildTriggerPubsubConfigOutputReference.go
- CloudbuildTriggerPubsubConfigOutputReference__checks.go
- CloudbuildTriggerRepositoryEventConfig.go
- CloudbuildTriggerRepositoryEventConfigOutputReference.go
- CloudbuildTriggerRepositoryEventConfigOutputReference__checks.go
- CloudbuildTriggerRepositoryEventConfigPullRequest.go
- CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference.go
- CloudbuildTriggerRepositoryEventConfigPullRequestOutputReference__checks.go
- CloudbuildTriggerRepositoryEventConfigPush.go
- CloudbuildTriggerRepositoryEventConfigPushOutputReference.go
- CloudbuildTriggerRepositoryEventConfigPushOutputReference__checks.go
- CloudbuildTriggerSourceToBuild.go
- CloudbuildTriggerSourceToBuildOutputReference.go
- CloudbuildTriggerSourceToBuildOutputReference__checks.go
- CloudbuildTriggerTimeouts.go
- CloudbuildTriggerTimeoutsOutputReference.go
- CloudbuildTriggerTimeoutsOutputReference__checks.go
- CloudbuildTriggerTriggerTemplate.go
- CloudbuildTriggerTriggerTemplateOutputReference.go
- CloudbuildTriggerTriggerTemplateOutputReference__checks.go
- CloudbuildTriggerWebhookConfig.go
- CloudbuildTriggerWebhookConfigOutputReference.go
- CloudbuildTriggerWebhookConfigOutputReference__checks.go
- CloudbuildTrigger__checks.go
- main.go