Interface IMultiUserHostedRotationOptions
- Namespace
- Amazon.CDK.AWS.SecretsManager
- Assembly
- Amazon.CDK.AWS.SecretsManager.dll
Multi user hosted rotation options.
public interface IMultiUserHostedRotationOptions : ISingleUserHostedRotationOptions
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
using Amazon.CDK.AWS.SecretsManager;
Secret secret;
SecurityGroup securityGroup;
Subnet subnet;
SubnetFilter subnetFilter;
Vpc vpc;
var multiUserHostedRotationOptions = new MultiUserHostedRotationOptions {
MasterSecret = secret,
// the properties below are optional
FunctionName = "functionName",
SecurityGroups = new [] { securityGroup },
Vpc = vpc,
VpcSubnets = new SubnetSelection {
AvailabilityZones = new [] { "availabilityZones" },
OnePerAz = false,
SubnetFilters = new [] { subnetFilter },
SubnetGroupName = "subnetGroupName",
SubnetName = "subnetName",
Subnets = new [] { subnet },
SubnetType = SubnetType.ISOLATED
}
};
Remarks
ExampleMetadata: fixture=_generated
Properties
MasterSecret
The master secret for a multi user rotation scheme.
ISecret MasterSecret { get; }