@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
447 lines • 63.1 kB
JavaScript
"use strict";
var _a, _b, _c, _d, _e, _f, _g;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataGoogleSecretManagerRegionalSecret = exports.DataGoogleSecretManagerRegionalSecretTopicsList = exports.DataGoogleSecretManagerRegionalSecretTopicsOutputReference = exports.DataGoogleSecretManagerRegionalSecretRotationList = exports.DataGoogleSecretManagerRegionalSecretRotationOutputReference = exports.DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionList = exports.DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionOutputReference = void 0;
exports.dataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionToTerraform = dataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionToTerraform;
exports.dataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionToHclTerraform = dataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionToHclTerraform;
exports.dataGoogleSecretManagerRegionalSecretRotationToTerraform = dataGoogleSecretManagerRegionalSecretRotationToTerraform;
exports.dataGoogleSecretManagerRegionalSecretRotationToHclTerraform = dataGoogleSecretManagerRegionalSecretRotationToHclTerraform;
exports.dataGoogleSecretManagerRegionalSecretTopicsToTerraform = dataGoogleSecretManagerRegionalSecretTopicsToTerraform;
exports.dataGoogleSecretManagerRegionalSecretTopicsToHclTerraform = dataGoogleSecretManagerRegionalSecretTopicsToHclTerraform;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionToTerraform(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 {};
}
function dataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionToHclTerraform(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 = {};
return attrs;
}
class DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// kms_key_name - computed: true, optional: false, required: false
get kmsKeyName() {
return this.getStringAttribute('kms_key_name');
}
}
exports.DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionOutputReference = DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionOutputReference[_a] = { fqn: "@cdktf/provider-google.dataGoogleSecretManagerRegionalSecret.DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionOutputReference", version: "14.35.0" };
class DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionList 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 DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionList = DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionList;
_b = JSII_RTTI_SYMBOL_1;
DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionList[_b] = { fqn: "@cdktf/provider-google.dataGoogleSecretManagerRegionalSecret.DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionList", version: "14.35.0" };
function dataGoogleSecretManagerRegionalSecretRotationToTerraform(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 {};
}
function dataGoogleSecretManagerRegionalSecretRotationToHclTerraform(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 = {};
return attrs;
}
class DataGoogleSecretManagerRegionalSecretRotationOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// next_rotation_time - computed: true, optional: false, required: false
get nextRotationTime() {
return this.getStringAttribute('next_rotation_time');
}
// rotation_period - computed: true, optional: false, required: false
get rotationPeriod() {
return this.getStringAttribute('rotation_period');
}
}
exports.DataGoogleSecretManagerRegionalSecretRotationOutputReference = DataGoogleSecretManagerRegionalSecretRotationOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataGoogleSecretManagerRegionalSecretRotationOutputReference[_c] = { fqn: "@cdktf/provider-google.dataGoogleSecretManagerRegionalSecret.DataGoogleSecretManagerRegionalSecretRotationOutputReference", version: "14.35.0" };
class DataGoogleSecretManagerRegionalSecretRotationList 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 DataGoogleSecretManagerRegionalSecretRotationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSecretManagerRegionalSecretRotationList = DataGoogleSecretManagerRegionalSecretRotationList;
_d = JSII_RTTI_SYMBOL_1;
DataGoogleSecretManagerRegionalSecretRotationList[_d] = { fqn: "@cdktf/provider-google.dataGoogleSecretManagerRegionalSecret.DataGoogleSecretManagerRegionalSecretRotationList", version: "14.35.0" };
function dataGoogleSecretManagerRegionalSecretTopicsToTerraform(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 {};
}
function dataGoogleSecretManagerRegionalSecretTopicsToHclTerraform(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 = {};
return attrs;
}
class DataGoogleSecretManagerRegionalSecretTopicsOutputReference 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() {
let hasAnyValues = this.isEmptyObject;
const internalValueResult = {};
return hasAnyValues ? internalValueResult : undefined;
}
set internalValue(value) {
if (value === undefined) {
this.isEmptyObject = false;
}
else {
this.isEmptyObject = Object.keys(value).length === 0;
}
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
}
exports.DataGoogleSecretManagerRegionalSecretTopicsOutputReference = DataGoogleSecretManagerRegionalSecretTopicsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataGoogleSecretManagerRegionalSecretTopicsOutputReference[_e] = { fqn: "@cdktf/provider-google.dataGoogleSecretManagerRegionalSecret.DataGoogleSecretManagerRegionalSecretTopicsOutputReference", version: "14.35.0" };
class DataGoogleSecretManagerRegionalSecretTopicsList 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 DataGoogleSecretManagerRegionalSecretTopicsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataGoogleSecretManagerRegionalSecretTopicsList = DataGoogleSecretManagerRegionalSecretTopicsList;
_f = JSII_RTTI_SYMBOL_1;
DataGoogleSecretManagerRegionalSecretTopicsList[_f] = { fqn: "@cdktf/provider-google.dataGoogleSecretManagerRegionalSecret.DataGoogleSecretManagerRegionalSecretTopicsList", version: "14.35.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/data-sources/secret_manager_regional_secret google_secret_manager_regional_secret}
*/
class DataGoogleSecretManagerRegionalSecret extends cdktf.TerraformDataSource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a DataGoogleSecretManagerRegionalSecret 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 DataGoogleSecretManagerRegionalSecret to import
* @param importFromId The id of the existing DataGoogleSecretManagerRegionalSecret that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/data-sources/secret_manager_regional_secret#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataGoogleSecretManagerRegionalSecret to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "google_secret_manager_regional_secret", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.36.0/docs/data-sources/secret_manager_regional_secret google_secret_manager_regional_secret} Data Source
*
* @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 DataGoogleSecretManagerRegionalSecretConfig
*/
constructor(scope, id, config) {
super(scope, id, {
terraformResourceType: 'google_secret_manager_regional_secret',
terraformGeneratorMetadata: {
providerName: 'google',
providerVersion: '6.36.0',
providerVersionConstraint: '~> 6.0'
},
provider: config.provider,
dependsOn: config.dependsOn,
count: config.count,
lifecycle: config.lifecycle,
provisioners: config.provisioners,
connection: config.connection,
forEach: config.forEach
});
// ==========
// ATTRIBUTES
// ==========
// annotations - computed: true, optional: false, required: false
this._annotations = new cdktf.StringMap(this, "annotations");
// customer_managed_encryption - computed: true, optional: false, required: false
this._customerManagedEncryption = new DataGoogleSecretManagerRegionalSecretCustomerManagedEncryptionList(this, "customer_managed_encryption", false);
// effective_annotations - computed: true, optional: false, required: false
this._effectiveAnnotations = new cdktf.StringMap(this, "effective_annotations");
// effective_labels - computed: true, optional: false, required: false
this._effectiveLabels = new cdktf.StringMap(this, "effective_labels");
// labels - computed: true, optional: false, required: false
this._labels = new cdktf.StringMap(this, "labels");
// rotation - computed: true, optional: false, required: false
this._rotation = new DataGoogleSecretManagerRegionalSecretRotationList(this, "rotation", false);
// terraform_labels - computed: true, optional: false, required: false
this._terraformLabels = new cdktf.StringMap(this, "terraform_labels");
// topics - computed: true, optional: false, required: false
this._topics = new DataGoogleSecretManagerRegionalSecretTopicsList(this, "topics", false);
// version_aliases - computed: true, optional: false, required: false
this._versionAliases = new cdktf.StringMap(this, "version_aliases");
this._id = config.id;
this._location = config.location;
this._project = config.project;
this._secretId = config.secretId;
}
get annotations() {
return this._annotations;
}
// create_time - computed: true, optional: false, required: false
get createTime() {
return this.getStringAttribute('create_time');
}
get customerManagedEncryption() {
return this._customerManagedEncryption;
}
get effectiveAnnotations() {
return this._effectiveAnnotations;
}
get effectiveLabels() {
return this._effectiveLabels;
}
// expire_time - computed: true, optional: false, required: false
get expireTime() {
return this.getStringAttribute('expire_time');
}
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;
}
get labels() {
return this._labels;
}
get location() {
return this.getStringAttribute('location');
}
set location(value) {
this._location = value;
}
// Temporarily expose input value. Use with caution.
get locationInput() {
return this._location;
}
// name - computed: true, optional: false, required: false
get name() {
return this.getStringAttribute('name');
}
get project() {
return this.getStringAttribute('project');
}
set project(value) {
this._project = value;
}
resetProject() {
this._project = undefined;
}
// Temporarily expose input value. Use with caution.
get projectInput() {
return this._project;
}
get rotation() {
return this._rotation;
}
get secretId() {
return this.getStringAttribute('secret_id');
}
set secretId(value) {
this._secretId = value;
}
// Temporarily expose input value. Use with caution.
get secretIdInput() {
return this._secretId;
}
get terraformLabels() {
return this._terraformLabels;
}
get topics() {
return this._topics;
}
// ttl - computed: true, optional: false, required: false
get ttl() {
return this.getStringAttribute('ttl');
}
get versionAliases() {
return this._versionAliases;
}
// version_destroy_ttl - computed: true, optional: false, required: false
get versionDestroyTtl() {
return this.getStringAttribute('version_destroy_ttl');
}
// =========
// SYNTHESIS
// =========
synthesizeAttributes() {
return {
id: cdktf.stringToTerraform(this._id),
location: cdktf.stringToTerraform(this._location),
project: cdktf.stringToTerraform(this._project),
secret_id: cdktf.stringToTerraform(this._secretId),
};
}
synthesizeHclAttributes() {
const attrs = {
id: {
value: cdktf.stringToHclTerraform(this._id),
isBlock: false,
type: "simple",
storageClassType: "string",
},
location: {
value: cdktf.stringToHclTerraform(this._location),
isBlock: false,
type: "simple",
storageClassType: "string",
},
project: {
value: cdktf.stringToHclTerraform(this._project),
isBlock: false,
type: "simple",
storageClassType: "string",
},
secret_id: {
value: cdktf.stringToHclTerraform(this._secretId),
isBlock: false,
type: "simple",
storageClassType: "string",
},
};
// remove undefined attributes
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
}
}
exports.DataGoogleSecretManagerRegionalSecret = DataGoogleSecretManagerRegionalSecret;
_g = JSII_RTTI_SYMBOL_1;
DataGoogleSecretManagerRegionalSecret[_g] = { fqn: "@cdktf/provider-google.dataGoogleSecretManagerRegionalSecret.DataGoogleSecretManagerRegionalSecret", version: "14.35.0" };
// =================
// STATIC PROPERTIES
// =================
DataGoogleSecretManagerRegionalSecret.tfResourceType = "google_secret_manager_regional_secret";
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZGF0YS1nb29nbGUtc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