New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@collaborne/custom-cloudformation-resources

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@collaborne/custom-cloudformation-resources - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

10

dist/cfn-response.d.ts
export declare const SUCCESS = "SUCCESS";
export declare const FAILED = "FAILED";
export declare type ResponseStatus = typeof SUCCESS | typeof FAILED;
/**
* See <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref-requests.html>
*/
export interface CustomResourceRequest {
/**
* The service token used for actually invoking the handler
*
* Note: This field is not documented by AWS, but it is visible both in dumps and other blog posts/medium articles.
*/
ServiceToken: string;
RequestType: 'Create' | 'Update' | 'Delete';
ServiceToken: string;
ResponseURL: string;

@@ -8,0 +16,0 @@ StackId: string;

@@ -11,4 +11,8 @@ import { CognitoIdentityServiceProvider } from 'aws-sdk';

};
UserPoolId: {
type: "string";
comment: string;
};
};
required: "UserPoolDomain"[];
required: string[];
};

@@ -15,0 +19,0 @@ declare type ResourceAttributes = Pick<CognitoIdentityServiceProvider.DomainDescriptionType, 'CloudFrontDistribution'>;

@@ -12,4 +12,8 @@ "use strict";

},
UserPoolId: {
type: 'string',
comment: 'Required to ensure that the attributes get updated when the domain is moved between user pools',
},
},
required: ['UserPoolDomain'],
required: ['UserPoolDomain', 'UserPoolId'],
};

@@ -16,0 +20,0 @@ class UserPoolDomainAttributes extends custom_resource_1.CustomResource {

2

package.json
{
"name": "@collaborne/custom-cloudformation-resources",
"version": "0.5.0",
"version": "0.5.1",
"description": "Custom CloudFormation resources",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -13,5 +13,13 @@ // Based on the cfn-response sources published by AWS at

/**
* See <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref-requests.html>
*/
export interface CustomResourceRequest {
/**
* The service token used for actually invoking the handler
*
* Note: This field is not documented by AWS, but it is visible both in dumps and other blog posts/medium articles.
*/
ServiceToken: string;
RequestType: 'Create' | 'Update' | 'Delete';
ServiceToken: string;
ResponseURL: string;

@@ -18,0 +26,0 @@ StackId: string;

@@ -14,4 +14,9 @@ import { CognitoIdentityServiceProvider } from 'aws-sdk';

},
UserPoolId: {
type: 'string' as const,
comment:
'Required to ensure that the attributes get updated when the domain is moved between user pools',
},
},
required: ['UserPoolDomain' as const],
required: ['UserPoolDomain' as const, 'UserPoolId'],
};

@@ -18,0 +23,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc