import { CertbotDnsRoute53JobPython } from 'cdk-certbot-dns-route53'
new CertbotDnsRoute53JobPython(scope: Construct, id: string, props: CertbotDnsRoute53JobProps)| Name | Type | Description |
|---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
CertbotDnsRoute53JobProps |
No description. |
- Type: constructs.Construct
- Type: string
| Name | Description |
|---|---|
toString |
Returns a string representation of this construct. |
with |
Applies one or more mixins to this construct. |
public toString(): stringReturns a string representation of this construct.
public with(mixins: ...IMixin[]): IConstructApplies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple with() calls if subsequent mixins should apply to added
constructs.
- Type: ...constructs.IMixin[]
The mixins to apply.
| Name | Description |
|---|---|
isConstruct |
Checks if x is a construct. |
import { CertbotDnsRoute53JobPython } from 'cdk-certbot-dns-route53'
CertbotDnsRoute53JobPython.isConstruct(x: any)Checks if x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
- Type: any
Any object.
| Name | Type | Description |
|---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;- Type: constructs.Node
The tree node.
import { LambdaPythonFunction } from 'cdk-certbot-dns-route53'
new LambdaPythonFunction(scope: Construct, id: string, props: LambdaFunctionProps)| Name | Type | Description |
|---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
LambdaFunctionProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: LambdaFunctionProps
| Name | Description |
|---|---|
toString |
Returns a string representation of this construct. |
with |
Applies one or more mixins to this construct. |
public toString(): stringReturns a string representation of this construct.
public with(mixins: ...IMixin[]): IConstructApplies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple with() calls if subsequent mixins should apply to added
constructs.
- Type: ...constructs.IMixin[]
The mixins to apply.
| Name | Description |
|---|---|
isConstruct |
Checks if x is a construct. |
import { LambdaPythonFunction } from 'cdk-certbot-dns-route53'
LambdaPythonFunction.isConstruct(x: any)Checks if x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
- Type: any
Any object.
| Name | Type | Description |
|---|---|---|
node |
constructs.Node |
The tree node. |
handler |
@aws-cdk/aws-lambda-python-alpha.PythonFunction |
No description. |
public readonly node: Node;- Type: constructs.Node
The tree node.
public readonly handler: PythonFunction;- Type: @aws-cdk/aws-lambda-python-alpha.PythonFunction
import { CertbotDnsRoute53JobProps } from 'cdk-certbot-dns-route53'
const certbotDnsRoute53JobProps: CertbotDnsRoute53JobProps = { ... }| Name | Type | Description |
|---|---|---|
certbotOptions |
CertbotOptions |
certbot cmd options. |
destinationBucket |
aws-cdk-lib.aws_s3.IBucket |
The S3 bucket to store certificate. |
zone |
aws-cdk-lib.aws_route53.IHostedZone |
The HostZone on route53 to dns-01 challenge. |
architecture |
aws-cdk-lib.aws_lambda.Architecture |
Custom lambda Image Architecture. |
enabledLambdaFunctionUrl |
boolean |
Enabled Lambda Function URL. |
functionUrlOptions |
aws-cdk-lib.aws_lambda.FunctionUrlOptions |
Options to add a url to a Lambda function. |
schedule |
aws-cdk-lib.aws_events.Schedule |
run the Job with defined schedule. |
public readonly certbotOptions: CertbotOptions;- Type: CertbotOptions
certbot cmd options.
public readonly destinationBucket: IBucket;- Type: aws-cdk-lib.aws_s3.IBucket
The S3 bucket to store certificate.
public readonly zone: IHostedZone;- Type: aws-cdk-lib.aws_route53.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 = { ... }| Name | Type | Description |
|---|---|---|
domainName |
string |
the domain must host on route53 like example.com. |
email |
string |
Email address for important account notifications. |
customPrefixDirectory |
string |
Custom prefix directory on s3 bucket object path. |
public readonly domainName: string;- Type: string
the domain must host on route53 like example.com.
Example
- `*.example.com` or `a.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.
Example
- customPrefixDirectory: 'abc' -> `s3://YOUR_BUCKET_NAME/abc/your.domain.name/`import { LambdaFunctionProps } from 'cdk-certbot-dns-route53'
const lambdaFunctionProps: LambdaFunctionProps = { ... }| Name | Type | Description |
|---|---|---|
architecture |
aws-cdk-lib.aws_lambda.Architecture |
No description. |
timeout |
aws-cdk-lib.Duration |
No description. |
environment |
{[ key: string ]: string} |
No description. |
role |
aws-cdk-lib.aws_iam.IRole |
No description. |
public readonly architecture: Architecture;- Type: aws-cdk-lib.aws_lambda.Architecture
public readonly timeout: Duration;- Type: aws-cdk-lib.Duration
public readonly environment: {[ key: string ]: string};- Type: {[ key: string ]: string}
public readonly role: IRole;- Type: aws-cdk-lib.aws_iam.IRole