/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SecurityHub.Model { /// /// Information about an Amazon RDS DB cluster. /// public partial class AwsRdsDbClusterDetails { private string _activityStreamStatus; private int? _allocatedStorage; private List _associatedRoles = new List(); private List _availabilityZones = new List(); private int? _backupRetentionPeriod; private string _clusterCreateTime; private bool? _copyTagsToSnapshot; private bool? _crossAccountClone; private List _customEndpoints = new List(); private string _databaseName; private string _dbClusterIdentifier; private List _dbClusterMembers = new List(); private List _dbClusterOptionGroupMemberships = new List(); private string _dbClusterParameterGroup; private string _dbClusterResourceId; private string _dbSubnetGroup; private bool? _deletionProtection; private List _domainMemberships = new List(); private List _enabledCloudWatchLogsExports = new List(); private string _endpoint; private string _engine; private string _engineMode; private string _engineVersion; private string _hostedZoneId; private bool? _httpEndpointEnabled; private bool? _iamDatabaseAuthenticationEnabled; private string _kmsKeyId; private string _masterUsername; private bool? _multiAz; private int? _port; private string _preferredBackupWindow; private string _preferredMaintenanceWindow; private string _readerEndpoint; private List _readReplicaIdentifiers = new List(); private string _status; private bool? _storageEncrypted; private List _vpcSecurityGroups = new List(); /// /// Gets and sets the property ActivityStreamStatus. /// /// The status of the database activity stream. Valid values are as follows: /// ///
  • /// /// started /// ///
  • /// /// starting /// ///
  • /// /// stopped /// ///
  • /// /// stopping /// ///
///
public string ActivityStreamStatus { get { return this._activityStreamStatus; } set { this._activityStreamStatus = value; } } // Check to see if ActivityStreamStatus property is set internal bool IsSetActivityStreamStatus() { return this._activityStreamStatus != null; } /// /// Gets and sets the property AllocatedStorage. /// /// For all database engines except Aurora, specifies the allocated storage size in gibibytes /// (GiB). /// /// public int AllocatedStorage { get { return this._allocatedStorage.GetValueOrDefault(); } set { this._allocatedStorage = value; } } // Check to see if AllocatedStorage property is set internal bool IsSetAllocatedStorage() { return this._allocatedStorage.HasValue; } /// /// Gets and sets the property AssociatedRoles. /// /// A list of the IAM roles that are associated with the DB cluster. /// /// public List AssociatedRoles { get { return this._associatedRoles; } set { this._associatedRoles = value; } } // Check to see if AssociatedRoles property is set internal bool IsSetAssociatedRoles() { return this._associatedRoles != null && this._associatedRoles.Count > 0; } /// /// Gets and sets the property AvailabilityZones. /// /// A list of Availability Zones (AZs) where instances in the DB cluster can be created. /// /// public List AvailabilityZones { get { return this._availabilityZones; } set { this._availabilityZones = value; } } // Check to see if AvailabilityZones property is set internal bool IsSetAvailabilityZones() { return this._availabilityZones != null && this._availabilityZones.Count > 0; } /// /// Gets and sets the property BackupRetentionPeriod. /// /// The number of days for which automated backups are retained. /// /// public int BackupRetentionPeriod { get { return this._backupRetentionPeriod.GetValueOrDefault(); } set { this._backupRetentionPeriod = value; } } // Check to see if BackupRetentionPeriod property is set internal bool IsSetBackupRetentionPeriod() { return this._backupRetentionPeriod.HasValue; } /// /// Gets and sets the property ClusterCreateTime. /// /// Indicates when the DB cluster was created, in Universal Coordinated Time (UTC). /// /// /// /// Uses the date-time format specified in RFC /// 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, /// and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z. /// /// public string ClusterCreateTime { get { return this._clusterCreateTime; } set { this._clusterCreateTime = value; } } // Check to see if ClusterCreateTime property is set internal bool IsSetClusterCreateTime() { return this._clusterCreateTime != null; } /// /// Gets and sets the property CopyTagsToSnapshot. /// /// Whether tags are copied from the DB cluster to snapshots of the DB cluster. /// /// public bool CopyTagsToSnapshot { get { return this._copyTagsToSnapshot.GetValueOrDefault(); } set { this._copyTagsToSnapshot = value; } } // Check to see if CopyTagsToSnapshot property is set internal bool IsSetCopyTagsToSnapshot() { return this._copyTagsToSnapshot.HasValue; } /// /// Gets and sets the property CrossAccountClone. /// /// Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web /// Services account. /// /// public bool CrossAccountClone { get { return this._crossAccountClone.GetValueOrDefault(); } set { this._crossAccountClone = value; } } // Check to see if CrossAccountClone property is set internal bool IsSetCrossAccountClone() { return this._crossAccountClone.HasValue; } /// /// Gets and sets the property CustomEndpoints. /// /// A list of custom endpoints for the DB cluster. /// /// public List CustomEndpoints { get { return this._customEndpoints; } set { this._customEndpoints = value; } } // Check to see if CustomEndpoints property is set internal bool IsSetCustomEndpoints() { return this._customEndpoints != null && this._customEndpoints.Count > 0; } /// /// Gets and sets the property DatabaseName. /// /// The name of the database. /// /// public string DatabaseName { get { return this._databaseName; } set { this._databaseName = value; } } // Check to see if DatabaseName property is set internal bool IsSetDatabaseName() { return this._databaseName != null; } /// /// Gets and sets the property DbClusterIdentifier. /// /// The DB cluster identifier that the user assigned to the cluster. This identifier is /// the unique key that identifies a DB cluster. /// /// public string DbClusterIdentifier { get { return this._dbClusterIdentifier; } set { this._dbClusterIdentifier = value; } } // Check to see if DbClusterIdentifier property is set internal bool IsSetDbClusterIdentifier() { return this._dbClusterIdentifier != null; } /// /// Gets and sets the property DbClusterMembers. /// /// The list of instances that make up the DB cluster. /// /// public List DbClusterMembers { get { return this._dbClusterMembers; } set { this._dbClusterMembers = value; } } // Check to see if DbClusterMembers property is set internal bool IsSetDbClusterMembers() { return this._dbClusterMembers != null && this._dbClusterMembers.Count > 0; } /// /// Gets and sets the property DbClusterOptionGroupMemberships. /// /// The list of option group memberships for this DB cluster. /// /// public List DbClusterOptionGroupMemberships { get { return this._dbClusterOptionGroupMemberships; } set { this._dbClusterOptionGroupMemberships = value; } } // Check to see if DbClusterOptionGroupMemberships property is set internal bool IsSetDbClusterOptionGroupMemberships() { return this._dbClusterOptionGroupMemberships != null && this._dbClusterOptionGroupMemberships.Count > 0; } /// /// Gets and sets the property DbClusterParameterGroup. /// /// The name of the DB cluster parameter group for the DB cluster. /// /// public string DbClusterParameterGroup { get { return this._dbClusterParameterGroup; } set { this._dbClusterParameterGroup = value; } } // Check to see if DbClusterParameterGroup property is set internal bool IsSetDbClusterParameterGroup() { return this._dbClusterParameterGroup != null; } /// /// Gets and sets the property DbClusterResourceId. /// /// The identifier of the DB cluster. The identifier must be unique within each Amazon /// Web Services Region and is immutable. /// /// public string DbClusterResourceId { get { return this._dbClusterResourceId; } set { this._dbClusterResourceId = value; } } // Check to see if DbClusterResourceId property is set internal bool IsSetDbClusterResourceId() { return this._dbClusterResourceId != null; } /// /// Gets and sets the property DbSubnetGroup. /// /// The subnet group that is associated with the DB cluster, including the name, description, /// and subnets in the subnet group. /// /// public string DbSubnetGroup { get { return this._dbSubnetGroup; } set { this._dbSubnetGroup = value; } } // Check to see if DbSubnetGroup property is set internal bool IsSetDbSubnetGroup() { return this._dbSubnetGroup != null; } /// /// Gets and sets the property DeletionProtection. /// /// Whether the DB cluster has deletion protection enabled. /// /// public bool DeletionProtection { get { return this._deletionProtection.GetValueOrDefault(); } set { this._deletionProtection = value; } } // Check to see if DeletionProtection property is set internal bool IsSetDeletionProtection() { return this._deletionProtection.HasValue; } /// /// Gets and sets the property DomainMemberships. /// /// The Active Directory domain membership records that are associated with the DB cluster. /// /// public List DomainMemberships { get { return this._domainMemberships; } set { this._domainMemberships = value; } } // Check to see if DomainMemberships property is set internal bool IsSetDomainMemberships() { return this._domainMemberships != null && this._domainMemberships.Count > 0; } /// /// Gets and sets the property EnabledCloudWatchLogsExports. /// /// A list of log types that this DB cluster is configured to export to CloudWatch Logs. /// /// public List EnabledCloudWatchLogsExports { get { return this._enabledCloudWatchLogsExports; } set { this._enabledCloudWatchLogsExports = value; } } // Check to see if EnabledCloudWatchLogsExports property is set internal bool IsSetEnabledCloudWatchLogsExports() { return this._enabledCloudWatchLogsExports != null && this._enabledCloudWatchLogsExports.Count > 0; } /// /// Gets and sets the property Endpoint. /// /// The connection endpoint for the primary instance of the DB cluster. /// /// public string Endpoint { get { return this._endpoint; } set { this._endpoint = value; } } // Check to see if Endpoint property is set internal bool IsSetEndpoint() { return this._endpoint != null; } /// /// Gets and sets the property Engine. /// /// The name of the database engine to use for this DB cluster. Valid values are as follows: /// ///
  • /// /// aurora /// ///
  • /// /// aurora-mysql /// ///
  • /// /// aurora-postgresql /// ///
///
public string Engine { get { return this._engine; } set { this._engine = value; } } // Check to see if Engine property is set internal bool IsSetEngine() { return this._engine != null; } /// /// Gets and sets the property EngineMode. /// /// The database engine mode of the DB cluster.Valid values are as follows: /// ///
  • /// /// global /// ///
  • /// /// multimaster /// ///
  • /// /// parallelquery /// ///
  • /// /// provisioned /// ///
  • /// /// serverless /// ///
///
public string EngineMode { get { return this._engineMode; } set { this._engineMode = value; } } // Check to see if EngineMode property is set internal bool IsSetEngineMode() { return this._engineMode != null; } /// /// Gets and sets the property EngineVersion. /// /// The version number of the database engine to use. /// /// public string EngineVersion { get { return this._engineVersion; } set { this._engineVersion = value; } } // Check to see if EngineVersion property is set internal bool IsSetEngineVersion() { return this._engineVersion != null; } /// /// Gets and sets the property HostedZoneId. /// /// Specifies the identifier that Amazon Route 53 assigns when you create a hosted zone. /// /// public string HostedZoneId { get { return this._hostedZoneId; } set { this._hostedZoneId = value; } } // Check to see if HostedZoneId property is set internal bool IsSetHostedZoneId() { return this._hostedZoneId != null; } /// /// Gets and sets the property HttpEndpointEnabled. /// /// Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled. /// /// public bool HttpEndpointEnabled { get { return this._httpEndpointEnabled.GetValueOrDefault(); } set { this._httpEndpointEnabled = value; } } // Check to see if HttpEndpointEnabled property is set internal bool IsSetHttpEndpointEnabled() { return this._httpEndpointEnabled.HasValue; } /// /// Gets and sets the property IamDatabaseAuthenticationEnabled. /// /// Whether the mapping of IAM accounts to database accounts is enabled. /// /// public bool IamDatabaseAuthenticationEnabled { get { return this._iamDatabaseAuthenticationEnabled.GetValueOrDefault(); } set { this._iamDatabaseAuthenticationEnabled = value; } } // Check to see if IamDatabaseAuthenticationEnabled property is set internal bool IsSetIamDatabaseAuthenticationEnabled() { return this._iamDatabaseAuthenticationEnabled.HasValue; } /// /// Gets and sets the property KmsKeyId. /// /// The ARN of the KMS master key that is used to encrypt the database instances in the /// DB cluster. /// /// public string KmsKeyId { get { return this._kmsKeyId; } set { this._kmsKeyId = value; } } // Check to see if KmsKeyId property is set internal bool IsSetKmsKeyId() { return this._kmsKeyId != null; } /// /// Gets and sets the property MasterUsername. /// /// The name of the master user for the DB cluster. /// /// public string MasterUsername { get { return this._masterUsername; } set { this._masterUsername = value; } } // Check to see if MasterUsername property is set internal bool IsSetMasterUsername() { return this._masterUsername != null; } /// /// Gets and sets the property MultiAz. /// /// Whether the DB cluster has instances in multiple Availability Zones. /// /// public bool MultiAz { get { return this._multiAz.GetValueOrDefault(); } set { this._multiAz = value; } } // Check to see if MultiAz property is set internal bool IsSetMultiAz() { return this._multiAz.HasValue; } /// /// Gets and sets the property Port. /// /// The port number on which the DB instances in the DB cluster accept connections. /// /// public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// /// Gets and sets the property PreferredBackupWindow. /// /// The range of time each day when automated backups are created, if automated backups /// are enabled. /// /// /// /// Uses the format HH:MM-HH:MM. For example, 04:52-05:22. /// /// public string PreferredBackupWindow { get { return this._preferredBackupWindow; } set { this._preferredBackupWindow = value; } } // Check to see if PreferredBackupWindow property is set internal bool IsSetPreferredBackupWindow() { return this._preferredBackupWindow != null; } /// /// Gets and sets the property PreferredMaintenanceWindow. /// /// The weekly time range during which system maintenance can occur, in Universal Coordinated /// Time (UTC). /// /// /// /// Uses the format <day>:HH:MM-<day>:HH:MM. /// /// /// /// For the day values, use mon|tue|wed|thu|fri|sat|sun. /// /// /// /// For example, sun:09:32-sun:10:02. /// /// public string PreferredMaintenanceWindow { get { return this._preferredMaintenanceWindow; } set { this._preferredMaintenanceWindow = value; } } // Check to see if PreferredMaintenanceWindow property is set internal bool IsSetPreferredMaintenanceWindow() { return this._preferredMaintenanceWindow != null; } /// /// Gets and sets the property ReaderEndpoint. /// /// The reader endpoint for the DB cluster. /// /// public string ReaderEndpoint { get { return this._readerEndpoint; } set { this._readerEndpoint = value; } } // Check to see if ReaderEndpoint property is set internal bool IsSetReaderEndpoint() { return this._readerEndpoint != null; } /// /// Gets and sets the property ReadReplicaIdentifiers. /// /// The identifiers of the read replicas that are associated with this DB cluster. /// /// public List ReadReplicaIdentifiers { get { return this._readReplicaIdentifiers; } set { this._readReplicaIdentifiers = value; } } // Check to see if ReadReplicaIdentifiers property is set internal bool IsSetReadReplicaIdentifiers() { return this._readReplicaIdentifiers != null && this._readReplicaIdentifiers.Count > 0; } /// /// Gets and sets the property Status. /// /// The current status of this DB cluster. /// /// public string Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StorageEncrypted. /// /// Whether the DB cluster is encrypted. /// /// public bool StorageEncrypted { get { return this._storageEncrypted.GetValueOrDefault(); } set { this._storageEncrypted = value; } } // Check to see if StorageEncrypted property is set internal bool IsSetStorageEncrypted() { return this._storageEncrypted.HasValue; } /// /// Gets and sets the property VpcSecurityGroups. /// /// A list of VPC security groups that the DB cluster belongs to. /// /// public List VpcSecurityGroups { get { return this._vpcSecurityGroups; } set { this._vpcSecurityGroups = value; } } // Check to see if VpcSecurityGroups property is set internal bool IsSetVpcSecurityGroups() { return this._vpcSecurityGroups != null && this._vpcSecurityGroups.Count > 0; } } }