Documentation
¶
Index ¶
- func NewPagerdutyProvider_Override(p PagerdutyProvider, scope constructs.Construct, id *string, ...)
- func PagerdutyProvider_IsConstruct(x interface{}) *bool
- func PagerdutyProvider_IsTerraformElement(x interface{}) *bool
- func PagerdutyProvider_IsTerraformProvider(x interface{}) *bool
- func PagerdutyProvider_TfResourceType() *string
- type PagerdutyProvider
- type PagerdutyProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPagerdutyProvider_Override ¶
func NewPagerdutyProvider_Override(p PagerdutyProvider, scope constructs.Construct, id *string, config *PagerdutyProviderConfig)
Create a new {@link https://www.terraform.io/docs/providers/pagerduty pagerduty} Resource.
func PagerdutyProvider_IsConstruct ¶
func PagerdutyProvider_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 PagerdutyProvider_IsTerraformElement ¶
func PagerdutyProvider_IsTerraformElement(x interface{}) *bool
Experimental.
func PagerdutyProvider_IsTerraformProvider ¶
func PagerdutyProvider_IsTerraformProvider(x interface{}) *bool
Experimental.
func PagerdutyProvider_TfResourceType ¶
func PagerdutyProvider_TfResourceType() *string
Types ¶
type PagerdutyProvider ¶
type PagerdutyProvider interface { cdktf.TerraformProvider Alias() *string SetAlias(val *string) AliasInput() *string ApiUrlOverride() *string SetApiUrlOverride(val *string) ApiUrlOverrideInput() *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{} ServiceRegion() *string SetServiceRegion(val *string) ServiceRegionInput() *string SkipCredentialsValidation() interface{} SetSkipCredentialsValidation(val interface{}) SkipCredentialsValidationInput() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string Token() *string SetToken(val *string) TokenInput() *string UserToken() *string SetUserToken(val *string) UserTokenInput() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetApiUrlOverride() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetServiceRegion() ResetSkipCredentialsValidation() ResetUserToken() 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/pagerduty pagerduty}.
func NewPagerdutyProvider ¶
func NewPagerdutyProvider(scope constructs.Construct, id *string, config *PagerdutyProviderConfig) PagerdutyProvider
Create a new {@link https://www.terraform.io/docs/providers/pagerduty pagerduty} Resource.
type PagerdutyProviderConfig ¶
type PagerdutyProviderConfig struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/pagerduty#token PagerdutyProvider#token}. Token *string `field:"required" json:"token" yaml:"token"` // Alias name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/pagerduty#alias PagerdutyProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/pagerduty#api_url_override PagerdutyProvider#api_url_override}. ApiUrlOverride *string `field:"optional" json:"apiUrlOverride" yaml:"apiUrlOverride"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/pagerduty#service_region PagerdutyProvider#service_region}. ServiceRegion *string `field:"optional" json:"serviceRegion" yaml:"serviceRegion"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/pagerduty#skip_credentials_validation PagerdutyProvider#skip_credentials_validation}. SkipCredentialsValidation interface{} `field:"optional" json:"skipCredentialsValidation" yaml:"skipCredentialsValidation"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/pagerduty#user_token PagerdutyProvider#user_token}. UserToken *string `field:"optional" json:"userToken" yaml:"userToken"` }