import { BashExecFunction } from 'cdk-certbot-dns-route53'
new BashExecFunction(scope: Construct, id: string, props: BashExecFunctionProps)
- Type:
constructs.Construct
- Type:
string
public readonly handler: DockerImageFunction;
import { CertbotDnsRoute53Job } from 'cdk-certbot-dns-route53'
new CertbotDnsRoute53Job(scope: Construct, id: string, props: CertbotDnsRoute53JobProps)
- Type:
constructs.Construct
- Type:
string
import { CertbotDnsRoute53JobPython } from 'cdk-certbot-dns-route53'
new CertbotDnsRoute53JobPython(scope: Construct, id: string, props: CertbotDnsRoute53JobProps)
- Type:
constructs.Construct
- Type:
string
import { LambdaPythonFunction } from 'cdk-certbot-dns-route53'
new LambdaPythonFunction(scope: Construct, id: string, props: LambdaFunctionProps)
- Type:
constructs.Construct
- Type:
string
public readonly handler: PythonFunction;
import { BashExecFunctionProps } from 'cdk-certbot-dns-route53'
const bashExecFunctionProps: BashExecFunctionProps = { ... }
public readonly script: string;
- Type:
string
The path of the shell script to be executed.
public readonly architecture: Architecture;
- Type:
aws-cdk-lib.aws_lambda.Architecture
- Default: lambda.Architecture.X86_64
Custom lambda Image Architecture.
public readonly dockerfile: string;
- Type:
string
The path of your custom dockerfile.
public readonly environment: {[ key: string ]: string};
- Type: {[ key: string ]:
string
}
Lambda environment variables.
public readonly role: IRole;
- Type:
aws-cdk-lib.aws_iam.IRole
- Default: auto generated role.
Custom lambda execution role.
public readonly timeout: Duration;
- Type:
aws-cdk-lib.Duration
- Default: Duration.seconds(60)
The function execution time (in seconds) after which Lambda terminates the function.
Because the execution time affects cost, set this value based on the function's expected execution time.
import { CertbotDnsRoute53JobProps } from 'cdk-certbot-dns-route53'
const certbotDnsRoute53JobProps: CertbotDnsRoute53JobProps = { ... }
public readonly certbotOptions: CertbotOptions;
certbot cmd options.
public readonly destinationBucket: IBucket;
The S3 bucket to store certificate.
public readonly zone: IHostedZone;
The HostZone on route53 to dns-01 challenge.
public readonly architecture: Architecture;
- Type:
aws-cdk-lib.aws_lambda.Architecture
- Default: lambda.Architecture.X86_64
Custom lambda Image Architecture.
public readonly enabledLambdaFunctionUrl: boolean;
- Type:
boolean
- Default: false
Enabled Lambda Function URL.
public readonly functionUrlOptions: FunctionUrlOptions;
- Type:
aws-cdk-lib.aws_lambda.FunctionUrlOptions
- Default: authType: lambda.FunctionUrlAuthType.NONE
Options to add a url to a Lambda function.
public readonly schedule: Schedule;
- Type:
aws-cdk-lib.aws_events.Schedule
- Default: no schedule
run the Job with defined schedule.
import { CertbotOptions } from 'cdk-certbot-dns-route53'
const certbotOptions: CertbotOptions = { ... }
public readonly domainName: string;
- Type:
string
the domain must host on route53 like example.com.
public readonly email: string;
- Type:
string
Email address for important account notifications.
public readonly customPrefixDirectory: string;
- Type:
string
- Default:
s3://YOUR_BUCKET_NAME/2021-01-01/your.domain.name/
Custom prefix directory on s3 bucket object path.
import { LambdaFunctionProps } from 'cdk-certbot-dns-route53'
const lambdaFunctionProps: LambdaFunctionProps = { ... }
public readonly architecture: Architecture;
public readonly timeout: Duration;
- Type:
aws-cdk-lib.Duration
public readonly environment: {[ key: string ]: string};
- Type: {[ key: string ]:
string
}
public readonly role: IRole;