SingleUserHostedRotationOptions¶
-
class
aws_cdk.aws_secretsmanager.
SingleUserHostedRotationOptions
(*, function_name=None, security_groups=None, vpc=None, vpc_subnets=None)¶ Bases:
object
Single user hosted rotation options.
- Parameters
function_name (
Optional
[str
]) – A name for the Lambda created to rotate the secret. Default: - a CloudFormation generated namesecurity_groups (
Optional
[List
[ISecurityGroup
]]) – A list of security groups for the Lambda created to rotate the secret. Default: - a new security group is createdvpc (
Optional
[IVpc
]) – The VPC where the Lambda rotation function will run. Default: - the Lambda is not deployed in a VPCvpc_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.
Attributes
-
function_name
¶ A name for the Lambda created to rotate the secret.
- Default
a CloudFormation generated name
- Return type
Optional
[str
]
-
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
]