Documentation ¶
Index ¶
- func IothubSharedAccessPolicyA_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func IothubSharedAccessPolicyA_IsConstruct(x interface{}) *bool
- func IothubSharedAccessPolicyA_IsTerraformElement(x interface{}) *bool
- func IothubSharedAccessPolicyA_IsTerraformResource(x interface{}) *bool
- func IothubSharedAccessPolicyA_TfResourceType() *string
- func NewIothubSharedAccessPolicyA_Override(i IothubSharedAccessPolicyA, scope constructs.Construct, id *string, ...)
- func NewIothubSharedAccessPolicyTimeoutsOutputReference_Override(i IothubSharedAccessPolicyTimeoutsOutputReference, ...)
- type IothubSharedAccessPolicyA
- type IothubSharedAccessPolicyAConfig
- type IothubSharedAccessPolicyTimeouts
- type IothubSharedAccessPolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IothubSharedAccessPolicyA_GenerateConfigForImport ¶
func IothubSharedAccessPolicyA_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a IothubSharedAccessPolicyA resource upon running "cdktf plan <stack-name>".
func IothubSharedAccessPolicyA_IsConstruct ¶
func IothubSharedAccessPolicyA_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 IothubSharedAccessPolicyA_IsTerraformElement ¶
func IothubSharedAccessPolicyA_IsTerraformElement(x interface{}) *bool
Experimental.
func IothubSharedAccessPolicyA_IsTerraformResource ¶
func IothubSharedAccessPolicyA_IsTerraformResource(x interface{}) *bool
Experimental.
func IothubSharedAccessPolicyA_TfResourceType ¶
func IothubSharedAccessPolicyA_TfResourceType() *string
func NewIothubSharedAccessPolicyA_Override ¶
func NewIothubSharedAccessPolicyA_Override(i IothubSharedAccessPolicyA, scope constructs.Construct, id *string, config *IothubSharedAccessPolicyAConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/4.1.0/docs/resources/iothub_shared_access_policy azurerm_iothub_shared_access_policy} Resource.
func NewIothubSharedAccessPolicyTimeoutsOutputReference_Override ¶
func NewIothubSharedAccessPolicyTimeoutsOutputReference_Override(i IothubSharedAccessPolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
Types ¶
type IothubSharedAccessPolicyA ¶
type IothubSharedAccessPolicyA interface { cdktf.TerraformResource CdktfStack() cdktf.TerraformStack Connection() interface{} SetConnection(val interface{}) ConstructNodeMetadata() *map[string]interface{} Count() interface{} SetCount(val interface{}) DependsOn() *[]*string // Experimental. ForEach() cdktf.ITerraformIterator SetForEach(val cdktf.ITerraformIterator) Fqn() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. // The tree node. Provider() cdktf.TerraformProvider SetProvider(val cdktf.TerraformProvider) Provisioners() *[]interface{} SetProvisioners(val *[]interface{}) // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata TerraformMetaArguments() *map[string]interface{} // Experimental. // Experimental. AddMoveTarget(moveTarget *string) AddOverride(path *string, value interface{}) GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string HasResourceMove() interface{} ImportFrom(id *string, provider cdktf.TerraformProvider) InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Experimental. MoveTo(moveTarget *string, index interface{}) // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ToHclTerraform() interface{} ToMetadata() interface{} ToString() *string // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/4.1.0/docs/resources/iothub_shared_access_policy azurerm_iothub_shared_access_policy}.
func NewIothubSharedAccessPolicyA ¶
func NewIothubSharedAccessPolicyA(scope constructs.Construct, id *string, config *IothubSharedAccessPolicyAConfig) IothubSharedAccessPolicyA
Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/4.1.0/docs/resources/iothub_shared_access_policy azurerm_iothub_shared_access_policy} Resource.
type IothubSharedAccessPolicyAConfig ¶
type IothubSharedAccessPolicyAConfig struct { cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` IothubName *string `field:"required" json:"iothubName" yaml:"iothubName"` Name *string `field:"required" json:"name" yaml:"name"` ResourceGroupName *string `field:"required" json:"resourceGroupName" yaml:"resourceGroupName"` DeviceConnect interface{} `field:"optional" json:"deviceConnect" yaml:"deviceConnect"` // // 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"` RegistryRead interface{} `field:"optional" json:"registryRead" yaml:"registryRead"` RegistryWrite interface{} `field:"optional" json:"registryWrite" yaml:"registryWrite"` ServiceConnect interface{} `field:"optional" json:"serviceConnect" yaml:"serviceConnect"` // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/4.1.0/docs/resources/iothub_shared_access_policy#timeouts IothubSharedAccessPolicyA#timeouts} Timeouts *IothubSharedAccessPolicyTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }Connection interface{} `field:"optional" json:"connection" yaml:"connection"` Count interface{} `field:"optional" json:"count" yaml:"count"` DependsOn *[]
type IothubSharedAccessPolicyTimeoutsOutputReference ¶
type IothubSharedAccessPolicyTimeoutsOutputReference interface { cdktf.ComplexObject // Experimental. ComplexObjectIndex() interface{} SetComplexObjectIndex(val interface{}) // Experimental. ComplexObjectIsFromSet() *bool // Experimental. // 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. // Experimental. TerraformAttribute() *string SetTerraformAttribute(val *string) TerraformResource() cdktf.IInterpolatingParent // Experimental. ComputeFqn() *string GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool GetListAttribute(terraformAttribute *string) *[]*string GetNumberAttribute(terraformAttribute *string) *float64 GetNumberListAttribute(terraformAttribute *string) *[]*float64 GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 GetStringAttribute(terraformAttribute *string) *string GetStringMapAttribute(terraformAttribute *string) *map[string]*string InterpolationAsList() cdktf.IResolvable // Experimental. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewIothubSharedAccessPolicyTimeoutsOutputReference ¶
func NewIothubSharedAccessPolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) IothubSharedAccessPolicyTimeoutsOutputReference