MultiUserHostedRotationOptions

class aws_cdk.aws_secretsmanager.MultiUserHostedRotationOptions(*, function_name=None, security_groups=None, vpc=None, vpc_subnets=None, master_secret)

Bases: aws_cdk.aws_secretsmanager.SingleUserHostedRotationOptions

Multi user hosted rotation options.

Parameters
  • function_name (Optional[str]) – A name for the Lambda created to rotate the secret. Default: - a CloudFormation generated name

  • security_groups (Optional[List[ISecurityGroup]]) – A list of security groups for the Lambda created to rotate the secret. Default: - a new security group is created

  • vpc (Optional[IVpc]) – The VPC where the Lambda rotation function will run. Default: - the Lambda is not deployed in a VPC

  • vpc_subnets (Optional[SubnetSelection]) – The type of subnets in the VPC where the Lambda rotation function will run. Default: - the Vpc default strategy if not specified.

  • master_secret (ISecret) – The master secret for a multi user rotation scheme.

Attributes

function_name

A name for the Lambda created to rotate the secret.

Default
  • a CloudFormation generated name

Return type

Optional[str]

master_secret

The master secret for a multi user rotation scheme.

Return type

ISecret

security_groups

A list of security groups for the Lambda created to rotate the secret.

Default
  • a new security group is created

Return type

Optional[List[ISecurityGroup]]

vpc

The VPC where the Lambda rotation function will run.

Default
  • the Lambda is not deployed in a VPC

Return type

Optional[IVpc]

vpc_subnets

The type of subnets in the VPC where the Lambda rotation function will run.

Default
  • the Vpc default strategy if not specified.

Return type

Optional[SubnetSelection]