Documentation ¶
Index ¶
- func ClusterRoleV1_IsConstruct(x interface{}) *bool
- func ClusterRoleV1_TfResourceType() *string
- func NewClusterRoleV1AggregationRuleClusterRoleSelectorsList_Override(c ClusterRoleV1AggregationRuleClusterRoleSelectorsList, ...)
- func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList_Override(c ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList, ...)
- func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference_Override(...)
- func NewClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference_Override(c ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference, ...)
- func NewClusterRoleV1AggregationRuleOutputReference_Override(c ClusterRoleV1AggregationRuleOutputReference, ...)
- func NewClusterRoleV1MetadataOutputReference_Override(c ClusterRoleV1MetadataOutputReference, ...)
- func NewClusterRoleV1RuleList_Override(c ClusterRoleV1RuleList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewClusterRoleV1RuleOutputReference_Override(c ClusterRoleV1RuleOutputReference, ...)
- func NewClusterRoleV1_Override(c ClusterRoleV1, scope constructs.Construct, id *string, ...)
- type ClusterRoleV1
- type ClusterRoleV1AggregationRule
- type ClusterRoleV1AggregationRuleClusterRoleSelectors
- type ClusterRoleV1AggregationRuleClusterRoleSelectorsList
- type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressions
- type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList
- type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference
- type ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference
- type ClusterRoleV1AggregationRuleOutputReference
- type ClusterRoleV1Config
- type ClusterRoleV1Metadata
- type ClusterRoleV1MetadataOutputReference
- type ClusterRoleV1Rule
- type ClusterRoleV1RuleList
- type ClusterRoleV1RuleOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterRoleV1_IsConstruct ¶
func ClusterRoleV1_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 ClusterRoleV1_TfResourceType ¶
func ClusterRoleV1_TfResourceType() *string
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsList_Override ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsList_Override(c ClusterRoleV1AggregationRuleClusterRoleSelectorsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList_Override ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList_Override(c ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference_Override ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference_Override(c ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference_Override ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference_Override(c ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewClusterRoleV1AggregationRuleOutputReference_Override ¶
func NewClusterRoleV1AggregationRuleOutputReference_Override(c ClusterRoleV1AggregationRuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewClusterRoleV1MetadataOutputReference_Override ¶
func NewClusterRoleV1MetadataOutputReference_Override(c ClusterRoleV1MetadataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewClusterRoleV1RuleList_Override ¶
func NewClusterRoleV1RuleList_Override(c ClusterRoleV1RuleList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewClusterRoleV1RuleOutputReference_Override ¶
func NewClusterRoleV1RuleOutputReference_Override(c ClusterRoleV1RuleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewClusterRoleV1_Override ¶
func NewClusterRoleV1_Override(c ClusterRoleV1, scope constructs.Construct, id *string, config *ClusterRoleV1Config)
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1 kubernetes_cluster_role_v1} Resource.
Types ¶
type ClusterRoleV1 ¶
type ClusterRoleV1 interface { cdktf.TerraformResource AggregationRule() ClusterRoleV1AggregationRuleOutputReference AggregationRuleInput() *ClusterRoleV1AggregationRule // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*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) Metadata() ClusterRoleV1MetadataOutputReference MetadataInput() *ClusterRoleV1Metadata // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Rule() ClusterRoleV1RuleList RuleInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAggregationRule(value *ClusterRoleV1AggregationRule) PutMetadata(value *ClusterRoleV1Metadata) PutRule(value interface{}) ResetAggregationRule() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRule() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1 kubernetes_cluster_role_v1}.
func NewClusterRoleV1 ¶
func NewClusterRoleV1(scope constructs.Construct, id *string, config *ClusterRoleV1Config) ClusterRoleV1
Create a new {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1 kubernetes_cluster_role_v1} Resource.
type ClusterRoleV1AggregationRule ¶
type ClusterRoleV1AggregationRule struct { // cluster_role_selectors block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#cluster_role_selectors ClusterRoleV1#cluster_role_selectors} ClusterRoleSelectors interface{} `field:"optional" json:"clusterRoleSelectors" yaml:"clusterRoleSelectors"` }
type ClusterRoleV1AggregationRuleClusterRoleSelectors ¶
type ClusterRoleV1AggregationRuleClusterRoleSelectors struct { // match_expressions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#match_expressions ClusterRoleV1#match_expressions} MatchExpressions interface{} `field:"optional" json:"matchExpressions" yaml:"matchExpressions"` // A map of {key,value} pairs. // // A single {key,value} in the matchLabels map is equivalent to an element of `match_expressions`, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#match_labels ClusterRoleV1#match_labels} MatchLabels *map[string]*string `field:"optional" json:"matchLabels" yaml:"matchLabels"` }
type ClusterRoleV1AggregationRuleClusterRoleSelectorsList ¶
type ClusterRoleV1AggregationRuleClusterRoleSelectorsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference // 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 NewClusterRoleV1AggregationRuleClusterRoleSelectorsList ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ClusterRoleV1AggregationRuleClusterRoleSelectorsList
type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressions ¶
type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressions struct { // The label key that the selector applies to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#key ClusterRoleV1#key} Key *string `field:"optional" json:"key" yaml:"key"` // A key's relationship to a set of values. Valid operators ard `In`, `NotIn`, `Exists` and `DoesNotExist`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#operator ClusterRoleV1#operator} Operator *string `field:"optional" json:"operator" yaml:"operator"` // An array of string values. // // If the operator is `In` or `NotIn`, the values array must be non-empty. If the operator is `Exists` or `DoesNotExist`, the values array must be empty. This array is replaced during a strategic merge patch. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#values ClusterRoleV1#values} Values *[]*string `field:"optional" json:"values" yaml:"values"` }
type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList ¶
type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference // 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 NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList
type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference ¶
type ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference 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{}) Key() *string SetKey(val *string) KeyInput() *string Operator() *string SetOperator(val *string) OperatorInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Values() *[]*string SetValues(val *[]*string) ValuesInput() *[]*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 ResetKey() ResetOperator() 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 NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference
type ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference ¶
type ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference 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{}) MatchExpressions() ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList MatchExpressionsInput() interface{} MatchLabels() *map[string]*string SetMatchLabels(val *map[string]*string) MatchLabelsInput() *map[string]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutMatchExpressions(value interface{}) ResetMatchExpressions() ResetMatchLabels() // 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 NewClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference ¶
func NewClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference
type ClusterRoleV1AggregationRuleOutputReference ¶
type ClusterRoleV1AggregationRuleOutputReference interface { cdktf.ComplexObject ClusterRoleSelectors() ClusterRoleV1AggregationRuleClusterRoleSelectorsList ClusterRoleSelectorsInput() interface{} // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ClusterRoleV1AggregationRule SetInternalValue(val *ClusterRoleV1AggregationRule) // 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 PutClusterRoleSelectors(value interface{}) ResetClusterRoleSelectors() // 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 NewClusterRoleV1AggregationRuleOutputReference ¶
func NewClusterRoleV1AggregationRuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ClusterRoleV1AggregationRuleOutputReference
type ClusterRoleV1Config ¶
type ClusterRoleV1Config struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // metadata block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#metadata ClusterRoleV1#metadata} Metadata *ClusterRoleV1Metadata `field:"required" json:"metadata" yaml:"metadata"` // aggregation_rule block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#aggregation_rule ClusterRoleV1#aggregation_rule} AggregationRule *ClusterRoleV1AggregationRule `field:"optional" json:"aggregationRule" yaml:"aggregationRule"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#id ClusterRoleV1#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"` // rule block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#rule ClusterRoleV1#rule} Rule interface{} `field:"optional" json:"rule" yaml:"rule"` }
type ClusterRoleV1Metadata ¶
type ClusterRoleV1Metadata struct { // An unstructured key value map stored with the clusterRole that may be used to store arbitrary metadata. // // More info: http://kubernetes.io/docs/user-guide/annotations // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#annotations ClusterRoleV1#annotations} Annotations *map[string]*string `field:"optional" json:"annotations" yaml:"annotations"` // Map of string keys and values that can be used to organize and categorize (scope and select) the clusterRole. // // May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#labels ClusterRoleV1#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Name of the clusterRole, must be unique. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#name ClusterRoleV1#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type ClusterRoleV1MetadataOutputReference ¶
type ClusterRoleV1MetadataOutputReference interface { cdktf.ComplexObject Annotations() *map[string]*string SetAnnotations(val *map[string]*string) AnnotationsInput() *map[string]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Generation() *float64 InternalValue() *ClusterRoleV1Metadata SetInternalValue(val *ClusterRoleV1Metadata) Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string Name() *string SetName(val *string) NameInput() *string ResourceVersion() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Uid() *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 ResetAnnotations() ResetLabels() ResetName() // 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 NewClusterRoleV1MetadataOutputReference ¶
func NewClusterRoleV1MetadataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ClusterRoleV1MetadataOutputReference
type ClusterRoleV1Rule ¶
type ClusterRoleV1Rule struct { // Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. // // VerbAll represents all kinds. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#verbs ClusterRoleV1#verbs} Verbs *[]*string `field:"required" json:"verbs" yaml:"verbs"` // APIGroups is the name of the APIGroup that contains the resources. // // If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#api_groups ClusterRoleV1#api_groups} ApiGroups *[]*string `field:"optional" json:"apiGroups" yaml:"apiGroups"` // NonResourceURLs is a set of partial urls that a user should have access to. // // *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#non_resource_urls ClusterRoleV1#non_resource_urls} NonResourceUrls *[]*string `field:"optional" json:"nonResourceUrls" yaml:"nonResourceUrls"` // ResourceNames is an optional white list of names that the rule applies to. // // An empty set means that everything is allowed. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#resource_names ClusterRoleV1#resource_names} ResourceNames *[]*string `field:"optional" json:"resourceNames" yaml:"resourceNames"` // Resources is a list of resources this rule applies to. ResourceAll represents all resources. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/kubernetes/r/cluster_role_v1#resources ClusterRoleV1#resources} Resources *[]*string `field:"optional" json:"resources" yaml:"resources"` }
type ClusterRoleV1RuleList ¶
type ClusterRoleV1RuleList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ClusterRoleV1RuleOutputReference // 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 NewClusterRoleV1RuleList ¶
func NewClusterRoleV1RuleList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ClusterRoleV1RuleList
type ClusterRoleV1RuleOutputReference ¶
type ClusterRoleV1RuleOutputReference interface { cdktf.ComplexObject ApiGroups() *[]*string SetApiGroups(val *[]*string) ApiGroupsInput() *[]*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{}) NonResourceUrls() *[]*string SetNonResourceUrls(val *[]*string) NonResourceUrlsInput() *[]*string ResourceNames() *[]*string SetResourceNames(val *[]*string) ResourceNamesInput() *[]*string Resources() *[]*string SetResources(val *[]*string) ResourcesInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Verbs() *[]*string SetVerbs(val *[]*string) VerbsInput() *[]*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 ResetApiGroups() ResetNonResourceUrls() ResetResourceNames() ResetResources() // 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 NewClusterRoleV1RuleOutputReference ¶
func NewClusterRoleV1RuleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ClusterRoleV1RuleOutputReference
Source Files ¶
- clusterrolev1.go
- clusterrolev1_ClusterRoleV1.go
- clusterrolev1_ClusterRoleV1AggregationRule.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectors.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsList.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsList__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressions.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsList__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsMatchExpressionsOutputReference__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference.go
- clusterrolev1_ClusterRoleV1AggregationRuleClusterRoleSelectorsOutputReference__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1AggregationRuleOutputReference.go
- clusterrolev1_ClusterRoleV1AggregationRuleOutputReference__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1Config.go
- clusterrolev1_ClusterRoleV1Metadata.go
- clusterrolev1_ClusterRoleV1MetadataOutputReference.go
- clusterrolev1_ClusterRoleV1MetadataOutputReference__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1Rule.go
- clusterrolev1_ClusterRoleV1RuleList.go
- clusterrolev1_ClusterRoleV1RuleList__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1RuleOutputReference.go
- clusterrolev1_ClusterRoleV1RuleOutputReference__runtime_type_checks.go
- clusterrolev1_ClusterRoleV1__runtime_type_checks.go