Documentation ¶
Index ¶
- func NewNewrelicProvider_Override(n NewrelicProvider, scope constructs.Construct, id *string, ...)
- func NewrelicProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func NewrelicProvider_IsConstruct(x interface{}) *bool
- func NewrelicProvider_IsTerraformElement(x interface{}) *bool
- func NewrelicProvider_IsTerraformProvider(x interface{}) *bool
- func NewrelicProvider_TfResourceType() *string
- type NewrelicProvider
- type NewrelicProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNewrelicProvider_Override ¶
func NewNewrelicProvider_Override(n NewrelicProvider, scope constructs.Construct, id *string, config *NewrelicProviderConfig)
Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs newrelic} Resource.
func NewrelicProvider_GenerateConfigForImport ¶
func NewrelicProvider_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a NewrelicProvider resource upon running "cdktf plan <stack-name>".
func NewrelicProvider_IsConstruct ¶
func NewrelicProvider_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 NewrelicProvider_IsTerraformElement ¶
func NewrelicProvider_IsTerraformElement(x interface{}) *bool
Experimental.
func NewrelicProvider_IsTerraformProvider ¶
func NewrelicProvider_IsTerraformProvider(x interface{}) *bool
Experimental.
func NewrelicProvider_TfResourceType ¶
func NewrelicProvider_TfResourceType() *string
Types ¶
type NewrelicProvider ¶
type NewrelicProvider interface { cdktf.TerraformProvider AccountId() *float64 SetAccountId(val *float64) AccountIdInput() *float64 AdminApiKey() *string SetAdminApiKey(val *string) AdminApiKeyInput() *string Alias() *string SetAlias(val *string) AliasInput() *string ApiKey() *string SetApiKey(val *string) ApiKeyInput() *string ApiUrl() *string SetApiUrl(val *string) ApiUrlInput() *string CacertFile() *string SetCacertFile(val *string) CacertFileInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string InfrastructureApiUrl() *string SetInfrastructureApiUrl(val *string) InfrastructureApiUrlInput() *string InsecureSkipVerify() interface{} SetInsecureSkipVerify(val interface{}) InsecureSkipVerifyInput() interface{} InsightsInsertKey() *string SetInsightsInsertKey(val *string) InsightsInsertKeyInput() *string InsightsInsertUrl() *string SetInsightsInsertUrl(val *string) InsightsInsertUrlInput() *string InsightsQueryUrl() *string SetInsightsQueryUrl(val *string) InsightsQueryUrlInput() *string // Experimental. MetaAttributes() *map[string]interface{} NerdgraphApiUrl() *string SetNerdgraphApiUrl(val *string) NerdgraphApiUrlInput() *string // The tree node. Node() constructs.Node // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string SyntheticsApiUrl() *string SetSyntheticsApiUrl(val *string) SyntheticsApiUrlInput() *string // 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) ResetAdminApiKey() ResetAlias() ResetApiUrl() ResetCacertFile() ResetInfrastructureApiUrl() ResetInsecureSkipVerify() ResetInsightsInsertKey() ResetInsightsInsertUrl() ResetInsightsQueryUrl() ResetNerdgraphApiUrl() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRegion() ResetSyntheticsApiUrl() 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/newrelic/newrelic/3.27.4/docs newrelic}.
func NewNewrelicProvider ¶
func NewNewrelicProvider(scope constructs.Construct, id *string, config *NewrelicProviderConfig) NewrelicProvider
Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs newrelic} Resource.
type NewrelicProviderConfig ¶
type NewrelicProviderConfig struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#account_id NewrelicProvider#account_id}. AccountId *float64 `field:"required" json:"accountId" yaml:"accountId"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#api_key NewrelicProvider#api_key}. ApiKey *string `field:"required" json:"apiKey" yaml:"apiKey"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#admin_api_key NewrelicProvider#admin_api_key}. AdminApiKey *string `field:"optional" json:"adminApiKey" yaml:"adminApiKey"` // Alias name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#alias NewrelicProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#api_url NewrelicProvider#api_url}. ApiUrl *string `field:"optional" json:"apiUrl" yaml:"apiUrl"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#cacert_file NewrelicProvider#cacert_file}. CacertFile *string `field:"optional" json:"cacertFile" yaml:"cacertFile"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#infrastructure_api_url NewrelicProvider#infrastructure_api_url}. InfrastructureApiUrl *string `field:"optional" json:"infrastructureApiUrl" yaml:"infrastructureApiUrl"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#insecure_skip_verify NewrelicProvider#insecure_skip_verify}. InsecureSkipVerify interface{} `field:"optional" json:"insecureSkipVerify" yaml:"insecureSkipVerify"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#insights_insert_key NewrelicProvider#insights_insert_key}. InsightsInsertKey *string `field:"optional" json:"insightsInsertKey" yaml:"insightsInsertKey"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#insights_insert_url NewrelicProvider#insights_insert_url}. InsightsInsertUrl *string `field:"optional" json:"insightsInsertUrl" yaml:"insightsInsertUrl"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#insights_query_url NewrelicProvider#insights_query_url}. InsightsQueryUrl *string `field:"optional" json:"insightsQueryUrl" yaml:"insightsQueryUrl"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#nerdgraph_api_url NewrelicProvider#nerdgraph_api_url}. NerdgraphApiUrl *string `field:"optional" json:"nerdgraphApiUrl" yaml:"nerdgraphApiUrl"` // The data center for which your New Relic account is configured. Only one region per provider block is permitted. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#region NewrelicProvider#region} Region *string `field:"optional" json:"region" yaml:"region"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.27.4/docs#synthetics_api_url NewrelicProvider#synthetics_api_url}. SyntheticsApiUrl *string `field:"optional" json:"syntheticsApiUrl" yaml:"syntheticsApiUrl"` }