Skip to content

Latest commit

 

History

History
961 lines (602 loc) · 38.6 KB

provider.typescript.md

File metadata and controls

961 lines (602 loc) · 38.6 KB

provider Submodule

Constructs

NewrelicProvider

Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs newrelic}.

Initializers

import { provider } from '@cdktf/provider-newrelic'

new provider.NewrelicProvider(scope: Construct, id: string, config: NewrelicProviderConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config NewrelicProviderConfig No description.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
resetAdminApiKey No description.
resetAlias No description.
resetApiUrl No description.
resetCacertFile No description.
resetInfrastructureApiUrl No description.
resetInsecureSkipVerify No description.
resetInsightsInsertKey No description.
resetInsightsInsertUrl No description.
resetInsightsQueryUrl No description.
resetNerdgraphApiUrl No description.
resetRegion No description.
resetSyntheticsApiUrl No description.

toString
public toString(): string

Returns a string representation of this construct.

addOverride
public addOverride(path: string, value: any): void
pathRequired
  • Type: string

valueRequired
  • Type: any

overrideLogicalId
public overrideLogicalId(newLogicalId: string): void

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


resetOverrideLogicalId
public resetOverrideLogicalId(): void

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public toHclTerraform(): any
toMetadata
public toMetadata(): any
toTerraform
public toTerraform(): any

Adds this resource to the terraform JSON output.

resetAdminApiKey
public resetAdminApiKey(): void
resetAlias
public resetAlias(): void
resetApiUrl
public resetApiUrl(): void
resetCacertFile
public resetCacertFile(): void
resetInfrastructureApiUrl
public resetInfrastructureApiUrl(): void
resetInsecureSkipVerify
public resetInsecureSkipVerify(): void
resetInsightsInsertKey
public resetInsightsInsertKey(): void
resetInsightsInsertUrl
public resetInsightsInsertUrl(): void
resetInsightsQueryUrl
public resetInsightsQueryUrl(): void
resetNerdgraphApiUrl
public resetNerdgraphApiUrl(): void
resetRegion
public resetRegion(): void
resetSyntheticsApiUrl
public resetSyntheticsApiUrl(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformProvider No description.
generateConfigForImport Generates CDKTF code for importing a NewrelicProvider resource upon running "cdktf plan ".

isConstruct
import { provider } from '@cdktf/provider-newrelic'

provider.NewrelicProvider.isConstruct(x: any)

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.

xRequired
  • Type: any

Any object.


isTerraformElement
import { provider } from '@cdktf/provider-newrelic'

provider.NewrelicProvider.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformProvider
import { provider } from '@cdktf/provider-newrelic'

provider.NewrelicProvider.isTerraformProvider(x: any)
xRequired
  • Type: any

generateConfigForImport
import { provider } from '@cdktf/provider-newrelic'

provider.NewrelicProvider.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)

Generates CDKTF code for importing a NewrelicProvider resource upon running "cdktf plan ".

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: string

The construct id used in the generated config for the NewrelicProvider to import.


importFromIdRequired
  • Type: string

The id of the existing NewrelicProvider that should be imported.

Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: cdktf.TerraformProvider

? Optional instance of the provider where the NewrelicProvider to import is found.


Properties

Name Type Description
node constructs.Node The tree node.
cdktfStack cdktf.TerraformStack No description.
fqn string No description.
friendlyUniqueId string No description.
metaAttributes {[ key: string ]: any} No description.
terraformResourceType string No description.
terraformGeneratorMetadata cdktf.TerraformProviderGeneratorMetadata No description.
terraformProviderSource string No description.
alias string No description.
accountIdInput number No description.
adminApiKeyInput string No description.
aliasInput string No description.
apiKeyInput string No description.
apiUrlInput string No description.
cacertFileInput string No description.
infrastructureApiUrlInput string No description.
insecureSkipVerifyInput boolean | cdktf.IResolvable No description.
insightsInsertKeyInput string No description.
insightsInsertUrlInput string No description.
insightsQueryUrlInput string No description.
nerdgraphApiUrlInput string No description.
regionInput string No description.
syntheticsApiUrlInput string No description.
accountId number No description.
adminApiKey string No description.
apiKey string No description.
apiUrl string No description.
cacertFile string No description.
infrastructureApiUrl string No description.
insecureSkipVerify boolean | cdktf.IResolvable No description.
insightsInsertKey string No description.
insightsInsertUrl string No description.
insightsQueryUrl string No description.
nerdgraphApiUrl string No description.
region string No description.
syntheticsApiUrl string No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdktfStackRequired
public readonly cdktfStack: TerraformStack;
  • Type: cdktf.TerraformStack

fqnRequired
public readonly fqn: string;
  • Type: string

friendlyUniqueIdRequired
public readonly friendlyUniqueId: string;
  • Type: string

metaAttributesRequired
public readonly metaAttributes: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

terraformResourceTypeRequired
public readonly terraformResourceType: string;
  • Type: string

terraformGeneratorMetadataOptional
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
  • Type: cdktf.TerraformProviderGeneratorMetadata

terraformProviderSourceOptional
public readonly terraformProviderSource: string;
  • Type: string

aliasOptional
public readonly alias: string;
  • Type: string

accountIdInputOptional
public readonly accountIdInput: number;
  • Type: number

adminApiKeyInputOptional
public readonly adminApiKeyInput: string;
  • Type: string

aliasInputOptional
public readonly aliasInput: string;
  • Type: string

apiKeyInputOptional
public readonly apiKeyInput: string;
  • Type: string

apiUrlInputOptional
public readonly apiUrlInput: string;
  • Type: string

cacertFileInputOptional
public readonly cacertFileInput: string;
  • Type: string

infrastructureApiUrlInputOptional
public readonly infrastructureApiUrlInput: string;
  • Type: string

insecureSkipVerifyInputOptional
public readonly insecureSkipVerifyInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

insightsInsertKeyInputOptional
public readonly insightsInsertKeyInput: string;
  • Type: string

insightsInsertUrlInputOptional
public readonly insightsInsertUrlInput: string;
  • Type: string

insightsQueryUrlInputOptional
public readonly insightsQueryUrlInput: string;
  • Type: string

nerdgraphApiUrlInputOptional
public readonly nerdgraphApiUrlInput: string;
  • Type: string

regionInputOptional
public readonly regionInput: string;
  • Type: string

syntheticsApiUrlInputOptional
public readonly syntheticsApiUrlInput: string;
  • Type: string

accountIdOptional
public readonly accountId: number;
  • Type: number

adminApiKeyOptional
public readonly adminApiKey: string;
  • Type: string

apiKeyOptional
public readonly apiKey: string;
  • Type: string

apiUrlOptional
public readonly apiUrl: string;
  • Type: string

cacertFileOptional
public readonly cacertFile: string;
  • Type: string

infrastructureApiUrlOptional
public readonly infrastructureApiUrl: string;
  • Type: string

insecureSkipVerifyOptional
public readonly insecureSkipVerify: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

insightsInsertKeyOptional
public readonly insightsInsertKey: string;
  • Type: string

insightsInsertUrlOptional
public readonly insightsInsertUrl: string;
  • Type: string

insightsQueryUrlOptional
public readonly insightsQueryUrl: string;
  • Type: string

nerdgraphApiUrlOptional
public readonly nerdgraphApiUrl: string;
  • Type: string

regionOptional
public readonly region: string;
  • Type: string

syntheticsApiUrlOptional
public readonly syntheticsApiUrl: string;
  • Type: string

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

NewrelicProviderConfig

Initializer

import { provider } from '@cdktf/provider-newrelic'

const newrelicProviderConfig: provider.NewrelicProviderConfig = { ... }

Properties

Name Type Description
accountId number Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#account_id NewrelicProvider#account_id}.
apiKey string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#api_key NewrelicProvider#api_key}.
adminApiKey string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#admin_api_key NewrelicProvider#admin_api_key}.
alias string Alias name.
apiUrl string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#api_url NewrelicProvider#api_url}.
cacertFile string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#cacert_file NewrelicProvider#cacert_file}.
infrastructureApiUrl string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#infrastructure_api_url NewrelicProvider#infrastructure_api_url}.
insecureSkipVerify boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insecure_skip_verify NewrelicProvider#insecure_skip_verify}.
insightsInsertKey string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insights_insert_key NewrelicProvider#insights_insert_key}.
insightsInsertUrl string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insights_insert_url NewrelicProvider#insights_insert_url}.
insightsQueryUrl string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insights_query_url NewrelicProvider#insights_query_url}.
nerdgraphApiUrl string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#nerdgraph_api_url NewrelicProvider#nerdgraph_api_url}.
region string The data center for which your New Relic account is configured. Only one region per provider block is permitted.
syntheticsApiUrl string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#synthetics_api_url NewrelicProvider#synthetics_api_url}.

accountIdRequired
public readonly accountId: number;
  • Type: number

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#account_id NewrelicProvider#account_id}.


apiKeyRequired
public readonly apiKey: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#api_key NewrelicProvider#api_key}.


adminApiKeyOptional
public readonly adminApiKey: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#admin_api_key NewrelicProvider#admin_api_key}.


aliasOptional
public readonly alias: string;
  • Type: string

Alias name.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#alias NewrelicProvider#alias}


apiUrlOptional
public readonly apiUrl: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#api_url NewrelicProvider#api_url}.


cacertFileOptional
public readonly cacertFile: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#cacert_file NewrelicProvider#cacert_file}.


infrastructureApiUrlOptional
public readonly infrastructureApiUrl: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#infrastructure_api_url NewrelicProvider#infrastructure_api_url}.


insecureSkipVerifyOptional
public readonly insecureSkipVerify: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insecure_skip_verify NewrelicProvider#insecure_skip_verify}.


insightsInsertKeyOptional
public readonly insightsInsertKey: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insights_insert_key NewrelicProvider#insights_insert_key}.


insightsInsertUrlOptional
public readonly insightsInsertUrl: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insights_insert_url NewrelicProvider#insights_insert_url}.


insightsQueryUrlOptional
public readonly insightsQueryUrl: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#insights_query_url NewrelicProvider#insights_query_url}.


nerdgraphApiUrlOptional
public readonly nerdgraphApiUrl: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#nerdgraph_api_url NewrelicProvider#nerdgraph_api_url}.


regionOptional
public readonly region: string;
  • Type: string

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.56.0/docs#region NewrelicProvider#region}


syntheticsApiUrlOptional
public readonly syntheticsApiUrl: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.56.0/docs#synthetics_api_url NewrelicProvider#synthetics_api_url}.