cdk-iot-greengrass-fleet-provisioning
Version:
CDK Construct for AWS IoT Greengrass Fleet Provisioning (with AWS IoT Certificates)
29 lines (28 loc) • 796 B
TypeScript
import { CloudFormationCustomResourceResourcePropertiesCommon } from 'aws-lambda';
export type Config = {
Account: string | undefined;
Region: string | undefined;
};
export declare enum LogLevel {
ERROR = 0,
WARN = 1,
INFO = 2,
DEBUG = 3
}
export interface ResourceProperties extends CloudFormationCustomResourceResourcePropertiesCommon {
Name: string;
Description: string;
StackName: string;
Tags: Record<string, string>;
LogLevel?: LogLevel;
ResourcePrefix: string;
CertificateBucketName: string;
CertificatePrefix: string;
}
export type CreateResourcesResponse = {
certificateId: string;
certificateArn: string;
credentialEndpointAddress: string;
dataEndpointAddress: string;
};
export type DeleteResourcesResponse = {};