@mstuercke/pulumi-modules 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/dist/auth0/Auth0.d.ts +0 -29
- package/dist/auth0/index.d.ts +0 -5
- package/dist/domain/getDomain.d.ts +0 -13
- package/dist/domain/index.d.ts +0 -4
- package/dist/iam/SimpleIamRolePolicy.d.ts +0 -6
- package/dist/iam/SimpleIamRolePolicyConfig.d.ts +0 -57
- package/dist/iam/index.d.ts +0 -6
- package/dist/index.d.ts +0 -40
- package/dist/lambda/NodeLambdaFunction.d.ts +0 -20
- package/dist/lambda/WithInputs.d.ts +0 -4
- package/dist/lambda/index.d.ts +0 -5
- package/dist/mongodb/MongoDB.d.ts +0 -13
- package/dist/mongodb/MongoDBCustomInstance.d.ts +0 -12
- package/dist/mongodb/MongoDBDefaultInstance.d.ts +0 -12
- package/dist/mongodb/MongoDBUser.d.ts +0 -12
- package/dist/mongodb/index.d.ts +0 -11
- package/dist/rest/RestApi.d.ts +0 -19
- package/dist/rest/index.d.ts +0 -5
- package/dist/s3/PublicS3Bucket.d.ts +0 -11
- package/dist/s3/index.d.ts +0 -5
- package/dist/website/StaticWebsite.d.ts +0 -17
- package/dist/website/index.d.ts +0 -5
- package/dist/website/readFilesRecursive.d.ts +0 -8
- package/dist/websocket/WebsocketApi.d.ts +0 -22
- package/dist/websocket/index.d.ts +0 -5
package/package.json
CHANGED
package/dist/auth0/Auth0.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
export type Auth0Domain = `${string}.auth0.com`;
|
|
3
|
-
export type Auth0URL = `http://${string}` | `https://${string}`;
|
|
4
|
-
export interface Auth0User {
|
|
5
|
-
name: string;
|
|
6
|
-
email: string;
|
|
7
|
-
password: string;
|
|
8
|
-
emailVerified: boolean;
|
|
9
|
-
appMetadata?: Record<string, unknown>;
|
|
10
|
-
}
|
|
11
|
-
export interface Auth0Args {
|
|
12
|
-
projectId: string;
|
|
13
|
-
environmentName: string;
|
|
14
|
-
tenantDisplayName: string;
|
|
15
|
-
clientDisplayName: string;
|
|
16
|
-
domain: Auth0Domain;
|
|
17
|
-
m2mClientId: string;
|
|
18
|
-
allowedUrls: Auth0URL[];
|
|
19
|
-
allowedLoginCallbackUrls?: Auth0URL[];
|
|
20
|
-
allowedLogoutCallbackUrls?: Auth0URL[];
|
|
21
|
-
nativeAppId?: `com.${string}`;
|
|
22
|
-
defaultUsers?: Auth0User[];
|
|
23
|
-
disableSignup?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export declare class Auth0 extends Resource {
|
|
26
|
-
domain: string;
|
|
27
|
-
clientId: Output<string>;
|
|
28
|
-
constructor(id: string, args: Auth0Args, opts?: CustomResourceOptions);
|
|
29
|
-
}
|
package/dist/auth0/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type Provider } from '@pulumi/aws';
|
|
2
|
-
export interface DataDomainOptions {
|
|
3
|
-
usEast1Provider: Provider;
|
|
4
|
-
name: `${string}.${string}`;
|
|
5
|
-
}
|
|
6
|
-
export type DomainResult = {
|
|
7
|
-
name: string;
|
|
8
|
-
zoneId: string;
|
|
9
|
-
nameServers: string[];
|
|
10
|
-
usEast1CertificateArn: string;
|
|
11
|
-
euCentral1CertificateArn: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const getDomain: (options: DataDomainOptions) => Promise<DomainResult>;
|
package/dist/domain/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { iam } from '@pulumi/aws';
|
|
2
|
-
import type { SimpleIamRolePolicyConfig } from './SimpleIamRolePolicyConfig.js';
|
|
3
|
-
import { type CustomResourceOptions } from '@pulumi/pulumi';
|
|
4
|
-
export declare class SimpleIamRolePolicy extends iam.RolePolicy {
|
|
5
|
-
constructor(iamRoleId: string, config: SimpleIamRolePolicyConfig, opts?: CustomResourceOptions);
|
|
6
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { Input } from '@pulumi/pulumi';
|
|
2
|
-
import type { PolicyStatement } from '@pulumi/aws/iam';
|
|
3
|
-
export type SimpleIamRolePolicyConfig = CustomPolicyConfig | DynamoDbPolicyConfig | TimestreamPolicyConfig | S3PolicyConfig | CognitoPolicyConfig | WebsocketPolicyConfig | ExecuteLambdaConfig | SnsPolicyConfig | EventBridgeConfig;
|
|
4
|
-
interface CustomPolicyConfig {
|
|
5
|
-
type: 'custom';
|
|
6
|
-
name: string;
|
|
7
|
-
statements: PolicyStatement[];
|
|
8
|
-
}
|
|
9
|
-
interface DynamoDbPolicyConfig {
|
|
10
|
-
type: 'dynamodb';
|
|
11
|
-
level: 'full-access';
|
|
12
|
-
name: string;
|
|
13
|
-
tableArn: Input<string>;
|
|
14
|
-
}
|
|
15
|
-
interface TimestreamPolicyConfig {
|
|
16
|
-
type: 'timestream';
|
|
17
|
-
level: 'full-access';
|
|
18
|
-
name: string;
|
|
19
|
-
dbArn: Input<string>;
|
|
20
|
-
tableArn: Input<string>;
|
|
21
|
-
}
|
|
22
|
-
interface S3PolicyConfig {
|
|
23
|
-
type: 's3';
|
|
24
|
-
level: 'full-access';
|
|
25
|
-
name: string;
|
|
26
|
-
bucketArn: Input<string>;
|
|
27
|
-
}
|
|
28
|
-
interface CognitoPolicyConfig {
|
|
29
|
-
type: 'cognito';
|
|
30
|
-
level: 'full-access';
|
|
31
|
-
name: string;
|
|
32
|
-
userPoolArn: Input<string>;
|
|
33
|
-
}
|
|
34
|
-
interface WebsocketPolicyConfig {
|
|
35
|
-
type: 'websocket';
|
|
36
|
-
level: 'full-access';
|
|
37
|
-
name: string;
|
|
38
|
-
apiArn: '*';
|
|
39
|
-
}
|
|
40
|
-
interface SnsPolicyConfig {
|
|
41
|
-
type: 'sns';
|
|
42
|
-
level: 'publish-message';
|
|
43
|
-
name: string;
|
|
44
|
-
snsTopicArn: Input<string>;
|
|
45
|
-
}
|
|
46
|
-
interface ExecuteLambdaConfig {
|
|
47
|
-
type: 'execute-lambda';
|
|
48
|
-
name: string;
|
|
49
|
-
lambdaArn: Input<string>;
|
|
50
|
-
}
|
|
51
|
-
interface EventBridgeConfig {
|
|
52
|
-
type: 'event-bridge';
|
|
53
|
-
level: 'enable-disable-rule';
|
|
54
|
-
name: string;
|
|
55
|
-
ruleArn: Input<string>;
|
|
56
|
-
}
|
|
57
|
-
export {};
|
package/dist/iam/index.d.ts
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export * from './auth0';
|
|
2
|
-
export * from './domain';
|
|
3
|
-
export * from './iam';
|
|
4
|
-
export * from './lambda';
|
|
5
|
-
export * from './mongodb';
|
|
6
|
-
export * from './rest';
|
|
7
|
-
export * from './s3';
|
|
8
|
-
export * from './website';
|
|
9
|
-
export * from './websocket';
|
|
10
|
-
export declare const mstuercke: {
|
|
11
|
-
auth0: {
|
|
12
|
-
Auth0: typeof import("./auth0").Auth0;
|
|
13
|
-
};
|
|
14
|
-
domain: {
|
|
15
|
-
getDomain: (options: import("./domain").DataDomainOptions) => Promise<import("./domain").DomainResult>;
|
|
16
|
-
};
|
|
17
|
-
iam: {
|
|
18
|
-
SimpleIamRolePolicy: typeof import("./iam").SimpleIamRolePolicy;
|
|
19
|
-
};
|
|
20
|
-
lambda: {
|
|
21
|
-
NodeLambdaFunction: typeof import("./lambda").NodeLambdaFunction;
|
|
22
|
-
};
|
|
23
|
-
mongodb: {
|
|
24
|
-
MongoDBCustomInstance: typeof import("./mongodb").MongoDBCustomInstance;
|
|
25
|
-
MongoDBDefaultInstance: typeof import("./mongodb").MongoDBDefaultInstance;
|
|
26
|
-
MongoDBUser: typeof import("./mongodb").MongoDBUser;
|
|
27
|
-
};
|
|
28
|
-
rest: {
|
|
29
|
-
RestApi: typeof import("./rest").RestApi;
|
|
30
|
-
};
|
|
31
|
-
s3: {
|
|
32
|
-
PublicS3Bucket: typeof import("./s3").PublicS3Bucket;
|
|
33
|
-
};
|
|
34
|
-
website: {
|
|
35
|
-
StaticWebsite: typeof import("./website").StaticWebsite;
|
|
36
|
-
};
|
|
37
|
-
websocket: {
|
|
38
|
-
WebsocketApi: typeof import("./websocket").WebsocketApi;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
import { type SimpleIamRolePolicyConfig } from '../iam';
|
|
3
|
-
import type { WithInputs } from './WithInputs.js';
|
|
4
|
-
export type NodeLambdaFunctionArgs<EnvironmentVariables> = {
|
|
5
|
-
name: string;
|
|
6
|
-
runtime?: string;
|
|
7
|
-
functionHandler?: string;
|
|
8
|
-
memorySize?: number;
|
|
9
|
-
timeoutSeconds?: number;
|
|
10
|
-
lambdaPath: string;
|
|
11
|
-
additionalIamRolePolicies?: SimpleIamRolePolicyConfig[];
|
|
12
|
-
environmentVariables?: WithInputs<EnvironmentVariables>;
|
|
13
|
-
projectId: string;
|
|
14
|
-
};
|
|
15
|
-
export declare class NodeLambdaFunction<EnvironmentVariables extends Record<string, string> = Record<string, string>> extends Resource {
|
|
16
|
-
name: string;
|
|
17
|
-
arn: Output<string>;
|
|
18
|
-
invokeArn: Output<string>;
|
|
19
|
-
constructor(args: NodeLambdaFunctionArgs<EnvironmentVariables>, opts?: CustomResourceOptions);
|
|
20
|
-
}
|
package/dist/lambda/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
export type MongoDBArgs = {
|
|
3
|
-
organizationId: string;
|
|
4
|
-
projectId: string;
|
|
5
|
-
environmentName: string;
|
|
6
|
-
};
|
|
7
|
-
export declare class MongoDB extends Resource {
|
|
8
|
-
readonly connectionString: Output<string>;
|
|
9
|
-
readonly databaseName: string;
|
|
10
|
-
readonly username: string;
|
|
11
|
-
readonly password: Output<string>;
|
|
12
|
-
constructor(args: MongoDBArgs, opts?: CustomResourceOptions);
|
|
13
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
export type MongoDBCustomInstanceArgs = {
|
|
3
|
-
organizationId: string;
|
|
4
|
-
projectId: string;
|
|
5
|
-
environmentName: string;
|
|
6
|
-
};
|
|
7
|
-
export declare class MongoDBCustomInstance extends Resource {
|
|
8
|
-
readonly mongoProjectId: Output<string>;
|
|
9
|
-
readonly connectionString: Output<string>;
|
|
10
|
-
readonly databaseName: string;
|
|
11
|
-
constructor(args: MongoDBCustomInstanceArgs, opts?: CustomResourceOptions);
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
export type MongoDBDefaultInstanceArgs = {
|
|
3
|
-
organizationId: string;
|
|
4
|
-
projectId: string;
|
|
5
|
-
environmentName: string;
|
|
6
|
-
};
|
|
7
|
-
export declare class MongoDBDefaultInstance extends Resource {
|
|
8
|
-
readonly mongoProjectId: Output<string>;
|
|
9
|
-
readonly connectionString: Output<string>;
|
|
10
|
-
readonly databaseName: string;
|
|
11
|
-
constructor(args: MongoDBDefaultInstanceArgs, opts?: CustomResourceOptions);
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Input, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
export type MongoDBUserArgs = {
|
|
3
|
-
mongoProjectId: Input<string>;
|
|
4
|
-
databaseName: string;
|
|
5
|
-
projectId: string;
|
|
6
|
-
environmentName: string;
|
|
7
|
-
};
|
|
8
|
-
export declare class MongoDBUser extends Resource {
|
|
9
|
-
readonly username: string;
|
|
10
|
-
readonly password: Output<string>;
|
|
11
|
-
constructor(args: MongoDBUserArgs, opts?: CustomResourceOptions);
|
|
12
|
-
}
|
package/dist/mongodb/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MongoDBCustomInstance } from './MongoDBCustomInstance';
|
|
2
|
-
import { MongoDBDefaultInstance } from './MongoDBDefaultInstance';
|
|
3
|
-
import { MongoDBUser } from './MongoDBUser';
|
|
4
|
-
export * from './MongoDBCustomInstance';
|
|
5
|
-
export * from './MongoDBDefaultInstance';
|
|
6
|
-
export * from './MongoDBUser';
|
|
7
|
-
export declare const mongodb: {
|
|
8
|
-
MongoDBCustomInstance: typeof MongoDBCustomInstance;
|
|
9
|
-
MongoDBDefaultInstance: typeof MongoDBDefaultInstance;
|
|
10
|
-
MongoDBUser: typeof MongoDBUser;
|
|
11
|
-
};
|
package/dist/rest/RestApi.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as aws from '@pulumi/aws';
|
|
2
|
-
import type { CustomResourceOptions, Input } from '@pulumi/pulumi';
|
|
3
|
-
import type { NodeLambdaFunction } from '../lambda';
|
|
4
|
-
export interface RestApiArgs {
|
|
5
|
-
name: string;
|
|
6
|
-
projectId: string;
|
|
7
|
-
lambdaFunction: NodeLambdaFunction;
|
|
8
|
-
timeoutSeconds?: number;
|
|
9
|
-
stageName?: string;
|
|
10
|
-
domain: {
|
|
11
|
-
zoneId: Input<string>;
|
|
12
|
-
fullName: Input<string>;
|
|
13
|
-
usEast1CertificateArn: Input<string>;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare class RestApi extends aws.apigateway.RestApi {
|
|
17
|
-
readonly url: string;
|
|
18
|
-
constructor(id: string, args: RestApiArgs, opts?: CustomResourceOptions);
|
|
19
|
-
}
|
package/dist/rest/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Bucket, type BucketArgs } from '@pulumi/aws/s3';
|
|
2
|
-
import type { CustomResourceOptions } from '@pulumi/pulumi';
|
|
3
|
-
type PublicS3BucketArgs = {
|
|
4
|
-
name: string;
|
|
5
|
-
allowPresignedPost?: boolean;
|
|
6
|
-
tags?: BucketArgs['tags'];
|
|
7
|
-
};
|
|
8
|
-
export declare class PublicS3Bucket extends Bucket {
|
|
9
|
-
constructor(id: string, args: PublicS3BucketArgs, opts?: CustomResourceOptions);
|
|
10
|
-
}
|
|
11
|
-
export {};
|
package/dist/s3/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Input, Resource } from '@pulumi/pulumi';
|
|
2
|
-
import { type PublicS3Bucket } from '../s3';
|
|
3
|
-
export interface StaticWebsiteArgs {
|
|
4
|
-
projectId: string;
|
|
5
|
-
environmentName: string;
|
|
6
|
-
filesPath: string;
|
|
7
|
-
customDomain?: {
|
|
8
|
-
fullName: Input<string>;
|
|
9
|
-
zoneId: Input<string>;
|
|
10
|
-
usEast1CertificateArn: Input<string>;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export declare class StaticWebsite extends Resource {
|
|
14
|
-
url: string;
|
|
15
|
-
bucket: PublicS3Bucket;
|
|
16
|
-
constructor(id: string, args: StaticWebsiteArgs, opts?: CustomResourceOptions);
|
|
17
|
-
}
|
package/dist/website/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type CustomResourceOptions, type Input, type Output, Resource } from '@pulumi/pulumi';
|
|
2
|
-
import type { NodeLambdaFunction } from '../lambda';
|
|
3
|
-
export interface WebsocketApiArgs {
|
|
4
|
-
name: string;
|
|
5
|
-
lambdaFunction: NodeLambdaFunction;
|
|
6
|
-
routeThrottling?: {
|
|
7
|
-
rateLimit?: number;
|
|
8
|
-
burstLimit?: number;
|
|
9
|
-
};
|
|
10
|
-
stageName?: string;
|
|
11
|
-
domain: {
|
|
12
|
-
zoneId: Input<string>;
|
|
13
|
-
fullName: Input<string>;
|
|
14
|
-
euCentral1CertificateArn: Input<string>;
|
|
15
|
-
};
|
|
16
|
-
projectId: string;
|
|
17
|
-
}
|
|
18
|
-
export declare class WebsocketApi extends Resource {
|
|
19
|
-
id: Output<string>;
|
|
20
|
-
url: string;
|
|
21
|
-
constructor(id: string, args: WebsocketApiArgs, opts?: CustomResourceOptions);
|
|
22
|
-
}
|