org.mongodb.awscdk.resources.mongodbatlas.MongoAtlasBootstrapProps Maven / Gradle / Ivy
Show all versions of awscdk-resources-mongodbatlas Show documentation
package org.mongodb.awscdk.resources.mongodbatlas;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.101.0 (build b95fe5d)", date = "2024-07-30T09:54:29.031Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.mongodb.awscdk.resources.mongodbatlas.$Module.class, fqn = "awscdk-resources-mongodbatlas.MongoAtlasBootstrapProps")
public class MongoAtlasBootstrapProps extends software.amazon.jsii.JsiiObject {
protected MongoAtlasBootstrapProps(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected MongoAtlasBootstrapProps(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public MongoAtlasBootstrapProps() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* The IAM role name for CloudFormation Extension Execution.
*
* Default: auto generat the name.
*
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getRoleName() {
return software.amazon.jsii.Kernel.get(this, "roleName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* The secret profile name for MongoDB Atlas.
*
* Default: generate a dummy secret.
*
* @see https://github.com/mongodb/mongodbatlas-cloudformation-resources/tree/master#2-configure-your-profile
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.NotNull java.lang.String getSecretProfile() {
return software.amazon.jsii.Kernel.get(this, "secretProfile", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* List of strings representing mongoDB atlas types to activate.
*
* the exported AtlasBasicResources can be used for AtlasBasic resources
* if not provided non resources will be activated
*
* Example:
*
*
* typesToActivate=["Cluster","Project"] this will actiate MongoDB::Atlas::Project && MongoDB::Atlas::Cluster
*
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public @org.jetbrains.annotations.Nullable java.util.List getTypesToActivate() {
return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "typesToActivate", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
}
}