Documentation ¶
Index ¶
- func NewRepositoryPagesOutputReference_Override(r RepositoryPagesOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewRepositoryPagesSourceOutputReference_Override(r RepositoryPagesSourceOutputReference, ...)
- func NewRepositorySecurityAndAnalysisAdvancedSecurityOutputReference_Override(r RepositorySecurityAndAnalysisAdvancedSecurityOutputReference, ...)
- func NewRepositorySecurityAndAnalysisOutputReference_Override(r RepositorySecurityAndAnalysisOutputReference, ...)
- func NewRepositorySecurityAndAnalysisSecretScanningOutputReference_Override(r RepositorySecurityAndAnalysisSecretScanningOutputReference, ...)
- func NewRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference_Override(r RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference, ...)
- func NewRepositoryTemplateOutputReference_Override(r RepositoryTemplateOutputReference, ...)
- func NewRepository_Override(r Repository, scope constructs.Construct, id *string, config *RepositoryConfig)
- func Repository_IsConstruct(x interface{}) *bool
- func Repository_IsTerraformElement(x interface{}) *bool
- func Repository_IsTerraformResource(x interface{}) *bool
- func Repository_TfResourceType() *string
- type Repository
- type RepositoryConfig
- type RepositoryPages
- type RepositoryPagesOutputReference
- type RepositoryPagesSource
- type RepositoryPagesSourceOutputReference
- type RepositorySecurityAndAnalysis
- type RepositorySecurityAndAnalysisAdvancedSecurity
- type RepositorySecurityAndAnalysisAdvancedSecurityOutputReference
- type RepositorySecurityAndAnalysisOutputReference
- type RepositorySecurityAndAnalysisSecretScanning
- type RepositorySecurityAndAnalysisSecretScanningOutputReference
- type RepositorySecurityAndAnalysisSecretScanningPushProtection
- type RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference
- type RepositoryTemplate
- type RepositoryTemplateOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepositoryPagesOutputReference_Override ¶
func NewRepositoryPagesOutputReference_Override(r RepositoryPagesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRepositoryPagesSourceOutputReference_Override ¶
func NewRepositoryPagesSourceOutputReference_Override(r RepositoryPagesSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRepositorySecurityAndAnalysisAdvancedSecurityOutputReference_Override ¶
func NewRepositorySecurityAndAnalysisAdvancedSecurityOutputReference_Override(r RepositorySecurityAndAnalysisAdvancedSecurityOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRepositorySecurityAndAnalysisOutputReference_Override ¶
func NewRepositorySecurityAndAnalysisOutputReference_Override(r RepositorySecurityAndAnalysisOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRepositorySecurityAndAnalysisSecretScanningOutputReference_Override ¶
func NewRepositorySecurityAndAnalysisSecretScanningOutputReference_Override(r RepositorySecurityAndAnalysisSecretScanningOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference_Override ¶
func NewRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference_Override(r RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRepositoryTemplateOutputReference_Override ¶
func NewRepositoryTemplateOutputReference_Override(r RepositoryTemplateOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRepository_Override ¶
func NewRepository_Override(r Repository, scope constructs.Construct, id *string, config *RepositoryConfig)
Create a new {@link https://www.terraform.io/docs/providers/github/r/repository github_repository} Resource.
func Repository_IsConstruct ¶
func Repository_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 Repository_IsTerraformElement ¶
func Repository_IsTerraformElement(x interface{}) *bool
Experimental.
func Repository_IsTerraformResource ¶
func Repository_IsTerraformResource(x interface{}) *bool
Experimental.
func Repository_TfResourceType ¶
func Repository_TfResourceType() *string
Types ¶
type Repository ¶
type Repository interface { cdktf.TerraformResource AllowAutoMerge() interface{} SetAllowAutoMerge(val interface{}) AllowAutoMergeInput() interface{} AllowMergeCommit() interface{} SetAllowMergeCommit(val interface{}) AllowMergeCommitInput() interface{} AllowRebaseMerge() interface{} SetAllowRebaseMerge(val interface{}) AllowRebaseMergeInput() interface{} AllowSquashMerge() interface{} SetAllowSquashMerge(val interface{}) AllowSquashMergeInput() interface{} AllowUpdateBranch() interface{} SetAllowUpdateBranch(val interface{}) AllowUpdateBranchInput() interface{} Archived() interface{} SetArchived(val interface{}) ArchivedInput() interface{} ArchiveOnDestroy() interface{} SetArchiveOnDestroy(val interface{}) ArchiveOnDestroyInput() interface{} AutoInit() interface{} SetAutoInit(val interface{}) AutoInitInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) DefaultBranch() *string SetDefaultBranch(val *string) DefaultBranchInput() *string DeleteBranchOnMerge() interface{} SetDeleteBranchOnMerge(val interface{}) DeleteBranchOnMergeInput() interface{} // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string Etag() *string // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string FullName() *string GitCloneUrl() *string GitignoreTemplate() *string SetGitignoreTemplate(val *string) GitignoreTemplateInput() *string HasDiscussions() interface{} SetHasDiscussions(val interface{}) HasDiscussionsInput() interface{} HasDownloads() interface{} SetHasDownloads(val interface{}) HasDownloadsInput() interface{} HasIssues() interface{} SetHasIssues(val interface{}) HasIssuesInput() interface{} HasProjects() interface{} SetHasProjects(val interface{}) HasProjectsInput() interface{} HasWiki() interface{} SetHasWiki(val interface{}) HasWikiInput() interface{} HomepageUrl() *string SetHomepageUrl(val *string) HomepageUrlInput() *string HtmlUrl() *string HttpCloneUrl() *string Id() *string SetId(val *string) IdInput() *string IgnoreVulnerabilityAlertsDuringRead() interface{} SetIgnoreVulnerabilityAlertsDuringRead(val interface{}) IgnoreVulnerabilityAlertsDuringReadInput() interface{} IsTemplate() interface{} SetIsTemplate(val interface{}) IsTemplateInput() interface{} LicenseTemplate() *string SetLicenseTemplate(val *string) LicenseTemplateInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) MergeCommitMessage() *string SetMergeCommitMessage(val *string) MergeCommitMessageInput() *string MergeCommitTitle() *string SetMergeCommitTitle(val *string) MergeCommitTitleInput() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node NodeId() *string Pages() RepositoryPagesOutputReference PagesInput() *RepositoryPages Private() interface{} SetPrivate(val interface{}) PrivateInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RepoId() *float64 SecurityAndAnalysis() RepositorySecurityAndAnalysisOutputReference SecurityAndAnalysisInput() *RepositorySecurityAndAnalysis SquashMergeCommitMessage() *string SetSquashMergeCommitMessage(val *string) SquashMergeCommitMessageInput() *string SquashMergeCommitTitle() *string SetSquashMergeCommitTitle(val *string) SquashMergeCommitTitleInput() *string SshCloneUrl() *string SvnUrl() *string Template() RepositoryTemplateOutputReference TemplateInput() *RepositoryTemplate // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Topics() *[]*string SetTopics(val *[]*string) TopicsInput() *[]*string Visibility() *string SetVisibility(val *string) VisibilityInput() *string VulnerabilityAlerts() interface{} SetVulnerabilityAlerts(val interface{}) VulnerabilityAlertsInput() interface{} // 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) PutPages(value *RepositoryPages) PutSecurityAndAnalysis(value *RepositorySecurityAndAnalysis) PutTemplate(value *RepositoryTemplate) ResetAllowAutoMerge() ResetAllowMergeCommit() ResetAllowRebaseMerge() ResetAllowSquashMerge() ResetAllowUpdateBranch() ResetArchived() ResetArchiveOnDestroy() ResetAutoInit() ResetDefaultBranch() ResetDeleteBranchOnMerge() ResetDescription() ResetGitignoreTemplate() ResetHasDiscussions() ResetHasDownloads() ResetHasIssues() ResetHasProjects() ResetHasWiki() ResetHomepageUrl() ResetId() ResetIgnoreVulnerabilityAlertsDuringRead() ResetIsTemplate() ResetLicenseTemplate() ResetMergeCommitMessage() ResetMergeCommitTitle() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPages() ResetPrivate() ResetSecurityAndAnalysis() ResetSquashMergeCommitMessage() ResetSquashMergeCommitTitle() ResetTemplate() ResetTopics() ResetVisibility() ResetVulnerabilityAlerts() 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://www.terraform.io/docs/providers/github/r/repository github_repository}.
func NewRepository ¶
func NewRepository(scope constructs.Construct, id *string, config *RepositoryConfig) Repository
Create a new {@link https://www.terraform.io/docs/providers/github/r/repository github_repository} Resource.
type RepositoryConfig ¶
type RepositoryConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `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"` // The name of the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#name Repository#name} Name *string `field:"required" json:"name" yaml:"name"` // Set to 'true' to allow auto-merging pull requests on the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#allow_auto_merge Repository#allow_auto_merge} AllowAutoMerge interface{} `field:"optional" json:"allowAutoMerge" yaml:"allowAutoMerge"` // Set to 'false' to disable merge commits on the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#allow_merge_commit Repository#allow_merge_commit} AllowMergeCommit interface{} `field:"optional" json:"allowMergeCommit" yaml:"allowMergeCommit"` // Set to 'false' to disable rebase merges on the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#allow_rebase_merge Repository#allow_rebase_merge} AllowRebaseMerge interface{} `field:"optional" json:"allowRebaseMerge" yaml:"allowRebaseMerge"` // Set to 'false' to disable squash merges on the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#allow_squash_merge Repository#allow_squash_merge} AllowSquashMerge interface{} `field:"optional" json:"allowSquashMerge" yaml:"allowSquashMerge"` // Set to 'true' to always suggest updating pull request branches. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#allow_update_branch Repository#allow_update_branch} AllowUpdateBranch interface{} `field:"optional" json:"allowUpdateBranch" yaml:"allowUpdateBranch"` // Specifies if the repository should be archived. Defaults to 'false'. NOTE Currently, the API does not support unarchiving. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#archived Repository#archived} Archived interface{} `field:"optional" json:"archived" yaml:"archived"` // Set to 'true' to archive the repository instead of deleting on destroy. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#archive_on_destroy Repository#archive_on_destroy} ArchiveOnDestroy interface{} `field:"optional" json:"archiveOnDestroy" yaml:"archiveOnDestroy"` // Set to 'true' to produce an initial commit in the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#auto_init Repository#auto_init} AutoInit interface{} `field:"optional" json:"autoInit" yaml:"autoInit"` // Can only be set after initial repository creation, and only if the target branch exists. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#default_branch Repository#default_branch} DefaultBranch *string `field:"optional" json:"defaultBranch" yaml:"defaultBranch"` // Automatically delete head branch after a pull request is merged. Defaults to 'false'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#delete_branch_on_merge Repository#delete_branch_on_merge} DeleteBranchOnMerge interface{} `field:"optional" json:"deleteBranchOnMerge" yaml:"deleteBranchOnMerge"` // A description of the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#description Repository#description} Description *string `field:"optional" json:"description" yaml:"description"` // Use the name of the template without the extension. For example, 'Haskell'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#gitignore_template Repository#gitignore_template} GitignoreTemplate *string `field:"optional" json:"gitignoreTemplate" yaml:"gitignoreTemplate"` // Set to 'true' to enable GitHub Discussions on the repository. Defaults to 'false'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#has_discussions Repository#has_discussions} HasDiscussions interface{} `field:"optional" json:"hasDiscussions" yaml:"hasDiscussions"` // Set to 'true' to enable the (deprecated) downloads features on the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#has_downloads Repository#has_downloads} HasDownloads interface{} `field:"optional" json:"hasDownloads" yaml:"hasDownloads"` // Set to 'true' to enable the GitHub Issues features on the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#has_issues Repository#has_issues} HasIssues interface{} `field:"optional" json:"hasIssues" yaml:"hasIssues"` // Set to 'true' to enable the GitHub Projects features on the repository. // // Per the GitHub documentation when in an organization that has disabled repository projects it will default to 'false' and will otherwise default to 'true'. If you specify 'true' when it has been disabled it will return an error. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#has_projects Repository#has_projects} HasProjects interface{} `field:"optional" json:"hasProjects" yaml:"hasProjects"` // Set to 'true' to enable the GitHub Wiki features on the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#has_wiki Repository#has_wiki} HasWiki interface{} `field:"optional" json:"hasWiki" yaml:"hasWiki"` // URL of a page describing the project. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#homepage_url Repository#homepage_url} HomepageUrl *string `field:"optional" json:"homepageUrl" yaml:"homepageUrl"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#id Repository#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"` // Set to true to not call the vulnerability alerts endpoint so the resource can also be used without admin permissions during read. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#ignore_vulnerability_alerts_during_read Repository#ignore_vulnerability_alerts_during_read} IgnoreVulnerabilityAlertsDuringRead interface{} `field:"optional" json:"ignoreVulnerabilityAlertsDuringRead" yaml:"ignoreVulnerabilityAlertsDuringRead"` // Set to 'true' to tell GitHub that this is a template repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#is_template Repository#is_template} IsTemplate interface{} `field:"optional" json:"isTemplate" yaml:"isTemplate"` // Use the name of the template without the extension. For example, 'mit' or 'mpl-2.0'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#license_template Repository#license_template} LicenseTemplate *string `field:"optional" json:"licenseTemplate" yaml:"licenseTemplate"` // Can be 'PR_BODY', 'PR_TITLE', or 'BLANK' for a default merge commit message. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#merge_commit_message Repository#merge_commit_message} MergeCommitMessage *string `field:"optional" json:"mergeCommitMessage" yaml:"mergeCommitMessage"` // Can be 'PR_TITLE' or 'MERGE_MESSAGE' for a default merge commit title. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#merge_commit_title Repository#merge_commit_title} MergeCommitTitle *string `field:"optional" json:"mergeCommitTitle" yaml:"mergeCommitTitle"` // pages block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#pages Repository#pages} Pages *RepositoryPages `field:"optional" json:"pages" yaml:"pages"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#private Repository#private}. Private interface{} `field:"optional" json:"private" yaml:"private"` // security_and_analysis block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#security_and_analysis Repository#security_and_analysis} SecurityAndAnalysis *RepositorySecurityAndAnalysis `field:"optional" json:"securityAndAnalysis" yaml:"securityAndAnalysis"` // Can be 'PR_BODY', 'COMMIT_MESSAGES', or 'BLANK' for a default squash merge commit message. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#squash_merge_commit_message Repository#squash_merge_commit_message} SquashMergeCommitMessage *string `field:"optional" json:"squashMergeCommitMessage" yaml:"squashMergeCommitMessage"` // Can be 'PR_TITLE' or 'COMMIT_OR_PR_TITLE' for a default squash merge commit title. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#squash_merge_commit_title Repository#squash_merge_commit_title} SquashMergeCommitTitle *string `field:"optional" json:"squashMergeCommitTitle" yaml:"squashMergeCommitTitle"` // template block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#template Repository#template} Template *RepositoryTemplate `field:"optional" json:"template" yaml:"template"` // The list of topics of the repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#topics Repository#topics} Topics *[]*string `field:"optional" json:"topics" yaml:"topics"` // Can be 'public' or 'private'. // // If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, visibility can also be 'internal'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#visibility Repository#visibility} Visibility *string `field:"optional" json:"visibility" yaml:"visibility"` // Set to 'true' to enable security alerts for vulnerable dependencies. // // Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default). Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#vulnerability_alerts Repository#vulnerability_alerts} VulnerabilityAlerts interface{} `field:"optional" json:"vulnerabilityAlerts" yaml:"vulnerabilityAlerts"` }
type RepositoryPages ¶
type RepositoryPages struct { // source block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#source Repository#source} Source *RepositoryPagesSource `field:"required" json:"source" yaml:"source"` // The custom domain for the repository. This can only be set after the repository has been created. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#cname Repository#cname} Cname *string `field:"optional" json:"cname" yaml:"cname"` }
type RepositoryPagesOutputReference ¶
type RepositoryPagesOutputReference interface { cdktf.ComplexObject Cname() *string SetCname(val *string) CnameInput() *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 Custom404() cdktf.IResolvable // Experimental. Fqn() *string HtmlUrl() *string InternalValue() *RepositoryPages SetInternalValue(val *RepositoryPages) Source() RepositoryPagesSourceOutputReference SourceInput() *RepositoryPagesSource Status() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Url() *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 PutSource(value *RepositoryPagesSource) ResetCname() // 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 NewRepositoryPagesOutputReference ¶
func NewRepositoryPagesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RepositoryPagesOutputReference
type RepositoryPagesSource ¶
type RepositoryPagesSource struct { // The repository branch used to publish the site's source files. (i.e. 'main' or 'gh-pages'). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#branch Repository#branch} Branch *string `field:"required" json:"branch" yaml:"branch"` // The repository directory from which the site publishes (Default: '/'). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#path Repository#path} Path *string `field:"optional" json:"path" yaml:"path"` }
type RepositoryPagesSourceOutputReference ¶
type RepositoryPagesSourceOutputReference 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() *RepositoryPagesSource SetInternalValue(val *RepositoryPagesSource) 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 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 NewRepositoryPagesSourceOutputReference ¶
func NewRepositoryPagesSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RepositoryPagesSourceOutputReference
type RepositorySecurityAndAnalysis ¶
type RepositorySecurityAndAnalysis struct { // advanced_security block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#advanced_security Repository#advanced_security} AdvancedSecurity *RepositorySecurityAndAnalysisAdvancedSecurity `field:"optional" json:"advancedSecurity" yaml:"advancedSecurity"` // secret_scanning block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#secret_scanning Repository#secret_scanning} SecretScanning *RepositorySecurityAndAnalysisSecretScanning `field:"optional" json:"secretScanning" yaml:"secretScanning"` // secret_scanning_push_protection block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#secret_scanning_push_protection Repository#secret_scanning_push_protection} SecretScanningPushProtection *RepositorySecurityAndAnalysisSecretScanningPushProtection `field:"optional" json:"secretScanningPushProtection" yaml:"secretScanningPushProtection"` }
type RepositorySecurityAndAnalysisAdvancedSecurity ¶
type RepositorySecurityAndAnalysisAdvancedSecurity struct { // Set to 'enabled' to enable advanced security features on the repository. Can be 'enabled' or 'disabled'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#status Repository#status} Status *string `field:"required" json:"status" yaml:"status"` }
type RepositorySecurityAndAnalysisAdvancedSecurityOutputReference ¶
type RepositorySecurityAndAnalysisAdvancedSecurityOutputReference 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() *RepositorySecurityAndAnalysisAdvancedSecurity SetInternalValue(val *RepositorySecurityAndAnalysisAdvancedSecurity) Status() *string SetStatus(val *string) StatusInput() *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 NewRepositorySecurityAndAnalysisAdvancedSecurityOutputReference ¶
func NewRepositorySecurityAndAnalysisAdvancedSecurityOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RepositorySecurityAndAnalysisAdvancedSecurityOutputReference
type RepositorySecurityAndAnalysisOutputReference ¶
type RepositorySecurityAndAnalysisOutputReference interface { cdktf.ComplexObject AdvancedSecurity() RepositorySecurityAndAnalysisAdvancedSecurityOutputReference AdvancedSecurityInput() *RepositorySecurityAndAnalysisAdvancedSecurity // 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() *RepositorySecurityAndAnalysis SetInternalValue(val *RepositorySecurityAndAnalysis) SecretScanning() RepositorySecurityAndAnalysisSecretScanningOutputReference SecretScanningInput() *RepositorySecurityAndAnalysisSecretScanning SecretScanningPushProtection() RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference SecretScanningPushProtectionInput() *RepositorySecurityAndAnalysisSecretScanningPushProtection // 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 PutAdvancedSecurity(value *RepositorySecurityAndAnalysisAdvancedSecurity) PutSecretScanning(value *RepositorySecurityAndAnalysisSecretScanning) PutSecretScanningPushProtection(value *RepositorySecurityAndAnalysisSecretScanningPushProtection) ResetAdvancedSecurity() ResetSecretScanning() ResetSecretScanningPushProtection() // 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 NewRepositorySecurityAndAnalysisOutputReference ¶
func NewRepositorySecurityAndAnalysisOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RepositorySecurityAndAnalysisOutputReference
type RepositorySecurityAndAnalysisSecretScanning ¶
type RepositorySecurityAndAnalysisSecretScanning struct { // Set to 'enabled' to enable secret scanning on the repository. // // Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#status Repository#status} Status *string `field:"required" json:"status" yaml:"status"` }
type RepositorySecurityAndAnalysisSecretScanningOutputReference ¶
type RepositorySecurityAndAnalysisSecretScanningOutputReference 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() *RepositorySecurityAndAnalysisSecretScanning SetInternalValue(val *RepositorySecurityAndAnalysisSecretScanning) Status() *string SetStatus(val *string) StatusInput() *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 NewRepositorySecurityAndAnalysisSecretScanningOutputReference ¶
func NewRepositorySecurityAndAnalysisSecretScanningOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RepositorySecurityAndAnalysisSecretScanningOutputReference
type RepositorySecurityAndAnalysisSecretScanningPushProtection ¶
type RepositorySecurityAndAnalysisSecretScanningPushProtection struct { // Set to 'enabled' to enable secret scanning push protection on the repository. // // Can be 'enabled' or 'disabled'. If set to 'enabled', the repository's visibility must be 'public' or 'security_and_analysis[0].advanced_security[0].status' must also be set to 'enabled'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#status Repository#status} Status *string `field:"required" json:"status" yaml:"status"` }
type RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference ¶
type RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference 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() *RepositorySecurityAndAnalysisSecretScanningPushProtection SetInternalValue(val *RepositorySecurityAndAnalysisSecretScanningPushProtection) Status() *string SetStatus(val *string) StatusInput() *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 NewRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference ¶
func NewRepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference
type RepositoryTemplate ¶
type RepositoryTemplate struct { // The GitHub organization or user the template repository is owned by. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#owner Repository#owner} Owner *string `field:"required" json:"owner" yaml:"owner"` // The name of the template repository. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#repository Repository#repository} Repository *string `field:"required" json:"repository" yaml:"repository"` // Whether the new repository should include all the branches from the template repository (defaults to 'false', which includes only the default branch from the template). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/github/r/repository#include_all_branches Repository#include_all_branches} IncludeAllBranches interface{} `field:"optional" json:"includeAllBranches" yaml:"includeAllBranches"` }
type RepositoryTemplateOutputReference ¶
type RepositoryTemplateOutputReference 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 IncludeAllBranches() interface{} SetIncludeAllBranches(val interface{}) IncludeAllBranchesInput() interface{} InternalValue() *RepositoryTemplate SetInternalValue(val *RepositoryTemplate) Owner() *string SetOwner(val *string) OwnerInput() *string 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 ResetIncludeAllBranches() // 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 NewRepositoryTemplateOutputReference ¶
func NewRepositoryTemplateOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RepositoryTemplateOutputReference
Source Files ¶
- Repository.go
- RepositoryConfig.go
- RepositoryPages.go
- RepositoryPagesOutputReference.go
- RepositoryPagesOutputReference__checks.go
- RepositoryPagesSource.go
- RepositoryPagesSourceOutputReference.go
- RepositoryPagesSourceOutputReference__checks.go
- RepositorySecurityAndAnalysis.go
- RepositorySecurityAndAnalysisAdvancedSecurity.go
- RepositorySecurityAndAnalysisAdvancedSecurityOutputReference.go
- RepositorySecurityAndAnalysisAdvancedSecurityOutputReference__checks.go
- RepositorySecurityAndAnalysisOutputReference.go
- RepositorySecurityAndAnalysisOutputReference__checks.go
- RepositorySecurityAndAnalysisSecretScanning.go
- RepositorySecurityAndAnalysisSecretScanningOutputReference.go
- RepositorySecurityAndAnalysisSecretScanningOutputReference__checks.go
- RepositorySecurityAndAnalysisSecretScanningPushProtection.go
- RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference.go
- RepositorySecurityAndAnalysisSecretScanningPushProtectionOutputReference__checks.go
- RepositoryTemplate.go
- RepositoryTemplateOutputReference.go
- RepositoryTemplateOutputReference__checks.go
- Repository__checks.go
- main.go