Documentation
¶
Index ¶
- func NewOrganizationRulesetBypassActorsList_Override(o OrganizationRulesetBypassActorsList, ...)
- func NewOrganizationRulesetBypassActorsOutputReference_Override(o OrganizationRulesetBypassActorsOutputReference, ...)
- func NewOrganizationRulesetConditionsOutputReference_Override(o OrganizationRulesetConditionsOutputReference, ...)
- func NewOrganizationRulesetConditionsRefNameOutputReference_Override(o OrganizationRulesetConditionsRefNameOutputReference, ...)
- func NewOrganizationRulesetConditionsRepositoryNameOutputReference_Override(o OrganizationRulesetConditionsRepositoryNameOutputReference, ...)
- func NewOrganizationRulesetRulesBranchNamePatternOutputReference_Override(o OrganizationRulesetRulesBranchNamePatternOutputReference, ...)
- func NewOrganizationRulesetRulesCommitAuthorEmailPatternOutputReference_Override(o OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference, ...)
- func NewOrganizationRulesetRulesCommitMessagePatternOutputReference_Override(o OrganizationRulesetRulesCommitMessagePatternOutputReference, ...)
- func NewOrganizationRulesetRulesCommitterEmailPatternOutputReference_Override(o OrganizationRulesetRulesCommitterEmailPatternOutputReference, ...)
- func NewOrganizationRulesetRulesOutputReference_Override(o OrganizationRulesetRulesOutputReference, ...)
- func NewOrganizationRulesetRulesPullRequestOutputReference_Override(o OrganizationRulesetRulesPullRequestOutputReference, ...)
- func NewOrganizationRulesetRulesRequiredStatusChecksOutputReference_Override(o OrganizationRulesetRulesRequiredStatusChecksOutputReference, ...)
- func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckList_Override(o OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList, ...)
- func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference_Override(o OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference, ...)
- func NewOrganizationRulesetRulesRequiredWorkflowsOutputReference_Override(o OrganizationRulesetRulesRequiredWorkflowsOutputReference, ...)
- func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList_Override(o OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList, ...)
- func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference_Override(o OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference, ...)
- func NewOrganizationRulesetRulesTagNamePatternOutputReference_Override(o OrganizationRulesetRulesTagNamePatternOutputReference, ...)
- func NewOrganizationRuleset_Override(o OrganizationRuleset, scope constructs.Construct, id *string, ...)
- func OrganizationRuleset_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func OrganizationRuleset_IsConstruct(x interface{}) *bool
- func OrganizationRuleset_IsTerraformElement(x interface{}) *bool
- func OrganizationRuleset_IsTerraformResource(x interface{}) *bool
- func OrganizationRuleset_TfResourceType() *string
- type OrganizationRuleset
- type OrganizationRulesetBypassActors
- type OrganizationRulesetBypassActorsList
- type OrganizationRulesetBypassActorsOutputReference
- type OrganizationRulesetConditions
- type OrganizationRulesetConditionsOutputReference
- type OrganizationRulesetConditionsRefName
- type OrganizationRulesetConditionsRefNameOutputReference
- type OrganizationRulesetConditionsRepositoryName
- type OrganizationRulesetConditionsRepositoryNameOutputReference
- type OrganizationRulesetConfig
- type OrganizationRulesetRules
- type OrganizationRulesetRulesBranchNamePattern
- type OrganizationRulesetRulesBranchNamePatternOutputReference
- type OrganizationRulesetRulesCommitAuthorEmailPattern
- type OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference
- type OrganizationRulesetRulesCommitMessagePattern
- type OrganizationRulesetRulesCommitMessagePatternOutputReference
- type OrganizationRulesetRulesCommitterEmailPattern
- type OrganizationRulesetRulesCommitterEmailPatternOutputReference
- type OrganizationRulesetRulesOutputReference
- type OrganizationRulesetRulesPullRequest
- type OrganizationRulesetRulesPullRequestOutputReference
- type OrganizationRulesetRulesRequiredStatusChecks
- type OrganizationRulesetRulesRequiredStatusChecksOutputReference
- type OrganizationRulesetRulesRequiredStatusChecksRequiredCheck
- type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList
- type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference
- type OrganizationRulesetRulesRequiredWorkflows
- type OrganizationRulesetRulesRequiredWorkflowsOutputReference
- type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow
- type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList
- type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference
- type OrganizationRulesetRulesTagNamePattern
- type OrganizationRulesetRulesTagNamePatternOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrganizationRulesetBypassActorsList_Override ¶
func NewOrganizationRulesetBypassActorsList_Override(o OrganizationRulesetBypassActorsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewOrganizationRulesetBypassActorsOutputReference_Override ¶
func NewOrganizationRulesetBypassActorsOutputReference_Override(o OrganizationRulesetBypassActorsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewOrganizationRulesetConditionsOutputReference_Override ¶
func NewOrganizationRulesetConditionsOutputReference_Override(o OrganizationRulesetConditionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetConditionsRefNameOutputReference_Override ¶
func NewOrganizationRulesetConditionsRefNameOutputReference_Override(o OrganizationRulesetConditionsRefNameOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetConditionsRepositoryNameOutputReference_Override ¶
func NewOrganizationRulesetConditionsRepositoryNameOutputReference_Override(o OrganizationRulesetConditionsRepositoryNameOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesBranchNamePatternOutputReference_Override ¶
func NewOrganizationRulesetRulesBranchNamePatternOutputReference_Override(o OrganizationRulesetRulesBranchNamePatternOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesCommitAuthorEmailPatternOutputReference_Override ¶
func NewOrganizationRulesetRulesCommitAuthorEmailPatternOutputReference_Override(o OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesCommitMessagePatternOutputReference_Override ¶
func NewOrganizationRulesetRulesCommitMessagePatternOutputReference_Override(o OrganizationRulesetRulesCommitMessagePatternOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesCommitterEmailPatternOutputReference_Override ¶
func NewOrganizationRulesetRulesCommitterEmailPatternOutputReference_Override(o OrganizationRulesetRulesCommitterEmailPatternOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesOutputReference_Override ¶
func NewOrganizationRulesetRulesOutputReference_Override(o OrganizationRulesetRulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesPullRequestOutputReference_Override ¶
func NewOrganizationRulesetRulesPullRequestOutputReference_Override(o OrganizationRulesetRulesPullRequestOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesRequiredStatusChecksOutputReference_Override ¶
func NewOrganizationRulesetRulesRequiredStatusChecksOutputReference_Override(o OrganizationRulesetRulesRequiredStatusChecksOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckList_Override ¶
func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckList_Override(o OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference_Override ¶
func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference_Override(o OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewOrganizationRulesetRulesRequiredWorkflowsOutputReference_Override ¶
func NewOrganizationRulesetRulesRequiredWorkflowsOutputReference_Override(o OrganizationRulesetRulesRequiredWorkflowsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList_Override ¶
func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList_Override(o OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference_Override ¶
func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference_Override(o OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewOrganizationRulesetRulesTagNamePatternOutputReference_Override ¶
func NewOrganizationRulesetRulesTagNamePatternOutputReference_Override(o OrganizationRulesetRulesTagNamePatternOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrganizationRuleset_Override ¶
func NewOrganizationRuleset_Override(o OrganizationRuleset, scope constructs.Construct, id *string, config *OrganizationRulesetConfig)
Create a new {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset github_organization_ruleset} Resource.
func OrganizationRuleset_GenerateConfigForImport ¶
func OrganizationRuleset_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a OrganizationRuleset resource upon running "cdktf plan <stack-name>".
func OrganizationRuleset_IsConstruct ¶
func OrganizationRuleset_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 OrganizationRuleset_IsTerraformElement ¶
func OrganizationRuleset_IsTerraformElement(x interface{}) *bool
Experimental.
func OrganizationRuleset_IsTerraformResource ¶
func OrganizationRuleset_IsTerraformResource(x interface{}) *bool
Experimental.
func OrganizationRuleset_TfResourceType ¶
func OrganizationRuleset_TfResourceType() *string
Types ¶
type OrganizationRuleset ¶
type OrganizationRuleset interface {
cdktf.TerraformResource
BypassActors() OrganizationRulesetBypassActorsList
BypassActorsInput() interface{}
// Experimental.
CdktfStack() cdktf.TerraformStack
Conditions() OrganizationRulesetConditionsOutputReference
ConditionsInput() *OrganizationRulesetConditions
// Experimental.
Connection() interface{}
// Experimental.
SetConnection(val interface{})
// Experimental.
ConstructNodeMetadata() *map[string]interface{}
// Experimental.
Count() interface{}
// Experimental.
SetCount(val interface{})
// Experimental.
DependsOn() *[]*string
// Experimental.
SetDependsOn(val *[]*string)
Enforcement() *string
SetEnforcement(val *string)
EnforcementInput() *string
Etag() *string
// Experimental.
ForEach() cdktf.ITerraformIterator
// Experimental.
SetForEach(val cdktf.ITerraformIterator)
// Experimental.
Fqn() *string
// Experimental.
FriendlyUniqueId() *string
Id() *string
SetId(val *string)
IdInput() *string
// Experimental.
Lifecycle() *cdktf.TerraformResourceLifecycle
// Experimental.
SetLifecycle(val *cdktf.TerraformResourceLifecycle)
Name() *string
SetName(val *string)
NameInput() *string
// The tree node.
Node() constructs.Node
NodeId() *string
// Experimental.
Provider() cdktf.TerraformProvider
// Experimental.
SetProvider(val cdktf.TerraformProvider)
// Experimental.
Provisioners() *[]interface{}
// Experimental.
SetProvisioners(val *[]interface{})
// Experimental.
RawOverrides() interface{}
Rules() OrganizationRulesetRulesOutputReference
RulesetId() *float64
RulesInput() *OrganizationRulesetRules
Target() *string
SetTarget(val *string)
TargetInput() *string
// Experimental.
TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata
// Experimental.
TerraformMetaArguments() *map[string]interface{}
// Experimental.
TerraformResourceType() *string
// Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
// Experimental.
AddMoveTarget(moveTarget *string)
// 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.
HasResourceMove() interface{}
// Experimental.
ImportFrom(id *string, provider cdktf.TerraformProvider)
// Experimental.
InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable
// Move the resource corresponding to "id" to this resource.
//
// Note that the resource being moved from must be marked as moved using it's instance function.
// Experimental.
MoveFromId(id *string)
// Moves this resource to the target resource given by moveTarget.
// Experimental.
MoveTo(moveTarget *string, index interface{})
// Moves this resource to the resource corresponding to "id".
// Experimental.
MoveToId(id *string)
// Overrides the auto-generated logical ID with a specific ID.
// Experimental.
OverrideLogicalId(newLogicalId *string)
PutBypassActors(value interface{})
PutConditions(value *OrganizationRulesetConditions)
PutRules(value *OrganizationRulesetRules)
ResetBypassActors()
ResetConditions()
ResetId()
// Resets a previously passed logical Id to use the auto-generated logical id again.
// Experimental.
ResetOverrideLogicalId()
SynthesizeAttributes() *map[string]interface{}
SynthesizeHclAttributes() *map[string]interface{}
// Experimental.
ToHclTerraform() 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/integrations/github/6.1.0/docs/resources/organization_ruleset github_organization_ruleset}.
func NewOrganizationRuleset ¶
func NewOrganizationRuleset(scope constructs.Construct, id *string, config *OrganizationRulesetConfig) OrganizationRuleset
Create a new {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset github_organization_ruleset} Resource.
type OrganizationRulesetBypassActors ¶
type OrganizationRulesetBypassActors struct {
// The ID of the actor that can bypass a ruleset.
//
// When `actor_type` is `OrganizationAdmin`, this should be set to `1`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#actor_id OrganizationRuleset#actor_id}
ActorId *float64 `field:"required" json:"actorId" yaml:"actorId"`
// The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#actor_type OrganizationRuleset#actor_type}
ActorType *string `field:"required" json:"actorType" yaml:"actorType"`
// When the specified actor can bypass the ruleset.
//
// pull_request means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pull_request`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#bypass_mode OrganizationRuleset#bypass_mode}
BypassMode *string `field:"required" json:"bypassMode" yaml:"bypassMode"`
}
type OrganizationRulesetBypassActorsList ¶
type OrganizationRulesetBypassActorsList 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)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) OrganizationRulesetBypassActorsOutputReference
// 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 NewOrganizationRulesetBypassActorsList ¶
func NewOrganizationRulesetBypassActorsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) OrganizationRulesetBypassActorsList
type OrganizationRulesetBypassActorsOutputReference ¶
type OrganizationRulesetBypassActorsOutputReference interface {
cdktf.ComplexObject
ActorId() *float64
SetActorId(val *float64)
ActorIdInput() *float64
ActorType() *string
SetActorType(val *string)
ActorTypeInput() *string
BypassMode() *string
SetBypassMode(val *string)
BypassModeInput() *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() interface{}
SetInternalValue(val 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
// 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 NewOrganizationRulesetBypassActorsOutputReference ¶
func NewOrganizationRulesetBypassActorsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) OrganizationRulesetBypassActorsOutputReference
type OrganizationRulesetConditions ¶
type OrganizationRulesetConditions struct {
// ref_name block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#ref_name OrganizationRuleset#ref_name}
RefName *OrganizationRulesetConditionsRefName `field:"required" json:"refName" yaml:"refName"`
// The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#repository_id OrganizationRuleset#repository_id}
RepositoryId *[]*float64 `field:"optional" json:"repositoryId" yaml:"repositoryId"`
// repository_name block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#repository_name OrganizationRuleset#repository_name}
RepositoryName *OrganizationRulesetConditionsRepositoryName `field:"optional" json:"repositoryName" yaml:"repositoryName"`
}
type OrganizationRulesetConditionsOutputReference ¶
type OrganizationRulesetConditionsOutputReference 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() *OrganizationRulesetConditions
SetInternalValue(val *OrganizationRulesetConditions)
RefName() OrganizationRulesetConditionsRefNameOutputReference
RefNameInput() *OrganizationRulesetConditionsRefName
RepositoryId() *[]*float64
SetRepositoryId(val *[]*float64)
RepositoryIdInput() *[]*float64
RepositoryName() OrganizationRulesetConditionsRepositoryNameOutputReference
RepositoryNameInput() *OrganizationRulesetConditionsRepositoryName
// 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
PutRefName(value *OrganizationRulesetConditionsRefName)
PutRepositoryName(value *OrganizationRulesetConditionsRepositoryName)
ResetRepositoryId()
ResetRepositoryName()
// 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 NewOrganizationRulesetConditionsOutputReference ¶
func NewOrganizationRulesetConditionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetConditionsOutputReference
type OrganizationRulesetConditionsRefName ¶
type OrganizationRulesetConditionsRefName struct {
// Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#exclude OrganizationRuleset#exclude}
Exclude *[]*string `field:"required" json:"exclude" yaml:"exclude"`
// Array of ref names or patterns to include.
//
// One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#include OrganizationRuleset#include}
Include *[]*string `field:"required" json:"include" yaml:"include"`
}
type OrganizationRulesetConditionsRefNameOutputReference ¶
type OrganizationRulesetConditionsRefNameOutputReference 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
Exclude() *[]*string
SetExclude(val *[]*string)
ExcludeInput() *[]*string
// Experimental.
Fqn() *string
Include() *[]*string
SetInclude(val *[]*string)
IncludeInput() *[]*string
InternalValue() *OrganizationRulesetConditionsRefName
SetInternalValue(val *OrganizationRulesetConditionsRefName)
// 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 NewOrganizationRulesetConditionsRefNameOutputReference ¶
func NewOrganizationRulesetConditionsRefNameOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetConditionsRefNameOutputReference
type OrganizationRulesetConditionsRepositoryName ¶
type OrganizationRulesetConditionsRepositoryName struct {
// Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#exclude OrganizationRuleset#exclude}
Exclude *[]*string `field:"required" json:"exclude" yaml:"exclude"`
// Array of repository names or patterns to include.
//
// One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#include OrganizationRuleset#include}
Include *[]*string `field:"required" json:"include" yaml:"include"`
// Whether renaming of target repositories is prevented.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#protected OrganizationRuleset#protected}
Protected interface{} `field:"optional" json:"protected" yaml:"protected"`
}
type OrganizationRulesetConditionsRepositoryNameOutputReference ¶
type OrganizationRulesetConditionsRepositoryNameOutputReference 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
Exclude() *[]*string
SetExclude(val *[]*string)
ExcludeInput() *[]*string
// Experimental.
Fqn() *string
Include() *[]*string
SetInclude(val *[]*string)
IncludeInput() *[]*string
InternalValue() *OrganizationRulesetConditionsRepositoryName
SetInternalValue(val *OrganizationRulesetConditionsRepositoryName)
Protected() interface{}
SetProtected(val interface{})
ProtectedInput() 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
ResetProtected()
// 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 NewOrganizationRulesetConditionsRepositoryNameOutputReference ¶
func NewOrganizationRulesetConditionsRepositoryNameOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetConditionsRepositoryNameOutputReference
type OrganizationRulesetConfig ¶
type OrganizationRulesetConfig 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"`
// Possible values for Enforcement are `disabled`, `active`, `evaluate`. Note: `evaluate` is currently only supported for owners of type `organization`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#enforcement OrganizationRuleset#enforcement}
Enforcement *string `field:"required" json:"enforcement" yaml:"enforcement"`
// The name of the ruleset.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#name OrganizationRuleset#name}
Name *string `field:"required" json:"name" yaml:"name"`
// rules block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#rules OrganizationRuleset#rules}
Rules *OrganizationRulesetRules `field:"required" json:"rules" yaml:"rules"`
// Possible values are `branch` and `tag`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#target OrganizationRuleset#target}
Target *string `field:"required" json:"target" yaml:"target"`
// bypass_actors block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#bypass_actors OrganizationRuleset#bypass_actors}
BypassActors interface{} `field:"optional" json:"bypassActors" yaml:"bypassActors"`
// conditions block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#conditions OrganizationRuleset#conditions}
Conditions *OrganizationRulesetConditions `field:"optional" json:"conditions" yaml:"conditions"`
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#id OrganizationRuleset#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"`
}
type OrganizationRulesetRules ¶
type OrganizationRulesetRules struct {
// branch_name_pattern block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#branch_name_pattern OrganizationRuleset#branch_name_pattern}
BranchNamePattern *OrganizationRulesetRulesBranchNamePattern `field:"optional" json:"branchNamePattern" yaml:"branchNamePattern"`
// commit_author_email_pattern block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#commit_author_email_pattern OrganizationRuleset#commit_author_email_pattern}
CommitAuthorEmailPattern *OrganizationRulesetRulesCommitAuthorEmailPattern `field:"optional" json:"commitAuthorEmailPattern" yaml:"commitAuthorEmailPattern"`
// commit_message_pattern block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#commit_message_pattern OrganizationRuleset#commit_message_pattern}
CommitMessagePattern *OrganizationRulesetRulesCommitMessagePattern `field:"optional" json:"commitMessagePattern" yaml:"commitMessagePattern"`
// committer_email_pattern block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#committer_email_pattern OrganizationRuleset#committer_email_pattern}
CommitterEmailPattern *OrganizationRulesetRulesCommitterEmailPattern `field:"optional" json:"committerEmailPattern" yaml:"committerEmailPattern"`
// Only allow users with bypass permission to create matching refs.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#creation OrganizationRuleset#creation}
Creation interface{} `field:"optional" json:"creation" yaml:"creation"`
// Only allow users with bypass permissions to delete matching refs.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#deletion OrganizationRuleset#deletion}
Deletion interface{} `field:"optional" json:"deletion" yaml:"deletion"`
// Prevent users with push access from force pushing to branches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#non_fast_forward OrganizationRuleset#non_fast_forward}
NonFastForward interface{} `field:"optional" json:"nonFastForward" yaml:"nonFastForward"`
// pull_request block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#pull_request OrganizationRuleset#pull_request}
PullRequest *OrganizationRulesetRulesPullRequest `field:"optional" json:"pullRequest" yaml:"pullRequest"`
// Prevent merge commits from being pushed to matching branches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_linear_history OrganizationRuleset#required_linear_history}
RequiredLinearHistory interface{} `field:"optional" json:"requiredLinearHistory" yaml:"requiredLinearHistory"`
// Commits pushed to matching branches must have verified signatures.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_signatures OrganizationRuleset#required_signatures}
RequiredSignatures interface{} `field:"optional" json:"requiredSignatures" yaml:"requiredSignatures"`
// required_status_checks block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_status_checks OrganizationRuleset#required_status_checks}
RequiredStatusChecks *OrganizationRulesetRulesRequiredStatusChecks `field:"optional" json:"requiredStatusChecks" yaml:"requiredStatusChecks"`
// required_workflows block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_workflows OrganizationRuleset#required_workflows}
RequiredWorkflows *OrganizationRulesetRulesRequiredWorkflows `field:"optional" json:"requiredWorkflows" yaml:"requiredWorkflows"`
// tag_name_pattern block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#tag_name_pattern OrganizationRuleset#tag_name_pattern}
TagNamePattern *OrganizationRulesetRulesTagNamePattern `field:"optional" json:"tagNamePattern" yaml:"tagNamePattern"`
// Only allow users with bypass permission to update matching refs.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#update OrganizationRuleset#update}
Update interface{} `field:"optional" json:"update" yaml:"update"`
}
type OrganizationRulesetRulesBranchNamePattern ¶
type OrganizationRulesetRulesBranchNamePattern struct {
// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#operator OrganizationRuleset#operator}
Operator *string `field:"required" json:"operator" yaml:"operator"`
// The pattern to match with.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#pattern OrganizationRuleset#pattern}
Pattern *string `field:"required" json:"pattern" yaml:"pattern"`
// How this rule will appear to users.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#name OrganizationRuleset#name}
Name *string `field:"optional" json:"name" yaml:"name"`
// If true, the rule will fail if the pattern matches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#negate OrganizationRuleset#negate}
Negate interface{} `field:"optional" json:"negate" yaml:"negate"`
}
type OrganizationRulesetRulesBranchNamePatternOutputReference ¶
type OrganizationRulesetRulesBranchNamePatternOutputReference 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() *OrganizationRulesetRulesBranchNamePattern
SetInternalValue(val *OrganizationRulesetRulesBranchNamePattern)
Name() *string
SetName(val *string)
NameInput() *string
Negate() interface{}
SetNegate(val interface{})
NegateInput() interface{}
Operator() *string
SetOperator(val *string)
OperatorInput() *string
Pattern() *string
SetPattern(val *string)
PatternInput() *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()
ResetNegate()
// 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 NewOrganizationRulesetRulesBranchNamePatternOutputReference ¶
func NewOrganizationRulesetRulesBranchNamePatternOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesBranchNamePatternOutputReference
type OrganizationRulesetRulesCommitAuthorEmailPattern ¶
type OrganizationRulesetRulesCommitAuthorEmailPattern struct {
// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#operator OrganizationRuleset#operator}
Operator *string `field:"required" json:"operator" yaml:"operator"`
// The pattern to match with.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#pattern OrganizationRuleset#pattern}
Pattern *string `field:"required" json:"pattern" yaml:"pattern"`
// How this rule will appear to users.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#name OrganizationRuleset#name}
Name *string `field:"optional" json:"name" yaml:"name"`
// If true, the rule will fail if the pattern matches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#negate OrganizationRuleset#negate}
Negate interface{} `field:"optional" json:"negate" yaml:"negate"`
}
type OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference ¶
type OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference 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() *OrganizationRulesetRulesCommitAuthorEmailPattern
SetInternalValue(val *OrganizationRulesetRulesCommitAuthorEmailPattern)
Name() *string
SetName(val *string)
NameInput() *string
Negate() interface{}
SetNegate(val interface{})
NegateInput() interface{}
Operator() *string
SetOperator(val *string)
OperatorInput() *string
Pattern() *string
SetPattern(val *string)
PatternInput() *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()
ResetNegate()
// 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 NewOrganizationRulesetRulesCommitAuthorEmailPatternOutputReference ¶
func NewOrganizationRulesetRulesCommitAuthorEmailPatternOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference
type OrganizationRulesetRulesCommitMessagePattern ¶
type OrganizationRulesetRulesCommitMessagePattern struct {
// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#operator OrganizationRuleset#operator}
Operator *string `field:"required" json:"operator" yaml:"operator"`
// The pattern to match with.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#pattern OrganizationRuleset#pattern}
Pattern *string `field:"required" json:"pattern" yaml:"pattern"`
// How this rule will appear to users.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#name OrganizationRuleset#name}
Name *string `field:"optional" json:"name" yaml:"name"`
// If true, the rule will fail if the pattern matches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#negate OrganizationRuleset#negate}
Negate interface{} `field:"optional" json:"negate" yaml:"negate"`
}
type OrganizationRulesetRulesCommitMessagePatternOutputReference ¶
type OrganizationRulesetRulesCommitMessagePatternOutputReference 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() *OrganizationRulesetRulesCommitMessagePattern
SetInternalValue(val *OrganizationRulesetRulesCommitMessagePattern)
Name() *string
SetName(val *string)
NameInput() *string
Negate() interface{}
SetNegate(val interface{})
NegateInput() interface{}
Operator() *string
SetOperator(val *string)
OperatorInput() *string
Pattern() *string
SetPattern(val *string)
PatternInput() *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()
ResetNegate()
// 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 NewOrganizationRulesetRulesCommitMessagePatternOutputReference ¶
func NewOrganizationRulesetRulesCommitMessagePatternOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesCommitMessagePatternOutputReference
type OrganizationRulesetRulesCommitterEmailPattern ¶
type OrganizationRulesetRulesCommitterEmailPattern struct {
// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#operator OrganizationRuleset#operator}
Operator *string `field:"required" json:"operator" yaml:"operator"`
// The pattern to match with.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#pattern OrganizationRuleset#pattern}
Pattern *string `field:"required" json:"pattern" yaml:"pattern"`
// How this rule will appear to users.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#name OrganizationRuleset#name}
Name *string `field:"optional" json:"name" yaml:"name"`
// If true, the rule will fail if the pattern matches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#negate OrganizationRuleset#negate}
Negate interface{} `field:"optional" json:"negate" yaml:"negate"`
}
type OrganizationRulesetRulesCommitterEmailPatternOutputReference ¶
type OrganizationRulesetRulesCommitterEmailPatternOutputReference 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() *OrganizationRulesetRulesCommitterEmailPattern
SetInternalValue(val *OrganizationRulesetRulesCommitterEmailPattern)
Name() *string
SetName(val *string)
NameInput() *string
Negate() interface{}
SetNegate(val interface{})
NegateInput() interface{}
Operator() *string
SetOperator(val *string)
OperatorInput() *string
Pattern() *string
SetPattern(val *string)
PatternInput() *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()
ResetNegate()
// 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 NewOrganizationRulesetRulesCommitterEmailPatternOutputReference ¶
func NewOrganizationRulesetRulesCommitterEmailPatternOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesCommitterEmailPatternOutputReference
type OrganizationRulesetRulesOutputReference ¶
type OrganizationRulesetRulesOutputReference interface {
cdktf.ComplexObject
BranchNamePattern() OrganizationRulesetRulesBranchNamePatternOutputReference
BranchNamePatternInput() *OrganizationRulesetRulesBranchNamePattern
CommitAuthorEmailPattern() OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference
CommitAuthorEmailPatternInput() *OrganizationRulesetRulesCommitAuthorEmailPattern
CommitMessagePattern() OrganizationRulesetRulesCommitMessagePatternOutputReference
CommitMessagePatternInput() *OrganizationRulesetRulesCommitMessagePattern
CommitterEmailPattern() OrganizationRulesetRulesCommitterEmailPatternOutputReference
CommitterEmailPatternInput() *OrganizationRulesetRulesCommitterEmailPattern
// 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)
Creation() interface{}
SetCreation(val interface{})
CreationInput() interface{}
// 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
Deletion() interface{}
SetDeletion(val interface{})
DeletionInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *OrganizationRulesetRules
SetInternalValue(val *OrganizationRulesetRules)
NonFastForward() interface{}
SetNonFastForward(val interface{})
NonFastForwardInput() interface{}
PullRequest() OrganizationRulesetRulesPullRequestOutputReference
PullRequestInput() *OrganizationRulesetRulesPullRequest
RequiredLinearHistory() interface{}
SetRequiredLinearHistory(val interface{})
RequiredLinearHistoryInput() interface{}
RequiredSignatures() interface{}
SetRequiredSignatures(val interface{})
RequiredSignaturesInput() interface{}
RequiredStatusChecks() OrganizationRulesetRulesRequiredStatusChecksOutputReference
RequiredStatusChecksInput() *OrganizationRulesetRulesRequiredStatusChecks
RequiredWorkflows() OrganizationRulesetRulesRequiredWorkflowsOutputReference
RequiredWorkflowsInput() *OrganizationRulesetRulesRequiredWorkflows
TagNamePattern() OrganizationRulesetRulesTagNamePatternOutputReference
TagNamePatternInput() *OrganizationRulesetRulesTagNamePattern
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() cdktf.IInterpolatingParent
// Experimental.
SetTerraformResource(val cdktf.IInterpolatingParent)
Update() interface{}
SetUpdate(val interface{})
UpdateInput() interface{}
// 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
PutBranchNamePattern(value *OrganizationRulesetRulesBranchNamePattern)
PutCommitAuthorEmailPattern(value *OrganizationRulesetRulesCommitAuthorEmailPattern)
PutCommitMessagePattern(value *OrganizationRulesetRulesCommitMessagePattern)
PutCommitterEmailPattern(value *OrganizationRulesetRulesCommitterEmailPattern)
PutPullRequest(value *OrganizationRulesetRulesPullRequest)
PutRequiredStatusChecks(value *OrganizationRulesetRulesRequiredStatusChecks)
PutRequiredWorkflows(value *OrganizationRulesetRulesRequiredWorkflows)
PutTagNamePattern(value *OrganizationRulesetRulesTagNamePattern)
ResetBranchNamePattern()
ResetCommitAuthorEmailPattern()
ResetCommitMessagePattern()
ResetCommitterEmailPattern()
ResetCreation()
ResetDeletion()
ResetNonFastForward()
ResetPullRequest()
ResetRequiredLinearHistory()
ResetRequiredSignatures()
ResetRequiredStatusChecks()
ResetRequiredWorkflows()
ResetTagNamePattern()
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 NewOrganizationRulesetRulesOutputReference ¶
func NewOrganizationRulesetRulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesOutputReference
type OrganizationRulesetRulesPullRequest ¶
type OrganizationRulesetRulesPullRequest struct {
// New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#dismiss_stale_reviews_on_push OrganizationRuleset#dismiss_stale_reviews_on_push}
DismissStaleReviewsOnPush interface{} `field:"optional" json:"dismissStaleReviewsOnPush" yaml:"dismissStaleReviewsOnPush"`
// Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#require_code_owner_review OrganizationRuleset#require_code_owner_review}
RequireCodeOwnerReview interface{} `field:"optional" json:"requireCodeOwnerReview" yaml:"requireCodeOwnerReview"`
// The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_approving_review_count OrganizationRuleset#required_approving_review_count}
RequiredApprovingReviewCount *float64 `field:"optional" json:"requiredApprovingReviewCount" yaml:"requiredApprovingReviewCount"`
// All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_review_thread_resolution OrganizationRuleset#required_review_thread_resolution}
RequiredReviewThreadResolution interface{} `field:"optional" json:"requiredReviewThreadResolution" yaml:"requiredReviewThreadResolution"`
// Whether the most recent reviewable push must be approved by someone other than the person who pushed it.
//
// Defaults to `false`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#require_last_push_approval OrganizationRuleset#require_last_push_approval}
RequireLastPushApproval interface{} `field:"optional" json:"requireLastPushApproval" yaml:"requireLastPushApproval"`
}
type OrganizationRulesetRulesPullRequestOutputReference ¶
type OrganizationRulesetRulesPullRequestOutputReference 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
DismissStaleReviewsOnPush() interface{}
SetDismissStaleReviewsOnPush(val interface{})
DismissStaleReviewsOnPushInput() interface{}
// Experimental.
Fqn() *string
InternalValue() *OrganizationRulesetRulesPullRequest
SetInternalValue(val *OrganizationRulesetRulesPullRequest)
RequireCodeOwnerReview() interface{}
SetRequireCodeOwnerReview(val interface{})
RequireCodeOwnerReviewInput() interface{}
RequiredApprovingReviewCount() *float64
SetRequiredApprovingReviewCount(val *float64)
RequiredApprovingReviewCountInput() *float64
RequiredReviewThreadResolution() interface{}
SetRequiredReviewThreadResolution(val interface{})
RequiredReviewThreadResolutionInput() interface{}
RequireLastPushApproval() interface{}
SetRequireLastPushApproval(val interface{})
RequireLastPushApprovalInput() 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
ResetDismissStaleReviewsOnPush()
ResetRequireCodeOwnerReview()
ResetRequiredApprovingReviewCount()
ResetRequiredReviewThreadResolution()
ResetRequireLastPushApproval()
// 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 NewOrganizationRulesetRulesPullRequestOutputReference ¶
func NewOrganizationRulesetRulesPullRequestOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesPullRequestOutputReference
type OrganizationRulesetRulesRequiredStatusChecks ¶
type OrganizationRulesetRulesRequiredStatusChecks struct {
// required_check block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_check OrganizationRuleset#required_check}
RequiredCheck interface{} `field:"required" json:"requiredCheck" yaml:"requiredCheck"`
// Whether pull requests targeting a matching branch must be tested with the latest code.
//
// This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#strict_required_status_checks_policy OrganizationRuleset#strict_required_status_checks_policy}
StrictRequiredStatusChecksPolicy interface{} `field:"optional" json:"strictRequiredStatusChecksPolicy" yaml:"strictRequiredStatusChecksPolicy"`
}
type OrganizationRulesetRulesRequiredStatusChecksOutputReference ¶
type OrganizationRulesetRulesRequiredStatusChecksOutputReference 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() *OrganizationRulesetRulesRequiredStatusChecks
SetInternalValue(val *OrganizationRulesetRulesRequiredStatusChecks)
RequiredCheck() OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList
RequiredCheckInput() interface{}
StrictRequiredStatusChecksPolicy() interface{}
SetStrictRequiredStatusChecksPolicy(val interface{})
StrictRequiredStatusChecksPolicyInput() 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
PutRequiredCheck(value interface{})
ResetStrictRequiredStatusChecksPolicy()
// 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 NewOrganizationRulesetRulesRequiredStatusChecksOutputReference ¶
func NewOrganizationRulesetRulesRequiredStatusChecksOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesRequiredStatusChecksOutputReference
type OrganizationRulesetRulesRequiredStatusChecksRequiredCheck ¶
type OrganizationRulesetRulesRequiredStatusChecksRequiredCheck struct {
// The status check context name that must be present on the commit.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#context OrganizationRuleset#context}
Context *string `field:"required" json:"context" yaml:"context"`
// The optional integration ID that this status check must originate from.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#integration_id OrganizationRuleset#integration_id}
IntegrationId *float64 `field:"optional" json:"integrationId" yaml:"integrationId"`
}
type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList ¶
type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList 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)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference
// 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 NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckList ¶
func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList
type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference ¶
type OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference 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)
Context() *string
SetContext(val *string)
ContextInput() *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
// Experimental.
Fqn() *string
IntegrationId() *float64
SetIntegrationId(val *float64)
IntegrationIdInput() *float64
InternalValue() interface{}
SetInternalValue(val 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
ResetIntegrationId()
// 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 NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference ¶
func NewOrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference
type OrganizationRulesetRulesRequiredWorkflows ¶
type OrganizationRulesetRulesRequiredWorkflows struct {
// required_workflow block.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#required_workflow OrganizationRuleset#required_workflow}
RequiredWorkflow interface{} `field:"required" json:"requiredWorkflow" yaml:"requiredWorkflow"`
}
type OrganizationRulesetRulesRequiredWorkflowsOutputReference ¶
type OrganizationRulesetRulesRequiredWorkflowsOutputReference 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() *OrganizationRulesetRulesRequiredWorkflows
SetInternalValue(val *OrganizationRulesetRulesRequiredWorkflows)
RequiredWorkflow() OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList
RequiredWorkflowInput() 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
PutRequiredWorkflow(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 NewOrganizationRulesetRulesRequiredWorkflowsOutputReference ¶
func NewOrganizationRulesetRulesRequiredWorkflowsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesRequiredWorkflowsOutputReference
type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow ¶
type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow struct {
// The path to the workflow YAML definition file.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#path OrganizationRuleset#path}
Path *string `field:"required" json:"path" yaml:"path"`
// The repository in which the workflow is defined.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#repository_id OrganizationRuleset#repository_id}
RepositoryId *float64 `field:"required" json:"repositoryId" yaml:"repositoryId"`
// The ref (branch or tag) of the workflow file to use.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#ref OrganizationRuleset#ref}
Ref *string `field:"optional" json:"ref" yaml:"ref"`
}
type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList ¶
type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList 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)
// Creating an iterator for this complex list.
//
// The list will be converted into a map with the mapKeyAttributeName as the key.
// Experimental.
AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator
// Experimental.
ComputeFqn() *string
Get(index *float64) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference
// 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 NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList ¶
func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList
type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference ¶
type OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference 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{})
Path() *string
SetPath(val *string)
PathInput() *string
Ref() *string
SetRef(val *string)
RefInput() *string
RepositoryId() *float64
SetRepositoryId(val *float64)
RepositoryIdInput() *float64
// 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
ResetRef()
// 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 NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference ¶
func NewOrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference
type OrganizationRulesetRulesTagNamePattern ¶
type OrganizationRulesetRulesTagNamePattern struct {
// The operator to use for matching. Can be one of: `starts_with`, `ends_with`, `contains`, `regex`.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#operator OrganizationRuleset#operator}
Operator *string `field:"required" json:"operator" yaml:"operator"`
// The pattern to match with.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#pattern OrganizationRuleset#pattern}
Pattern *string `field:"required" json:"pattern" yaml:"pattern"`
// How this rule will appear to users.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#name OrganizationRuleset#name}
Name *string `field:"optional" json:"name" yaml:"name"`
// If true, the rule will fail if the pattern matches.
//
// Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.1.0/docs/resources/organization_ruleset#negate OrganizationRuleset#negate}
Negate interface{} `field:"optional" json:"negate" yaml:"negate"`
}
type OrganizationRulesetRulesTagNamePatternOutputReference ¶
type OrganizationRulesetRulesTagNamePatternOutputReference 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() *OrganizationRulesetRulesTagNamePattern
SetInternalValue(val *OrganizationRulesetRulesTagNamePattern)
Name() *string
SetName(val *string)
NameInput() *string
Negate() interface{}
SetNegate(val interface{})
NegateInput() interface{}
Operator() *string
SetOperator(val *string)
OperatorInput() *string
Pattern() *string
SetPattern(val *string)
PatternInput() *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()
ResetNegate()
// 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 NewOrganizationRulesetRulesTagNamePatternOutputReference ¶
func NewOrganizationRulesetRulesTagNamePatternOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrganizationRulesetRulesTagNamePatternOutputReference
Source Files
¶
- OrganizationRuleset.go
- OrganizationRulesetBypassActors.go
- OrganizationRulesetBypassActorsList.go
- OrganizationRulesetBypassActorsList__checks.go
- OrganizationRulesetBypassActorsOutputReference.go
- OrganizationRulesetBypassActorsOutputReference__checks.go
- OrganizationRulesetConditions.go
- OrganizationRulesetConditionsOutputReference.go
- OrganizationRulesetConditionsOutputReference__checks.go
- OrganizationRulesetConditionsRefName.go
- OrganizationRulesetConditionsRefNameOutputReference.go
- OrganizationRulesetConditionsRefNameOutputReference__checks.go
- OrganizationRulesetConditionsRepositoryName.go
- OrganizationRulesetConditionsRepositoryNameOutputReference.go
- OrganizationRulesetConditionsRepositoryNameOutputReference__checks.go
- OrganizationRulesetConfig.go
- OrganizationRulesetRules.go
- OrganizationRulesetRulesBranchNamePattern.go
- OrganizationRulesetRulesBranchNamePatternOutputReference.go
- OrganizationRulesetRulesBranchNamePatternOutputReference__checks.go
- OrganizationRulesetRulesCommitAuthorEmailPattern.go
- OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference.go
- OrganizationRulesetRulesCommitAuthorEmailPatternOutputReference__checks.go
- OrganizationRulesetRulesCommitMessagePattern.go
- OrganizationRulesetRulesCommitMessagePatternOutputReference.go
- OrganizationRulesetRulesCommitMessagePatternOutputReference__checks.go
- OrganizationRulesetRulesCommitterEmailPattern.go
- OrganizationRulesetRulesCommitterEmailPatternOutputReference.go
- OrganizationRulesetRulesCommitterEmailPatternOutputReference__checks.go
- OrganizationRulesetRulesOutputReference.go
- OrganizationRulesetRulesOutputReference__checks.go
- OrganizationRulesetRulesPullRequest.go
- OrganizationRulesetRulesPullRequestOutputReference.go
- OrganizationRulesetRulesPullRequestOutputReference__checks.go
- OrganizationRulesetRulesRequiredStatusChecks.go
- OrganizationRulesetRulesRequiredStatusChecksOutputReference.go
- OrganizationRulesetRulesRequiredStatusChecksOutputReference__checks.go
- OrganizationRulesetRulesRequiredStatusChecksRequiredCheck.go
- OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList.go
- OrganizationRulesetRulesRequiredStatusChecksRequiredCheckList__checks.go
- OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference.go
- OrganizationRulesetRulesRequiredStatusChecksRequiredCheckOutputReference__checks.go
- OrganizationRulesetRulesRequiredWorkflows.go
- OrganizationRulesetRulesRequiredWorkflowsOutputReference.go
- OrganizationRulesetRulesRequiredWorkflowsOutputReference__checks.go
- OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow.go
- OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList.go
- OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowList__checks.go
- OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference.go
- OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflowOutputReference__checks.go
- OrganizationRulesetRulesTagNamePattern.go
- OrganizationRulesetRulesTagNamePatternOutputReference.go
- OrganizationRulesetRulesTagNamePatternOutputReference__checks.go
- OrganizationRuleset__checks.go
- main.go