Class HostedRotation
A hosted rotation.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.SecretsManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HostedRotation : DeputyBase, IConnectable
Syntax (vb)
Public Class HostedRotation
Inherits DeputyBase
Implements IConnectable
Remarks
ExampleMetadata: infused
Examples
var secret = new Secret(this, "Secret");
secret.AddRotationSchedule("RotationSchedule", new RotationScheduleOptions {
HostedRotation = HostedRotation.MysqlSingleUser()
});
Synopsis
Constructors
HostedRotation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
HostedRotation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Connections | Security group connections for this hosted rotation. |
Methods
Constructors
HostedRotation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected HostedRotation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
HostedRotation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected HostedRotation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Connections
Security group connections for this hosted rotation.
public virtual Connections_ Connections { get; }
Property Value
Methods
Bind(ISecret, Construct)
Binds this hosted rotation to a secret.
public virtual CfnRotationSchedule.IHostedRotationLambdaProperty Bind(ISecret secret, Construct scope)
Parameters
- secret ISecret
- scope Constructs.Construct
Returns
CfnRotationSchedule.IHostedRotationLambdaProperty
MariaDbMultiUser(IMultiUserHostedRotationOptions)
MariaDB Multi User.
public static HostedRotation MariaDbMultiUser(IMultiUserHostedRotationOptions options)
Parameters
- options IMultiUserHostedRotationOptions
Returns
MariaDbSingleUser(ISingleUserHostedRotationOptions)
MariaDB Single User.
public static HostedRotation MariaDbSingleUser(ISingleUserHostedRotationOptions options = null)
Parameters
- options ISingleUserHostedRotationOptions
Returns
MongoDbMultiUser(IMultiUserHostedRotationOptions)
MongoDB Multi User.
public static HostedRotation MongoDbMultiUser(IMultiUserHostedRotationOptions options)
Parameters
- options IMultiUserHostedRotationOptions
Returns
MongoDbSingleUser(ISingleUserHostedRotationOptions)
MongoDB Single User.
public static HostedRotation MongoDbSingleUser(ISingleUserHostedRotationOptions options = null)
Parameters
- options ISingleUserHostedRotationOptions
Returns
MysqlMultiUser(IMultiUserHostedRotationOptions)
MySQL Multi User.
public static HostedRotation MysqlMultiUser(IMultiUserHostedRotationOptions options)
Parameters
- options IMultiUserHostedRotationOptions
Returns
MysqlSingleUser(ISingleUserHostedRotationOptions)
MySQL Single User.
public static HostedRotation MysqlSingleUser(ISingleUserHostedRotationOptions options = null)
Parameters
- options ISingleUserHostedRotationOptions
Returns
OracleMultiUser(IMultiUserHostedRotationOptions)
Oracle Multi User.
public static HostedRotation OracleMultiUser(IMultiUserHostedRotationOptions options)
Parameters
- options IMultiUserHostedRotationOptions
Returns
OracleSingleUser(ISingleUserHostedRotationOptions)
Oracle Single User.
public static HostedRotation OracleSingleUser(ISingleUserHostedRotationOptions options = null)
Parameters
- options ISingleUserHostedRotationOptions
Returns
PostgreSqlMultiUser(IMultiUserHostedRotationOptions)
PostgreSQL Multi User.
public static HostedRotation PostgreSqlMultiUser(IMultiUserHostedRotationOptions options)
Parameters
- options IMultiUserHostedRotationOptions
Returns
PostgreSqlSingleUser(ISingleUserHostedRotationOptions)
PostgreSQL Single User.
public static HostedRotation PostgreSqlSingleUser(ISingleUserHostedRotationOptions options = null)
Parameters
- options ISingleUserHostedRotationOptions
Returns
RedshiftMultiUser(IMultiUserHostedRotationOptions)
Redshift Multi User.
public static HostedRotation RedshiftMultiUser(IMultiUserHostedRotationOptions options)
Parameters
- options IMultiUserHostedRotationOptions
Returns
RedshiftSingleUser(ISingleUserHostedRotationOptions)
Redshift Single User.
public static HostedRotation RedshiftSingleUser(ISingleUserHostedRotationOptions options = null)
Parameters
- options ISingleUserHostedRotationOptions
Returns
SqlServerMultiUser(IMultiUserHostedRotationOptions)
SQL Server Multi User.
public static HostedRotation SqlServerMultiUser(IMultiUserHostedRotationOptions options)
Parameters
- options IMultiUserHostedRotationOptions
Returns
SqlServerSingleUser(ISingleUserHostedRotationOptions)
SQL Server Single User.
public static HostedRotation SqlServerSingleUser(ISingleUserHostedRotationOptions options = null)
Parameters
- options ISingleUserHostedRotationOptions
Returns