Documentation ¶
Index ¶
- func AclToken_IsConstruct(x interface{}) *bool
- func AclToken_IsTerraformElement(x interface{}) *bool
- func AclToken_IsTerraformResource(x interface{}) *bool
- func AclToken_TfResourceType() *string
- func NewAclTokenNodeIdentitiesList_Override(a AclTokenNodeIdentitiesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewAclTokenNodeIdentitiesOutputReference_Override(a AclTokenNodeIdentitiesOutputReference, ...)
- func NewAclTokenServiceIdentitiesList_Override(a AclTokenServiceIdentitiesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewAclTokenServiceIdentitiesOutputReference_Override(a AclTokenServiceIdentitiesOutputReference, ...)
- func NewAclToken_Override(a AclToken, scope constructs.Construct, id *string, config *AclTokenConfig)
- type AclToken
- type AclTokenConfig
- type AclTokenNodeIdentities
- type AclTokenNodeIdentitiesList
- type AclTokenNodeIdentitiesOutputReference
- type AclTokenServiceIdentities
- type AclTokenServiceIdentitiesList
- type AclTokenServiceIdentitiesOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AclToken_IsConstruct ¶
func AclToken_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 AclToken_IsTerraformElement ¶
func AclToken_IsTerraformElement(x interface{}) *bool
Experimental.
func AclToken_IsTerraformResource ¶
func AclToken_IsTerraformResource(x interface{}) *bool
Experimental.
func AclToken_TfResourceType ¶
func AclToken_TfResourceType() *string
func NewAclTokenNodeIdentitiesList_Override ¶
func NewAclTokenNodeIdentitiesList_Override(a AclTokenNodeIdentitiesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewAclTokenNodeIdentitiesOutputReference_Override ¶
func NewAclTokenNodeIdentitiesOutputReference_Override(a AclTokenNodeIdentitiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewAclTokenServiceIdentitiesList_Override ¶
func NewAclTokenServiceIdentitiesList_Override(a AclTokenServiceIdentitiesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewAclTokenServiceIdentitiesOutputReference_Override ¶
func NewAclTokenServiceIdentitiesOutputReference_Override(a AclTokenServiceIdentitiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewAclToken_Override ¶
func NewAclToken_Override(a AclToken, scope constructs.Construct, id *string, config *AclTokenConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token consul_acl_token} Resource.
Types ¶
type AclToken ¶
type AclToken interface { cdktf.TerraformResource AccessorId() *string SetAccessorId(val *string) AccessorIdInput() *string // 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) Description() *string SetDescription(val *string) DescriptionInput() *string ExpirationTime() *string SetExpirationTime(val *string) ExpirationTimeInput() *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) Local() interface{} SetLocal(val interface{}) LocalInput() interface{} Namespace() *string SetNamespace(val *string) NamespaceInput() *string // The tree node. Node() constructs.Node NodeIdentities() AclTokenNodeIdentitiesList NodeIdentitiesInput() interface{} Partition() *string SetPartition(val *string) PartitionInput() *string Policies() *[]*string SetPolicies(val *[]*string) PoliciesInput() *[]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Roles() *[]*string SetRoles(val *[]*string) RolesInput() *[]*string ServiceIdentities() AclTokenServiceIdentitiesList ServiceIdentitiesInput() 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) PutNodeIdentities(value interface{}) PutServiceIdentities(value interface{}) ResetAccessorId() ResetDescription() ResetExpirationTime() ResetId() ResetLocal() ResetNamespace() ResetNodeIdentities() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPartition() ResetPolicies() ResetRoles() ResetServiceIdentities() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token consul_acl_token}.
func NewAclToken ¶
func NewAclToken(scope constructs.Construct, id *string, config *AclTokenConfig) AclToken
Create a new {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token consul_acl_token} Resource.
type AclTokenConfig ¶
type AclTokenConfig 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"` // The token id. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#accessor_id AclToken#accessor_id} AccessorId *string `field:"optional" json:"accessorId" yaml:"accessorId"` // The token description. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#description AclToken#description} Description *string `field:"optional" json:"description" yaml:"description"` // If set this represents the point after which a token should be considered revoked and is eligible for destruction. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#expiration_time AclToken#expiration_time} ExpirationTime *string `field:"optional" json:"expirationTime" yaml:"expirationTime"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#id AclToken#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"` // Flag to set the token local to the current datacenter. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#local AclToken#local} Local interface{} `field:"optional" json:"local" yaml:"local"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#namespace AclToken#namespace}. Namespace *string `field:"optional" json:"namespace" yaml:"namespace"` // node_identities block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#node_identities AclToken#node_identities} NodeIdentities interface{} `field:"optional" json:"nodeIdentities" yaml:"nodeIdentities"` // The partition the ACL token is associated with. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#partition AclToken#partition} Partition *string `field:"optional" json:"partition" yaml:"partition"` // List of policies. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#policies AclToken#policies} Policies *[]*string `field:"optional" json:"policies" yaml:"policies"` // List of roles. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#roles AclToken#roles} Roles *[]*string `field:"optional" json:"roles" yaml:"roles"` // service_identities block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#service_identities AclToken#service_identities} ServiceIdentities interface{} `field:"optional" json:"serviceIdentities" yaml:"serviceIdentities"` }
type AclTokenNodeIdentities ¶
type AclTokenNodeIdentities struct { // Specifies the node's datacenter. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#datacenter AclToken#datacenter} Datacenter *string `field:"required" json:"datacenter" yaml:"datacenter"` // The name of the node. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#node_name AclToken#node_name} NodeName *string `field:"required" json:"nodeName" yaml:"nodeName"` }
type AclTokenNodeIdentitiesList ¶
type AclTokenNodeIdentitiesList 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) AclTokenNodeIdentitiesOutputReference // 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 NewAclTokenNodeIdentitiesList ¶
func NewAclTokenNodeIdentitiesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) AclTokenNodeIdentitiesList
type AclTokenNodeIdentitiesOutputReference ¶
type AclTokenNodeIdentitiesOutputReference 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 Datacenter() *string SetDatacenter(val *string) DatacenterInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) NodeName() *string SetNodeName(val *string) NodeNameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewAclTokenNodeIdentitiesOutputReference ¶
func NewAclTokenNodeIdentitiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) AclTokenNodeIdentitiesOutputReference
type AclTokenServiceIdentities ¶
type AclTokenServiceIdentities struct { // The name of the service. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#service_name AclToken#service_name} ServiceName *string `field:"required" json:"serviceName" yaml:"serviceName"` // Specifies the datacenters the effective policy is valid within. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/consul/2.18.0/docs/resources/acl_token#datacenters AclToken#datacenters} Datacenters *[]*string `field:"optional" json:"datacenters" yaml:"datacenters"` }
type AclTokenServiceIdentitiesList ¶
type AclTokenServiceIdentitiesList 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) AclTokenServiceIdentitiesOutputReference // 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 NewAclTokenServiceIdentitiesList ¶
func NewAclTokenServiceIdentitiesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) AclTokenServiceIdentitiesList
type AclTokenServiceIdentitiesOutputReference ¶
type AclTokenServiceIdentitiesOutputReference 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 Datacenters() *[]*string SetDatacenters(val *[]*string) DatacentersInput() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) ServiceName() *string SetServiceName(val *string) ServiceNameInput() *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 ResetDatacenters() // 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 NewAclTokenServiceIdentitiesOutputReference ¶
func NewAclTokenServiceIdentitiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) AclTokenServiceIdentitiesOutputReference
Source Files ¶
- AclToken.go
- AclTokenConfig.go
- AclTokenNodeIdentities.go
- AclTokenNodeIdentitiesList.go
- AclTokenNodeIdentitiesList__checks.go
- AclTokenNodeIdentitiesOutputReference.go
- AclTokenNodeIdentitiesOutputReference__checks.go
- AclTokenServiceIdentities.go
- AclTokenServiceIdentitiesList.go
- AclTokenServiceIdentitiesList__checks.go
- AclTokenServiceIdentitiesOutputReference.go
- AclTokenServiceIdentitiesOutputReference__checks.go
- AclToken__checks.go
- main.go