Class DatabaseClusterProps.Jsii$Proxy
- All Implemented Interfaces:
DatabaseClusterProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
DatabaseClusterProps
DatabaseClusterProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.neptune.alpha.DatabaseClusterProps
DatabaseClusterProps.Builder, DatabaseClusterProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(DatabaseClusterProps.Builder builder) Constructor that initializes the object based on literal property values passed by theDatabaseClusterProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal boolean(experimental) A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.final Boolean(experimental) If set to true, Neptune will automatically update the engine of the entire cluster to the latest minor version after a stabilization window of 2 to 3 weeks.final Duration(experimental) How many days to retain the backup.(experimental) The list of log types that need to be enabled for exporting to CloudWatch Logs.final RetentionDays(experimental) The number of days log events are kept in CloudWatch Logs.final IRole(experimental) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.final IClusterParameterGroup(experimental) Additional parameters to pass to the database engine.final Boolean(experimental) Whether to copy tags to the snapshot when a snapshot is created.final String(experimental) An optional identifier for the cluster.final Boolean(experimental) Indicates whether the DB cluster should have deletion protection enabled.final EngineVersion(experimental) What version of the database to start.final Boolean(experimental) Map AWS Identity and Access Management (IAM) accounts to database accounts.final String(experimental) Base identifier for instances.final Number(experimental) Number of Neptune compute instances.final InstanceType(experimental) What type of instance to start for the replicas.final IKeyRef(experimental) The KMS key for storage encryption.final IParameterGroup(experimental) The DB parameter group to associate with the instance.final NumbergetPort()(experimental) The port number on which the DB instances in the DB cluster accept connections.final String(experimental) A daily time range in 24-hours UTC format in which backups preferably execute.final String(experimental) A weekly time range in which maintenance should preferably execute.final RemovalPolicy(experimental) The removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted.final List<ISecurityGroup> (experimental) Security group.(experimental) Specify minimum and maximum NCUs capacity for a serverless cluster.final Boolean(experimental) Whether to enable storage encryption.final ISubnetGroup(experimental) Existing subnet group for the cluster.final IVpcgetVpc()(experimental) What subnets to run the Neptune instances in.final SubnetSelection(experimental) Where to place the instances within the VPC.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theDatabaseClusterProps.Builder.
-
-
Method Details
-
getInstanceType
Description copied from interface:DatabaseClusterProps(experimental) What type of instance to start for the replicas.- Specified by:
getInstanceTypein interfaceDatabaseClusterProps
-
getVpc
Description copied from interface:DatabaseClusterProps(experimental) What subnets to run the Neptune instances in.Must be at least 2 subnets in two different AZs.
- Specified by:
getVpcin interfaceDatabaseClusterProps
-
getAssociatedRoles
Description copied from interface:DatabaseClusterProps(experimental) A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.Default: - No role is attached to the cluster.
- Specified by:
getAssociatedRolesin interfaceDatabaseClusterProps
-
getAutoMinorVersionUpgrade
Description copied from interface:DatabaseClusterProps(experimental) If set to true, Neptune will automatically update the engine of the entire cluster to the latest minor version after a stabilization window of 2 to 3 weeks.Default: - false
- Specified by:
getAutoMinorVersionUpgradein interfaceDatabaseClusterProps
-
getBackupRetention
Description copied from interface:DatabaseClusterProps(experimental) How many days to retain the backup.Default: - cdk.Duration.days(1)
- Specified by:
getBackupRetentionin interfaceDatabaseClusterProps
-
getCloudwatchLogsExports
Description copied from interface:DatabaseClusterProps(experimental) The list of log types that need to be enabled for exporting to CloudWatch Logs.Default: - no log exports
- Specified by:
getCloudwatchLogsExportsin interfaceDatabaseClusterProps- See Also:
-
getCloudwatchLogsRetention
Description copied from interface:DatabaseClusterProps(experimental) The number of days log events are kept in CloudWatch Logs.When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to
Infinity.Default: - logs never expire
- Specified by:
getCloudwatchLogsRetentionin interfaceDatabaseClusterProps
-
getCloudwatchLogsRetentionRole
Description copied from interface:DatabaseClusterProps(experimental) The IAM role for the Lambda function associated with the custom resource that sets the retention policy.Default: - a new role is created.
- Specified by:
getCloudwatchLogsRetentionRolein interfaceDatabaseClusterProps
-
getClusterParameterGroup
Description copied from interface:DatabaseClusterProps(experimental) Additional parameters to pass to the database engine.Default: - No parameter group.
- Specified by:
getClusterParameterGroupin interfaceDatabaseClusterProps
-
getCopyTagsToSnapshot
Description copied from interface:DatabaseClusterProps(experimental) Whether to copy tags to the snapshot when a snapshot is created.Default: - false
- Specified by:
getCopyTagsToSnapshotin interfaceDatabaseClusterProps
-
getDbClusterName
Description copied from interface:DatabaseClusterProps(experimental) An optional identifier for the cluster.Default: - A name is automatically generated.
- Specified by:
getDbClusterNamein interfaceDatabaseClusterProps
-
getDeletionProtection
Description copied from interface:DatabaseClusterProps(experimental) Indicates whether the DB cluster should have deletion protection enabled.Default: - true if ``removalPolicy`` is RETAIN, false otherwise
- Specified by:
getDeletionProtectionin interfaceDatabaseClusterProps
-
getEngineVersion
Description copied from interface:DatabaseClusterProps(experimental) What version of the database to start.Default: - The default engine version.
- Specified by:
getEngineVersionin interfaceDatabaseClusterProps
-
getIamAuthentication
Description copied from interface:DatabaseClusterProps(experimental) Map AWS Identity and Access Management (IAM) accounts to database accounts.Default: - `false`
- Specified by:
getIamAuthenticationin interfaceDatabaseClusterProps
-
getInstanceIdentifierBase
Description copied from interface:DatabaseClusterProps(experimental) Base identifier for instances.Every replica is named by appending the replica number to this string, 1-based.
Default: - `dbClusterName` is used with the word "Instance" appended. If `dbClusterName` is not provided, the identifier is automatically generated.
- Specified by:
getInstanceIdentifierBasein interfaceDatabaseClusterProps
-
getInstances
Description copied from interface:DatabaseClusterProps(experimental) Number of Neptune compute instances.Default: 1
- Specified by:
getInstancesin interfaceDatabaseClusterProps
-
getKmsKey
Description copied from interface:DatabaseClusterProps(experimental) The KMS key for storage encryption.Default: - default master key.
- Specified by:
getKmsKeyin interfaceDatabaseClusterProps
-
getParameterGroup
Description copied from interface:DatabaseClusterProps(experimental) The DB parameter group to associate with the instance.Default: no parameter group
- Specified by:
getParameterGroupin interfaceDatabaseClusterProps
-
getPort
Description copied from interface:DatabaseClusterProps(experimental) The port number on which the DB instances in the DB cluster accept connections.Default: 8182
- Specified by:
getPortin interfaceDatabaseClusterProps
-
getPreferredBackupWindow
Description copied from interface:DatabaseClusterProps(experimental) A daily time range in 24-hours UTC format in which backups preferably execute.Must be at least 30 minutes long.
Example: '01:00-02:00'
Default: - a 30-minute window selected at random from an 8-hour block of time for each AWS Region. To see the time blocks available, see
- Specified by:
getPreferredBackupWindowin interfaceDatabaseClusterProps
-
getPreferredMaintenanceWindow
Description copied from interface:DatabaseClusterProps(experimental) A weekly time range in which maintenance should preferably execute.Must be at least 30 minutes long.
Example: 'tue:04:17-tue:04:47'
Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
- Specified by:
getPreferredMaintenanceWindowin interfaceDatabaseClusterProps
-
getRemovalPolicy
Description copied from interface:DatabaseClusterProps(experimental) The removal policy to apply when the cluster and its instances are removed or replaced during a stack update, or when the stack is deleted.This removal policy also applies to the implicit security group created for the cluster if one is not supplied as a parameter.
Default: - Retain cluster.
- Specified by:
getRemovalPolicyin interfaceDatabaseClusterProps
-
getSecurityGroups
Description copied from interface:DatabaseClusterProps(experimental) Security group.Default: a new security group is created.
- Specified by:
getSecurityGroupsin interfaceDatabaseClusterProps
-
getServerlessScalingConfiguration
Description copied from interface:DatabaseClusterProps(experimental) Specify minimum and maximum NCUs capacity for a serverless cluster.See https://docs.aws.amazon.com/neptune/latest/userguide/neptune-serverless-capacity-scaling.html
Default: - required if instanceType is db.serverless
- Specified by:
getServerlessScalingConfigurationin interfaceDatabaseClusterProps
-
getStorageEncrypted
Description copied from interface:DatabaseClusterProps(experimental) Whether to enable storage encryption.Default: true
- Specified by:
getStorageEncryptedin interfaceDatabaseClusterProps
-
getSubnetGroup
Description copied from interface:DatabaseClusterProps(experimental) Existing subnet group for the cluster.Default: - a new subnet group will be created.
- Specified by:
getSubnetGroupin interfaceDatabaseClusterProps
-
getVpcSubnets
Description copied from interface:DatabaseClusterProps(experimental) Where to place the instances within the VPC.Default: private subnets
- Specified by:
getVpcSubnetsin interfaceDatabaseClusterProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-