Documentation
¶
Index ¶
- func NewOpsgenieProvider_Override(o OpsgenieProvider, scope constructs.Construct, id *string, ...)
- func OpsgenieProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func OpsgenieProvider_IsConstruct(x interface{}) *bool
- func OpsgenieProvider_IsTerraformElement(x interface{}) *bool
- func OpsgenieProvider_IsTerraformProvider(x interface{}) *bool
- func OpsgenieProvider_TfResourceType() *string
- type OpsgenieProvider
- type OpsgenieProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpsgenieProvider_Override ¶
func NewOpsgenieProvider_Override(o OpsgenieProvider, scope constructs.Construct, id *string, config *OpsgenieProviderConfig)
Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.35/docs opsgenie} Resource.
func OpsgenieProvider_GenerateConfigForImport ¶
func OpsgenieProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a OpsgenieProvider resource upon running "cdktf plan <stack-name>".
func OpsgenieProvider_IsConstruct ¶
func OpsgenieProvider_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 OpsgenieProvider_IsTerraformElement ¶
func OpsgenieProvider_IsTerraformElement(x interface{}) *bool
Experimental.
func OpsgenieProvider_IsTerraformProvider ¶
func OpsgenieProvider_IsTerraformProvider(x interface{}) *bool
Experimental.
func OpsgenieProvider_TfResourceType ¶
func OpsgenieProvider_TfResourceType() *string
Types ¶
type OpsgenieProvider ¶
type OpsgenieProvider interface { cdktf.TerraformProvider Alias() *string SetAlias(val *string) AliasInput() *string ApiKey() *string SetApiKey(val *string) ApiKeyInput() *string ApiUrl() *string SetApiUrl(val *string) ApiUrlInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetApiUrl() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.35/docs opsgenie}.
func NewOpsgenieProvider ¶
func NewOpsgenieProvider(scope constructs.Construct, id *string, config *OpsgenieProviderConfig) OpsgenieProvider
Create a new {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.35/docs opsgenie} Resource.
type OpsgenieProviderConfig ¶
type OpsgenieProviderConfig struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.35/docs#api_key OpsgenieProvider#api_key}. ApiKey *string `field:"required" json:"apiKey" yaml:"apiKey"` // Alias name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.35/docs#alias OpsgenieProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/opsgenie/opsgenie/0.6.35/docs#api_url OpsgenieProvider#api_url}. ApiUrl *string `field:"optional" json:"apiUrl" yaml:"apiUrl"` }