Documentation ¶
Index ¶
- func NewOrgPolicyPolicyDryRunSpecOutputReference_Override(o OrgPolicyPolicyDryRunSpecOutputReference, ...)
- func NewOrgPolicyPolicyDryRunSpecRulesConditionOutputReference_Override(o OrgPolicyPolicyDryRunSpecRulesConditionOutputReference, ...)
- func NewOrgPolicyPolicyDryRunSpecRulesList_Override(o OrgPolicyPolicyDryRunSpecRulesList, ...)
- func NewOrgPolicyPolicyDryRunSpecRulesOutputReference_Override(o OrgPolicyPolicyDryRunSpecRulesOutputReference, ...)
- func NewOrgPolicyPolicyDryRunSpecRulesValuesOutputReference_Override(o OrgPolicyPolicyDryRunSpecRulesValuesOutputReference, ...)
- func NewOrgPolicyPolicySpecOutputReference_Override(o OrgPolicyPolicySpecOutputReference, ...)
- func NewOrgPolicyPolicySpecRulesConditionOutputReference_Override(o OrgPolicyPolicySpecRulesConditionOutputReference, ...)
- func NewOrgPolicyPolicySpecRulesList_Override(o OrgPolicyPolicySpecRulesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewOrgPolicyPolicySpecRulesOutputReference_Override(o OrgPolicyPolicySpecRulesOutputReference, ...)
- func NewOrgPolicyPolicySpecRulesValuesOutputReference_Override(o OrgPolicyPolicySpecRulesValuesOutputReference, ...)
- func NewOrgPolicyPolicyTimeoutsOutputReference_Override(o OrgPolicyPolicyTimeoutsOutputReference, ...)
- func NewOrgPolicyPolicy_Override(o OrgPolicyPolicy, scope constructs.Construct, id *string, ...)
- func OrgPolicyPolicy_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func OrgPolicyPolicy_IsConstruct(x interface{}) *bool
- func OrgPolicyPolicy_IsTerraformElement(x interface{}) *bool
- func OrgPolicyPolicy_IsTerraformResource(x interface{}) *bool
- func OrgPolicyPolicy_TfResourceType() *string
- type OrgPolicyPolicy
- type OrgPolicyPolicyConfig
- type OrgPolicyPolicyDryRunSpec
- type OrgPolicyPolicyDryRunSpecOutputReference
- type OrgPolicyPolicyDryRunSpecRules
- type OrgPolicyPolicyDryRunSpecRulesCondition
- type OrgPolicyPolicyDryRunSpecRulesConditionOutputReference
- type OrgPolicyPolicyDryRunSpecRulesList
- type OrgPolicyPolicyDryRunSpecRulesOutputReference
- type OrgPolicyPolicyDryRunSpecRulesValues
- type OrgPolicyPolicyDryRunSpecRulesValuesOutputReference
- type OrgPolicyPolicySpec
- type OrgPolicyPolicySpecOutputReference
- type OrgPolicyPolicySpecRules
- type OrgPolicyPolicySpecRulesCondition
- type OrgPolicyPolicySpecRulesConditionOutputReference
- type OrgPolicyPolicySpecRulesList
- type OrgPolicyPolicySpecRulesOutputReference
- type OrgPolicyPolicySpecRulesValues
- type OrgPolicyPolicySpecRulesValuesOutputReference
- type OrgPolicyPolicyTimeouts
- type OrgPolicyPolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrgPolicyPolicyDryRunSpecOutputReference_Override ¶
func NewOrgPolicyPolicyDryRunSpecOutputReference_Override(o OrgPolicyPolicyDryRunSpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrgPolicyPolicyDryRunSpecRulesConditionOutputReference_Override ¶
func NewOrgPolicyPolicyDryRunSpecRulesConditionOutputReference_Override(o OrgPolicyPolicyDryRunSpecRulesConditionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrgPolicyPolicyDryRunSpecRulesList_Override ¶
func NewOrgPolicyPolicyDryRunSpecRulesList_Override(o OrgPolicyPolicyDryRunSpecRulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewOrgPolicyPolicyDryRunSpecRulesOutputReference_Override ¶
func NewOrgPolicyPolicyDryRunSpecRulesOutputReference_Override(o OrgPolicyPolicyDryRunSpecRulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewOrgPolicyPolicyDryRunSpecRulesValuesOutputReference_Override ¶
func NewOrgPolicyPolicyDryRunSpecRulesValuesOutputReference_Override(o OrgPolicyPolicyDryRunSpecRulesValuesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrgPolicyPolicySpecOutputReference_Override ¶
func NewOrgPolicyPolicySpecOutputReference_Override(o OrgPolicyPolicySpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrgPolicyPolicySpecRulesConditionOutputReference_Override ¶
func NewOrgPolicyPolicySpecRulesConditionOutputReference_Override(o OrgPolicyPolicySpecRulesConditionOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrgPolicyPolicySpecRulesList_Override ¶
func NewOrgPolicyPolicySpecRulesList_Override(o OrgPolicyPolicySpecRulesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewOrgPolicyPolicySpecRulesOutputReference_Override ¶
func NewOrgPolicyPolicySpecRulesOutputReference_Override(o OrgPolicyPolicySpecRulesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewOrgPolicyPolicySpecRulesValuesOutputReference_Override ¶
func NewOrgPolicyPolicySpecRulesValuesOutputReference_Override(o OrgPolicyPolicySpecRulesValuesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrgPolicyPolicyTimeoutsOutputReference_Override ¶
func NewOrgPolicyPolicyTimeoutsOutputReference_Override(o OrgPolicyPolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOrgPolicyPolicy_Override ¶
func NewOrgPolicyPolicy_Override(o OrgPolicyPolicy, scope constructs.Construct, id *string, config *OrgPolicyPolicyConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy google_org_policy_policy} Resource.
func OrgPolicyPolicy_GenerateConfigForImport ¶
func OrgPolicyPolicy_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a OrgPolicyPolicy resource upon running "cdktf plan <stack-name>".
func OrgPolicyPolicy_IsConstruct ¶
func OrgPolicyPolicy_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 OrgPolicyPolicy_IsTerraformElement ¶
func OrgPolicyPolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func OrgPolicyPolicy_IsTerraformResource ¶
func OrgPolicyPolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func OrgPolicyPolicy_TfResourceType ¶
func OrgPolicyPolicy_TfResourceType() *string
Types ¶
type OrgPolicyPolicy ¶
type OrgPolicyPolicy interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // 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) DryRunSpec() OrgPolicyPolicyDryRunSpecOutputReference DryRunSpecInput() *OrgPolicyPolicyDryRunSpec 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 Parent() *string SetParent(val *string) ParentInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Spec() OrgPolicyPolicySpecOutputReference SpecInput() *OrgPolicyPolicySpec // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() OrgPolicyPolicyTimeoutsOutputReference TimeoutsInput() interface{} // 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) PutDryRunSpec(value *OrgPolicyPolicyDryRunSpec) PutSpec(value *OrgPolicyPolicySpec) PutTimeouts(value *OrgPolicyPolicyTimeouts) ResetDryRunSpec() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetSpec() ResetTimeouts() 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/hashicorp/google/6.14.1/docs/resources/org_policy_policy google_org_policy_policy}.
func NewOrgPolicyPolicy ¶
func NewOrgPolicyPolicy(scope constructs.Construct, id *string, config *OrgPolicyPolicyConfig) OrgPolicyPolicy
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy google_org_policy_policy} Resource.
type OrgPolicyPolicyConfig ¶
type OrgPolicyPolicyConfig 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"` // Immutable. // // The resource name of the Policy. Must be one of the following forms, where constraint_name is the name of the constraint which this Policy configures: * 'projects/{project_number}/policies/{constraint_name}' * 'folders/{folder_id}/policies/{constraint_name}' * 'organizations/{organization_id}/policies/{constraint_name}' For example, "projects/123/policies/compute.disableSerialPortAccess". Note: 'projects/{project_id}/policies/{constraint_name}' is also an acceptable name for API requests, but responses will return the name using the equivalent project number. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#name OrgPolicyPolicy#name} Name *string `field:"required" json:"name" yaml:"name"` // The parent of the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#parent OrgPolicyPolicy#parent} Parent *string `field:"required" json:"parent" yaml:"parent"` // dry_run_spec block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#dry_run_spec OrgPolicyPolicy#dry_run_spec} DryRunSpec *OrgPolicyPolicyDryRunSpec `field:"optional" json:"dryRunSpec" yaml:"dryRunSpec"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#id OrgPolicyPolicy#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"` // spec block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#spec OrgPolicyPolicy#spec} Spec *OrgPolicyPolicySpec `field:"optional" json:"spec" yaml:"spec"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#timeouts OrgPolicyPolicy#timeouts} Timeouts *OrgPolicyPolicyTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type OrgPolicyPolicyDryRunSpec ¶
type OrgPolicyPolicyDryRunSpec struct { // Determines the inheritance behavior for this policy. // // If 'inherit_from_parent' is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#inherit_from_parent OrgPolicyPolicy#inherit_from_parent} InheritFromParent interface{} `field:"optional" json:"inheritFromParent" yaml:"inheritFromParent"` // Ignores policies set above this resource and restores the 'constraint_default' enforcement behavior of the specific constraint at this resource. // // This field can be set in policies for either list or boolean constraints. If set, 'rules' must be empty and 'inherit_from_parent' must be set to false. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#reset OrgPolicyPolicy#reset} Reset interface{} `field:"optional" json:"reset" yaml:"reset"` // rules block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#rules OrgPolicyPolicy#rules} Rules interface{} `field:"optional" json:"rules" yaml:"rules"` }
type OrgPolicyPolicyDryRunSpecOutputReference ¶
type OrgPolicyPolicyDryRunSpecOutputReference 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 Etag() *string // Experimental. Fqn() *string InheritFromParent() interface{} SetInheritFromParent(val interface{}) InheritFromParentInput() interface{} InternalValue() *OrgPolicyPolicyDryRunSpec SetInternalValue(val *OrgPolicyPolicyDryRunSpec) Reset() interface{} SetReset(val interface{}) ResetInput() interface{} Rules() OrgPolicyPolicyDryRunSpecRulesList RulesInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UpdateTime() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutRules(value interface{}) ResetInheritFromParent() ResetReset() ResetRules() // 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 NewOrgPolicyPolicyDryRunSpecOutputReference ¶
func NewOrgPolicyPolicyDryRunSpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrgPolicyPolicyDryRunSpecOutputReference
type OrgPolicyPolicyDryRunSpecRules ¶
type OrgPolicyPolicyDryRunSpecRules struct { // Setting this to '"TRUE"' means that all values are allowed. // // This field can be set only in Policies for list constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#allow_all OrgPolicyPolicy#allow_all} AllowAll *string `field:"optional" json:"allowAll" yaml:"allowAll"` // condition block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#condition OrgPolicyPolicy#condition} Condition *OrgPolicyPolicyDryRunSpecRulesCondition `field:"optional" json:"condition" yaml:"condition"` // Setting this to '"TRUE"' means that all values are denied. // // This field can be set only in Policies for list constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#deny_all OrgPolicyPolicy#deny_all} DenyAll *string `field:"optional" json:"denyAll" yaml:"denyAll"` // If '"TRUE"', then the 'Policy' is enforced. // // If '"FALSE"', then any configuration is acceptable. This field can be set only in Policies for boolean constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#enforce OrgPolicyPolicy#enforce} Enforce *string `field:"optional" json:"enforce" yaml:"enforce"` // Optional. // // Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true } // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#parameters OrgPolicyPolicy#parameters} Parameters *string `field:"optional" json:"parameters" yaml:"parameters"` // values block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#values OrgPolicyPolicy#values} Values *OrgPolicyPolicyDryRunSpecRulesValues `field:"optional" json:"values" yaml:"values"` }
type OrgPolicyPolicyDryRunSpecRulesCondition ¶
type OrgPolicyPolicyDryRunSpecRulesCondition struct { // Optional. // // Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#description OrgPolicyPolicy#description} Description *string `field:"optional" json:"description" yaml:"description"` // Textual representation of an expression in Common Expression Language syntax. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#expression OrgPolicyPolicy#expression} Expression *string `field:"optional" json:"expression" yaml:"expression"` // Optional. // // String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#location OrgPolicyPolicy#location} Location *string `field:"optional" json:"location" yaml:"location"` // Optional. // // Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#title OrgPolicyPolicy#title} Title *string `field:"optional" json:"title" yaml:"title"` }
type OrgPolicyPolicyDryRunSpecRulesConditionOutputReference ¶
type OrgPolicyPolicyDryRunSpecRulesConditionOutputReference 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 Description() *string SetDescription(val *string) DescriptionInput() *string Expression() *string SetExpression(val *string) ExpressionInput() *string // Experimental. Fqn() *string InternalValue() *OrgPolicyPolicyDryRunSpecRulesCondition SetInternalValue(val *OrgPolicyPolicyDryRunSpecRulesCondition) Location() *string SetLocation(val *string) LocationInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Title() *string SetTitle(val *string) TitleInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDescription() ResetExpression() ResetLocation() ResetTitle() // 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 NewOrgPolicyPolicyDryRunSpecRulesConditionOutputReference ¶
func NewOrgPolicyPolicyDryRunSpecRulesConditionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrgPolicyPolicyDryRunSpecRulesConditionOutputReference
type OrgPolicyPolicyDryRunSpecRulesList ¶
type OrgPolicyPolicyDryRunSpecRulesList 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) OrgPolicyPolicyDryRunSpecRulesOutputReference // 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 NewOrgPolicyPolicyDryRunSpecRulesList ¶
func NewOrgPolicyPolicyDryRunSpecRulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) OrgPolicyPolicyDryRunSpecRulesList
type OrgPolicyPolicyDryRunSpecRulesOutputReference ¶
type OrgPolicyPolicyDryRunSpecRulesOutputReference interface { cdktf.ComplexObject AllowAll() *string SetAllowAll(val *string) AllowAllInput() *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) Condition() OrgPolicyPolicyDryRunSpecRulesConditionOutputReference ConditionInput() *OrgPolicyPolicyDryRunSpecRulesCondition // 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 DenyAll() *string SetDenyAll(val *string) DenyAllInput() *string Enforce() *string SetEnforce(val *string) EnforceInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Parameters() *string SetParameters(val *string) ParametersInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() OrgPolicyPolicyDryRunSpecRulesValuesOutputReference ValuesInput() *OrgPolicyPolicyDryRunSpecRulesValues // 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 PutCondition(value *OrgPolicyPolicyDryRunSpecRulesCondition) PutValues(value *OrgPolicyPolicyDryRunSpecRulesValues) ResetAllowAll() ResetCondition() ResetDenyAll() ResetEnforce() ResetParameters() ResetValues() // 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 NewOrgPolicyPolicyDryRunSpecRulesOutputReference ¶
func NewOrgPolicyPolicyDryRunSpecRulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) OrgPolicyPolicyDryRunSpecRulesOutputReference
type OrgPolicyPolicyDryRunSpecRulesValues ¶
type OrgPolicyPolicyDryRunSpecRulesValues struct { // List of values allowed at this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#allowed_values OrgPolicyPolicy#allowed_values} AllowedValues *[]*string `field:"optional" json:"allowedValues" yaml:"allowedValues"` // List of values denied at this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#denied_values OrgPolicyPolicy#denied_values} DeniedValues *[]*string `field:"optional" json:"deniedValues" yaml:"deniedValues"` }
type OrgPolicyPolicyDryRunSpecRulesValuesOutputReference ¶
type OrgPolicyPolicyDryRunSpecRulesValuesOutputReference interface { cdktf.ComplexObject AllowedValues() *[]*string SetAllowedValues(val *[]*string) AllowedValuesInput() *[]*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 DeniedValues() *[]*string SetDeniedValues(val *[]*string) DeniedValuesInput() *[]*string // Experimental. Fqn() *string InternalValue() *OrgPolicyPolicyDryRunSpecRulesValues SetInternalValue(val *OrgPolicyPolicyDryRunSpecRulesValues) // 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 ResetAllowedValues() ResetDeniedValues() // 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 NewOrgPolicyPolicyDryRunSpecRulesValuesOutputReference ¶
func NewOrgPolicyPolicyDryRunSpecRulesValuesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrgPolicyPolicyDryRunSpecRulesValuesOutputReference
type OrgPolicyPolicySpec ¶
type OrgPolicyPolicySpec struct { // Determines the inheritance behavior for this 'Policy'. // // If 'inherit_from_parent' is true, PolicyRules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this Policy becomes the new root for evaluation. This field can be set only for Policies which configure list constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#inherit_from_parent OrgPolicyPolicy#inherit_from_parent} InheritFromParent interface{} `field:"optional" json:"inheritFromParent" yaml:"inheritFromParent"` // Ignores policies set above this resource and restores the 'constraint_default' enforcement behavior of the specific 'Constraint' at this resource. // // This field can be set in policies for either list or boolean constraints. If set, 'rules' must be empty and 'inherit_from_parent' must be set to false. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#reset OrgPolicyPolicy#reset} Reset interface{} `field:"optional" json:"reset" yaml:"reset"` // rules block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#rules OrgPolicyPolicy#rules} Rules interface{} `field:"optional" json:"rules" yaml:"rules"` }
type OrgPolicyPolicySpecOutputReference ¶
type OrgPolicyPolicySpecOutputReference 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 Etag() *string // Experimental. Fqn() *string InheritFromParent() interface{} SetInheritFromParent(val interface{}) InheritFromParentInput() interface{} InternalValue() *OrgPolicyPolicySpec SetInternalValue(val *OrgPolicyPolicySpec) Reset() interface{} SetReset(val interface{}) ResetInput() interface{} Rules() OrgPolicyPolicySpecRulesList RulesInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UpdateTime() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutRules(value interface{}) ResetInheritFromParent() ResetReset() ResetRules() // 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 NewOrgPolicyPolicySpecOutputReference ¶
func NewOrgPolicyPolicySpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrgPolicyPolicySpecOutputReference
type OrgPolicyPolicySpecRules ¶
type OrgPolicyPolicySpecRules struct { // Setting this to '"TRUE"' means that all values are allowed. // // This field can be set only in Policies for list constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#allow_all OrgPolicyPolicy#allow_all} AllowAll *string `field:"optional" json:"allowAll" yaml:"allowAll"` // condition block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#condition OrgPolicyPolicy#condition} Condition *OrgPolicyPolicySpecRulesCondition `field:"optional" json:"condition" yaml:"condition"` // Setting this to '"TRUE"' means that all values are denied. // // This field can be set only in Policies for list constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#deny_all OrgPolicyPolicy#deny_all} DenyAll *string `field:"optional" json:"denyAll" yaml:"denyAll"` // If '"TRUE"', then the 'Policy' is enforced. // // If '"FALSE"', then any configuration is acceptable. This field can be set only in Policies for boolean constraints. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#enforce OrgPolicyPolicy#enforce} Enforce *string `field:"optional" json:"enforce" yaml:"enforce"` // Optional. // // Required for Managed Constraints if parameters defined in constraints. Pass parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true } // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#parameters OrgPolicyPolicy#parameters} Parameters *string `field:"optional" json:"parameters" yaml:"parameters"` // values block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#values OrgPolicyPolicy#values} Values *OrgPolicyPolicySpecRulesValues `field:"optional" json:"values" yaml:"values"` }
type OrgPolicyPolicySpecRulesCondition ¶
type OrgPolicyPolicySpecRulesCondition struct { // Optional. // // Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#description OrgPolicyPolicy#description} Description *string `field:"optional" json:"description" yaml:"description"` // Textual representation of an expression in Common Expression Language syntax. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#expression OrgPolicyPolicy#expression} Expression *string `field:"optional" json:"expression" yaml:"expression"` // Optional. // // String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#location OrgPolicyPolicy#location} Location *string `field:"optional" json:"location" yaml:"location"` // Optional. // // Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#title OrgPolicyPolicy#title} Title *string `field:"optional" json:"title" yaml:"title"` }
type OrgPolicyPolicySpecRulesConditionOutputReference ¶
type OrgPolicyPolicySpecRulesConditionOutputReference 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 Description() *string SetDescription(val *string) DescriptionInput() *string Expression() *string SetExpression(val *string) ExpressionInput() *string // Experimental. Fqn() *string InternalValue() *OrgPolicyPolicySpecRulesCondition SetInternalValue(val *OrgPolicyPolicySpecRulesCondition) Location() *string SetLocation(val *string) LocationInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Title() *string SetTitle(val *string) TitleInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDescription() ResetExpression() ResetLocation() ResetTitle() // 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 NewOrgPolicyPolicySpecRulesConditionOutputReference ¶
func NewOrgPolicyPolicySpecRulesConditionOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrgPolicyPolicySpecRulesConditionOutputReference
type OrgPolicyPolicySpecRulesList ¶
type OrgPolicyPolicySpecRulesList 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) OrgPolicyPolicySpecRulesOutputReference // 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 NewOrgPolicyPolicySpecRulesList ¶
func NewOrgPolicyPolicySpecRulesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) OrgPolicyPolicySpecRulesList
type OrgPolicyPolicySpecRulesOutputReference ¶
type OrgPolicyPolicySpecRulesOutputReference interface { cdktf.ComplexObject AllowAll() *string SetAllowAll(val *string) AllowAllInput() *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) Condition() OrgPolicyPolicySpecRulesConditionOutputReference ConditionInput() *OrgPolicyPolicySpecRulesCondition // 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 DenyAll() *string SetDenyAll(val *string) DenyAllInput() *string Enforce() *string SetEnforce(val *string) EnforceInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Parameters() *string SetParameters(val *string) ParametersInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() OrgPolicyPolicySpecRulesValuesOutputReference ValuesInput() *OrgPolicyPolicySpecRulesValues // 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 PutCondition(value *OrgPolicyPolicySpecRulesCondition) PutValues(value *OrgPolicyPolicySpecRulesValues) ResetAllowAll() ResetCondition() ResetDenyAll() ResetEnforce() ResetParameters() ResetValues() // 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 NewOrgPolicyPolicySpecRulesOutputReference ¶
func NewOrgPolicyPolicySpecRulesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) OrgPolicyPolicySpecRulesOutputReference
type OrgPolicyPolicySpecRulesValues ¶
type OrgPolicyPolicySpecRulesValues struct { // List of values allowed at this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#allowed_values OrgPolicyPolicy#allowed_values} AllowedValues *[]*string `field:"optional" json:"allowedValues" yaml:"allowedValues"` // List of values denied at this resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#denied_values OrgPolicyPolicy#denied_values} DeniedValues *[]*string `field:"optional" json:"deniedValues" yaml:"deniedValues"` }
type OrgPolicyPolicySpecRulesValuesOutputReference ¶
type OrgPolicyPolicySpecRulesValuesOutputReference interface { cdktf.ComplexObject AllowedValues() *[]*string SetAllowedValues(val *[]*string) AllowedValuesInput() *[]*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 DeniedValues() *[]*string SetDeniedValues(val *[]*string) DeniedValuesInput() *[]*string // Experimental. Fqn() *string InternalValue() *OrgPolicyPolicySpecRulesValues SetInternalValue(val *OrgPolicyPolicySpecRulesValues) // 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 ResetAllowedValues() ResetDeniedValues() // 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 NewOrgPolicyPolicySpecRulesValuesOutputReference ¶
func NewOrgPolicyPolicySpecRulesValuesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrgPolicyPolicySpecRulesValuesOutputReference
type OrgPolicyPolicyTimeouts ¶
type OrgPolicyPolicyTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#create OrgPolicyPolicy#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#delete OrgPolicyPolicy#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.14.1/docs/resources/org_policy_policy#update OrgPolicyPolicy#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type OrgPolicyPolicyTimeoutsOutputReference ¶
type OrgPolicyPolicyTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewOrgPolicyPolicyTimeoutsOutputReference ¶
func NewOrgPolicyPolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OrgPolicyPolicyTimeoutsOutputReference
Source Files ¶
- OrgPolicyPolicy.go
- OrgPolicyPolicyConfig.go
- OrgPolicyPolicyDryRunSpec.go
- OrgPolicyPolicyDryRunSpecOutputReference.go
- OrgPolicyPolicyDryRunSpecOutputReference__checks.go
- OrgPolicyPolicyDryRunSpecRules.go
- OrgPolicyPolicyDryRunSpecRulesCondition.go
- OrgPolicyPolicyDryRunSpecRulesConditionOutputReference.go
- OrgPolicyPolicyDryRunSpecRulesConditionOutputReference__checks.go
- OrgPolicyPolicyDryRunSpecRulesList.go
- OrgPolicyPolicyDryRunSpecRulesList__checks.go
- OrgPolicyPolicyDryRunSpecRulesOutputReference.go
- OrgPolicyPolicyDryRunSpecRulesOutputReference__checks.go
- OrgPolicyPolicyDryRunSpecRulesValues.go
- OrgPolicyPolicyDryRunSpecRulesValuesOutputReference.go
- OrgPolicyPolicyDryRunSpecRulesValuesOutputReference__checks.go
- OrgPolicyPolicySpec.go
- OrgPolicyPolicySpecOutputReference.go
- OrgPolicyPolicySpecOutputReference__checks.go
- OrgPolicyPolicySpecRules.go
- OrgPolicyPolicySpecRulesCondition.go
- OrgPolicyPolicySpecRulesConditionOutputReference.go
- OrgPolicyPolicySpecRulesConditionOutputReference__checks.go
- OrgPolicyPolicySpecRulesList.go
- OrgPolicyPolicySpecRulesList__checks.go
- OrgPolicyPolicySpecRulesOutputReference.go
- OrgPolicyPolicySpecRulesOutputReference__checks.go
- OrgPolicyPolicySpecRulesValues.go
- OrgPolicyPolicySpecRulesValuesOutputReference.go
- OrgPolicyPolicySpecRulesValuesOutputReference__checks.go
- OrgPolicyPolicyTimeouts.go
- OrgPolicyPolicyTimeoutsOutputReference.go
- OrgPolicyPolicyTimeoutsOutputReference__checks.go
- OrgPolicyPolicy__checks.go
- main.go