@cdktf/provider-newrelic
Version:
Prebuilt newrelic Provider for Terraform CDK (cdktf)
1,030 lines • 140 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationDestination = exports.NotificationDestinationTimeoutsOutputReference = exports.NotificationDestinationSecureUrlOutputReference = exports.NotificationDestinationPropertyList = exports.NotificationDestinationPropertyOutputReference = exports.NotificationDestinationAuthTokenOutputReference = exports.NotificationDestinationAuthCustomHeaderList = exports.NotificationDestinationAuthCustomHeaderOutputReference = exports.NotificationDestinationAuthBasicOutputReference = void 0;
exports.notificationDestinationAuthBasicToTerraform = notificationDestinationAuthBasicToTerraform;
exports.notificationDestinationAuthBasicToHclTerraform = notificationDestinationAuthBasicToHclTerraform;
exports.notificationDestinationAuthCustomHeaderToTerraform = notificationDestinationAuthCustomHeaderToTerraform;
exports.notificationDestinationAuthCustomHeaderToHclTerraform = notificationDestinationAuthCustomHeaderToHclTerraform;
exports.notificationDestinationAuthTokenToTerraform = notificationDestinationAuthTokenToTerraform;
exports.notificationDestinationAuthTokenToHclTerraform = notificationDestinationAuthTokenToHclTerraform;
exports.notificationDestinationPropertyToTerraform = notificationDestinationPropertyToTerraform;
exports.notificationDestinationPropertyToHclTerraform = notificationDestinationPropertyToHclTerraform;
exports.notificationDestinationSecureUrlToTerraform = notificationDestinationSecureUrlToTerraform;
exports.notificationDestinationSecureUrlToHclTerraform = notificationDestinationSecureUrlToHclTerraform;
exports.notificationDestinationTimeoutsToTerraform = notificationDestinationTimeoutsToTerraform;
exports.notificationDestinationTimeoutsToHclTerraform = notificationDestinationTimeoutsToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function notificationDestinationAuthBasicToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
password: cdktf.stringToTerraform(struct.password),
user: cdktf.stringToTerraform(struct.user),
};
}
function notificationDestinationAuthBasicToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
password: {
value: cdktf.stringToHclTerraform(struct.password),
isBlock: false,
type: "simple",
storageClassType: "string",
},
user: {
value: cdktf.stringToHclTerraform(struct.user),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class NotificationDestinationAuthBasicOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._password !== undefined) {
hasAnyValues = true;
internalValueResult.password = this._password;
}
if (this._user !== undefined) {
hasAnyValues = true;
internalValueResult.user = this._user;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._password = undefined;
this._user = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._password = value.password;
this._user = value.user;
}
}
get password() {
return this.getStringAttribute('password');
}
set password(value) {
this._password = value;
}
// Temporarily expose input value. Use with caution.
get passwordInput() {
return this._password;
}
get user() {
return this.getStringAttribute('user');
}
set user(value) {
this._user = value;
}
// Temporarily expose input value. Use with caution.
get userInput() {
return this._user;
}
}
exports.NotificationDestinationAuthBasicOutputReference = NotificationDestinationAuthBasicOutputReference;
_a = JSII_RTTI_SYMBOL_1;
NotificationDestinationAuthBasicOutputReference[_a] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationAuthBasicOutputReference", version: "12.28.0" };
function notificationDestinationAuthCustomHeaderToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
key: cdktf.stringToTerraform(struct.key),
value: cdktf.stringToTerraform(struct.value),
};
}
function notificationDestinationAuthCustomHeaderToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
key: {
value: cdktf.stringToHclTerraform(struct.key),
isBlock: false,
type: "simple",
storageClassType: "string",
},
value: {
value: cdktf.stringToHclTerraform(struct.value),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class NotificationDestinationAuthCustomHeaderOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._key !== undefined) {
hasAnyValues = true;
internalValueResult.key = this._key;
}
if (this._value !== undefined) {
hasAnyValues = true;
internalValueResult.value = this._value;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._key = undefined;
this._value = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._key = value.key;
this._value = value.value;
}
}
get key() {
return this.getStringAttribute('key');
}
set key(value) {
this._key = value;
}
// Temporarily expose input value. Use with caution.
get keyInput() {
return this._key;
}
get value() {
return this.getStringAttribute('value');
}
set value(value) {
this._value = value;
}
// Temporarily expose input value. Use with caution.
get valueInput() {
return this._value;
}
}
exports.NotificationDestinationAuthCustomHeaderOutputReference = NotificationDestinationAuthCustomHeaderOutputReference;
_b = JSII_RTTI_SYMBOL_1;
NotificationDestinationAuthCustomHeaderOutputReference[_b] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationAuthCustomHeaderOutputReference", version: "12.28.0" };
class NotificationDestinationAuthCustomHeaderList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new NotificationDestinationAuthCustomHeaderOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.NotificationDestinationAuthCustomHeaderList = NotificationDestinationAuthCustomHeaderList;
_c = JSII_RTTI_SYMBOL_1;
NotificationDestinationAuthCustomHeaderList[_c] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationAuthCustomHeaderList", version: "12.28.0" };
function notificationDestinationAuthTokenToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
prefix: cdktf.stringToTerraform(struct.prefix),
token: cdktf.stringToTerraform(struct.token),
};
}
function notificationDestinationAuthTokenToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
prefix: {
value: cdktf.stringToHclTerraform(struct.prefix),
isBlock: false,
type: "simple",
storageClassType: "string",
},
token: {
value: cdktf.stringToHclTerraform(struct.token),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class NotificationDestinationAuthTokenOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._prefix !== undefined) {
hasAnyValues = true;
internalValueResult.prefix = this._prefix;
}
if (this._token !== undefined) {
hasAnyValues = true;
internalValueResult.token = this._token;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._prefix = undefined;
this._token = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._prefix = value.prefix;
this._token = value.token;
}
}
get prefix() {
return this.getStringAttribute('prefix');
}
set prefix(value) {
this._prefix = value;
}
resetPrefix() {
this._prefix = undefined;
}
// Temporarily expose input value. Use with caution.
get prefixInput() {
return this._prefix;
}
get token() {
return this.getStringAttribute('token');
}
set token(value) {
this._token = value;
}
// Temporarily expose input value. Use with caution.
get tokenInput() {
return this._token;
}
}
exports.NotificationDestinationAuthTokenOutputReference = NotificationDestinationAuthTokenOutputReference;
_d = JSII_RTTI_SYMBOL_1;
NotificationDestinationAuthTokenOutputReference[_d] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationAuthTokenOutputReference", version: "12.28.0" };
function notificationDestinationPropertyToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
display_value: cdktf.stringToTerraform(struct.displayValue),
key: cdktf.stringToTerraform(struct.key),
label: cdktf.stringToTerraform(struct.label),
value: cdktf.stringToTerraform(struct.value),
};
}
function notificationDestinationPropertyToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
display_value: {
value: cdktf.stringToHclTerraform(struct.displayValue),
isBlock: false,
type: "simple",
storageClassType: "string",
},
key: {
value: cdktf.stringToHclTerraform(struct.key),
isBlock: false,
type: "simple",
storageClassType: "string",
},
label: {
value: cdktf.stringToHclTerraform(struct.label),
isBlock: false,
type: "simple",
storageClassType: "string",
},
value: {
value: cdktf.stringToHclTerraform(struct.value),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class NotificationDestinationPropertyOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param complexObjectIndex the index of this item in the list
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._displayValue !== undefined) {
hasAnyValues = true;
internalValueResult.displayValue = this._displayValue;
}
if (this._key !== undefined) {
hasAnyValues = true;
internalValueResult.key = this._key;
}
if (this._label !== undefined) {
hasAnyValues = true;
internalValueResult.label = this._label;
}
if (this._value !== undefined) {
hasAnyValues = true;
internalValueResult.value = this._value;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._displayValue = undefined;
this._key = undefined;
this._label = undefined;
this._value = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._displayValue = value.displayValue;
this._key = value.key;
this._label = value.label;
this._value = value.value;
}
}
get displayValue() {
return this.getStringAttribute('display_value');
}
set displayValue(value) {
this._displayValue = value;
}
resetDisplayValue() {
this._displayValue = undefined;
}
// Temporarily expose input value. Use with caution.
get displayValueInput() {
return this._displayValue;
}
get key() {
return this.getStringAttribute('key');
}
set key(value) {
this._key = value;
}
// Temporarily expose input value. Use with caution.
get keyInput() {
return this._key;
}
get label() {
return this.getStringAttribute('label');
}
set label(value) {
this._label = value;
}
resetLabel() {
this._label = undefined;
}
// Temporarily expose input value. Use with caution.
get labelInput() {
return this._label;
}
get value() {
return this.getStringAttribute('value');
}
set value(value) {
this._value = value;
}
// Temporarily expose input value. Use with caution.
get valueInput() {
return this._value;
}
}
exports.NotificationDestinationPropertyOutputReference = NotificationDestinationPropertyOutputReference;
_e = JSII_RTTI_SYMBOL_1;
NotificationDestinationPropertyOutputReference[_e] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationPropertyOutputReference", version: "12.28.0" };
class NotificationDestinationPropertyList extends cdktf.ComplexList {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
*/
constructor(terraformResource, terraformAttribute, wrapsSet) {
super(terraformResource, terraformAttribute, wrapsSet);
this.terraformResource = terraformResource;
this.terraformAttribute = terraformAttribute;
this.wrapsSet = wrapsSet;
}
/**
* @param index the index of the item to return
*/
get(index) {
return new NotificationDestinationPropertyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.NotificationDestinationPropertyList = NotificationDestinationPropertyList;
_f = JSII_RTTI_SYMBOL_1;
NotificationDestinationPropertyList[_f] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationPropertyList", version: "12.28.0" };
function notificationDestinationSecureUrlToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
prefix: cdktf.stringToTerraform(struct.prefix),
secure_suffix: cdktf.stringToTerraform(struct.secureSuffix),
};
}
function notificationDestinationSecureUrlToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
prefix: {
value: cdktf.stringToHclTerraform(struct.prefix),
isBlock: false,
type: "simple",
storageClassType: "string",
},
secure_suffix: {
value: cdktf.stringToHclTerraform(struct.secureSuffix),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class NotificationDestinationSecureUrlOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false, 0);
this.isEmptyObject = false;
}
get internalValue() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._prefix !== undefined) {
hasAnyValues = true;
internalValueResult.prefix = this._prefix;
}
if (this._secureSuffix !== undefined) {
hasAnyValues = true;
internalValueResult.secureSuffix = this._secureSuffix;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this._prefix = undefined;
this._secureSuffix = undefined;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this._prefix = value.prefix;
this._secureSuffix = value.secureSuffix;
}
}
get prefix() {
return this.getStringAttribute('prefix');
}
set prefix(value) {
this._prefix = value;
}
// Temporarily expose input value. Use with caution.
get prefixInput() {
return this._prefix;
}
get secureSuffix() {
return this.getStringAttribute('secure_suffix');
}
set secureSuffix(value) {
this._secureSuffix = value;
}
// Temporarily expose input value. Use with caution.
get secureSuffixInput() {
return this._secureSuffix;
}
}
exports.NotificationDestinationSecureUrlOutputReference = NotificationDestinationSecureUrlOutputReference;
_g = JSII_RTTI_SYMBOL_1;
NotificationDestinationSecureUrlOutputReference[_g] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationSecureUrlOutputReference", version: "12.28.0" };
function notificationDestinationTimeoutsToTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
return {
create: cdktf.stringToTerraform(struct.create),
update: cdktf.stringToTerraform(struct.update),
};
}
function notificationDestinationTimeoutsToHclTerraform(struct) {
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
return struct;
}
if (cdktf.isComplexElement(struct)) {
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
}
const attrs = {
create: {
value: cdktf.stringToHclTerraform(struct.create),
isBlock: false,
type: "simple",
storageClassType: "string",
},
update: {
value: cdktf.stringToHclTerraform(struct.update),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
class NotificationDestinationTimeoutsOutputReference extends cdktf.ComplexObject {
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource, terraformAttribute) {
super(terraformResource, terraformAttribute, false);
this.isEmptyObject = false;
}
get internalValue() {
if (this.resolvableValue) {
return this.resolvableValue;
}
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
if (this._create !== undefined) {
hasAnyValues = true;
internalValueResult.create = this._create;
}
if (this._update !== undefined) {
hasAnyValues = true;
internalValueResult.update = this._update;
}
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
this.resolvableValue = undefined;
this._create = undefined;
this._update = undefined;
}
else if (cdktf.Tokenization.isResolvable(value)) {
this.isEmptyObject = false;
this.resolvableValue = value;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
this.resolvableValue = undefined;
this._create = value.create;
this._update = value.update;
}
}
get create() {
return this.getStringAttribute('create');
}
set create(value) {
this._create = value;
}
resetCreate() {
this._create = undefined;
}
// Temporarily expose input value. Use with caution.
get createInput() {
return this._create;
}
get update() {
return this.getStringAttribute('update');
}
set update(value) {
this._update = value;
}
resetUpdate() {
this._update = undefined;
}
// Temporarily expose input value. Use with caution.
get updateInput() {
return this._update;
}
}
exports.NotificationDestinationTimeoutsOutputReference = NotificationDestinationTimeoutsOutputReference;
_h = JSII_RTTI_SYMBOL_1;
NotificationDestinationTimeoutsOutputReference[_h] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestinationTimeoutsOutputReference", version: "12.28.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.59.0/docs/resources/notification_destination newrelic_notification_destination}
*/
class NotificationDestination extends cdktf.TerraformResource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a NotificationDestination resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the NotificationDestination to import
* @param importFromId The id of the existing NotificationDestination that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.59.0/docs/resources/notification_destination#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the NotificationDestination to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_notification_destination", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.59.0/docs/resources/notification_destination newrelic_notification_destination} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options NotificationDestinationConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'newrelic_notification_destination',
terraformGeneratorMetadata: {
providerName: 'newrelic',
providerVersion: '3.59.0',
providerVersionConstraint: '~> 3.7'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// auth_basic - computed: false, optional: true, required: false
this._authBasic = new NotificationDestinationAuthBasicOutputReference(this, "auth_basic");
// auth_custom_header - computed: false, optional: true, required: false
this._authCustomHeader = new NotificationDestinationAuthCustomHeaderList(this, "auth_custom_header", false);
// auth_token - computed: false, optional: true, required: false
this._authToken = new NotificationDestinationAuthTokenOutputReference(this, "auth_token");
// property - computed: false, optional: false, required: true
this._property = new NotificationDestinationPropertyList(this, "property", true);
// secure_url - computed: false, optional: true, required: false
this._secureUrl = new NotificationDestinationSecureUrlOutputReference(this, "secure_url");
// timeouts - computed: false, optional: true, required: false
this._timeouts = new NotificationDestinationTimeoutsOutputReference(this, "timeouts");
this._accountId = config.accountId;
this._active = config.active;
this._id = config.id;
this._name = config.name;
this._type = config.type;
this._authBasic.internalValue = config.authBasic;
this._authCustomHeader.internalValue = config.authCustomHeader;
this._authToken.internalValue = config.authToken;
this._property.internalValue = config.property;
this._secureUrl.internalValue = config.secureUrl;
this._timeouts.internalValue = config.timeouts;
}
get accountId() {
return this.getNumberAttribute('account_id');
}
set accountId(value) {
this._accountId = value;
}
resetAccountId() {
this._accountId = undefined;
}
// Temporarily expose input value. Use with caution.
get accountIdInput() {
return this._accountId;
}
get active() {
return this.getBooleanAttribute('active');
}
set active(value) {
this._active = value;
}
resetActive() {
this._active = undefined;
}
// Temporarily expose input value. Use with caution.
get activeInput() {
return this._active;
}
// guid - computed: true, optional: false, required: false
get guid() {
return this.getStringAttribute('guid');
}
get id() {
return this.getStringAttribute('id');
}
set id(value) {
this._id = value;
}
resetId() {
this._id = undefined;
}
// Temporarily expose input value. Use with caution.
get idInput() {
return this._id;
}
// last_sent - computed: true, optional: false, required: false
get lastSent() {
return this.getStringAttribute('last_sent');
}
get name() {
return this.getStringAttribute('name');
}
set name(value) {
this._name = value;
}
// Temporarily expose input value. Use with caution.
get nameInput() {
return this._name;
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
get type() {
return this.getStringAttribute('type');
}
set type(value) {
this._type = value;
}
// Temporarily expose input value. Use with caution.
get typeInput() {
return this._type;
}
get authBasic() {
return this._authBasic;
}
putAuthBasic(value) {
this._authBasic.internalValue = value;
}
resetAuthBasic() {
this._authBasic.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get authBasicInput() {
return this._authBasic.internalValue;
}
get authCustomHeader() {
return this._authCustomHeader;
}
putAuthCustomHeader(value) {
this._authCustomHeader.internalValue = value;
}
resetAuthCustomHeader() {
this._authCustomHeader.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get authCustomHeaderInput() {
return this._authCustomHeader.internalValue;
}
get authToken() {
return this._authToken;
}
putAuthToken(value) {
this._authToken.internalValue = value;
}
resetAuthToken() {
this._authToken.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get authTokenInput() {
return this._authToken.internalValue;
}
get property() {
return this._property;
}
putProperty(value) {
this._property.internalValue = value;
}
// Temporarily expose input value. Use with caution.
get propertyInput() {
return this._property.internalValue;
}
get secureUrl() {
return this._secureUrl;
}
putSecureUrl(value) {
this._secureUrl.internalValue = value;
}
resetSecureUrl() {
this._secureUrl.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get secureUrlInput() {
return this._secureUrl.internalValue;
}
get timeouts() {
return this._timeouts;
}
putTimeouts(value) {
this._timeouts.internalValue = value;
}
resetTimeouts() {
this._timeouts.internalValue = undefined;
}
// Temporarily expose input value. Use with caution.
get timeoutsInput() {
return this._timeouts.internalValue;
}
// =========
// SYNTHESIS
// =========
synthesizeAttributes() {
return {
account_id: cdktf.numberToTerraform(this._accountId),
active: cdktf.booleanToTerraform(this._active),
id: cdktf.stringToTerraform(this._id),
name: cdktf.stringToTerraform(this._name),
type: cdktf.stringToTerraform(this._type),
auth_basic: notificationDestinationAuthBasicToTerraform(this._authBasic.internalValue),
auth_custom_header: cdktf.listMapper(notificationDestinationAuthCustomHeaderToTerraform, true)(this._authCustomHeader.internalValue),
auth_token: notificationDestinationAuthTokenToTerraform(this._authToken.internalValue),
property: cdktf.listMapper(notificationDestinationPropertyToTerraform, true)(this._property.internalValue),
secure_url: notificationDestinationSecureUrlToTerraform(this._secureUrl.internalValue),
timeouts: notificationDestinationTimeoutsToTerraform(this._timeouts.internalValue),
};
}
synthesizeHclAttributes() {
const attrs = {
account_id: {
value: cdktf.numberToHclTerraform(this._accountId),
isBlock: false,
type: "simple",
storageClassType: "number",
},
active: {
value: cdktf.booleanToHclTerraform(this._active),
isBlock: false,
type: "simple",
storageClassType: "boolean",
},
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
name: {
value: cdktf.stringToHclTerraform(this._name),
isBlock: false,
type: "simple",
storageClassType: "string",
},
type: {
value: cdktf.stringToHclTerraform(this._type),
isBlock: false,
type: "simple",
storageClassType: "string",
},
auth_basic: {
value: notificationDestinationAuthBasicToHclTerraform(this._authBasic.internalValue),
isBlock: true,
type: "list",
storageClassType: "NotificationDestinationAuthBasicList",
},
auth_custom_header: {
value: cdktf.listMapperHcl(notificationDestinationAuthCustomHeaderToHclTerraform, true)(this._authCustomHeader.internalValue),
isBlock: true,
type: "list",
storageClassType: "NotificationDestinationAuthCustomHeaderList",
},
auth_token: {
value: notificationDestinationAuthTokenToHclTerraform(this._authToken.internalValue),
isBlock: true,
type: "list",
storageClassType: "NotificationDestinationAuthTokenList",
},
property: {
value: cdktf.listMapperHcl(notificationDestinationPropertyToHclTerraform, true)(this._property.internalValue),
isBlock: true,
type: "set",
storageClassType: "NotificationDestinationPropertyList",
},
secure_url: {
value: notificationDestinationSecureUrlToHclTerraform(this._secureUrl.internalValue),
isBlock: true,
type: "list",
storageClassType: "NotificationDestinationSecureUrlList",
},
timeouts: {
value: notificationDestinationTimeoutsToHclTerraform(this._timeouts.internalValue),
isBlock: true,
type: "struct",
storageClassType: "NotificationDestinationTimeouts",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.NotificationDestination = NotificationDestination;
_j = JSII_RTTI_SYMBOL_1;
NotificationDestination[_j] = { fqn: "@cdktf/provider-newrelic.notificationDestination.NotificationDestination", version: "12.28.0" };
// =================
// STATIC PROPERTIES
// =================
NotificationDestination.tfResourceType = "newrelic_notification_destination";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbm90aWZpY2F0aW9uLWRlc3RpbmF0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUE2RkEsa0dBU0M7QUFHRCx3R0FzQkM7QUE2RUQsZ0hBU0M7QUFHRCxzSEFzQkM7QUE2R0Qsa0dBU0M7QUFHRCx3R0FzQkM7QUFnR0QsZ0dB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