amazon-web-services

Can we export Cloud Formation template from an existing VPC?

和自甴很熟 提交于 2021-02-11 18:24:39
问题 We have a VPC which contains all services and databases used for the testing. We are now planning to setup another such VPC, so that we can have an extra testing env. Is there a way to export the CloudFormation template from the existing infrastructure ( VPC )? 回答1: Depends upon what all you want to clone/duplicate as well as to what level you would like to duplicate resources, you can look at following options; Use deprecated CloudFomer which is part of AWS CFN, you can built templates from

Can we export Cloud Formation template from an existing VPC?

不打扰是莪最后的温柔 提交于 2021-02-11 18:24:13
问题 We have a VPC which contains all services and databases used for the testing. We are now planning to setup another such VPC, so that we can have an extra testing env. Is there a way to export the CloudFormation template from the existing infrastructure ( VPC )? 回答1: Depends upon what all you want to clone/duplicate as well as to what level you would like to duplicate resources, you can look at following options; Use deprecated CloudFomer which is part of AWS CFN, you can built templates from

Play a message to the user after confirmation prompt. like “Please wait. While we are fetching your details”

為{幸葍}努か 提交于 2021-02-11 18:21:44
问题 I have set up a Lex bot which provides the order status to the user. User invoked the intent with a specific utterance. Then lex bot asked the information as requested in the slot specified. Then confirmation prompt is invoked "Are you sure you want information" and the user said "yes". before replying the user with the information, when the user says yes I want that lex bot should say "Please wait, while we are fetching your information". I have tried with different intents invoke. but

Play a message to the user after confirmation prompt. like “Please wait. While we are fetching your details”

*爱你&永不变心* 提交于 2021-02-11 18:21:15
问题 I have set up a Lex bot which provides the order status to the user. User invoked the intent with a specific utterance. Then lex bot asked the information as requested in the slot specified. Then confirmation prompt is invoked "Are you sure you want information" and the user said "yes". before replying the user with the information, when the user says yes I want that lex bot should say "Please wait, while we are fetching your information". I have tried with different intents invoke. but

SAM Template - API Authorizor to use existing Cognito User Pool

妖精的绣舞 提交于 2021-02-11 18:20:19
问题 UPDATE: Thanks for the help! I've updated the template.yml to include the Authorizer, but I'm getting an error still: HelloWorldApi: Type: AWS::Serverless::Api Properties: StageName: Prod Cors: "'*'" # Auth: # DefaultAuthorizer: MyCognitoAuthorizer # Authorizers: # MyCognitoAuthorizer: # UserPoolArn: arn:aws:cognito-idp:us-east-1:719235216593:userpool/my-user-pool-id HelloWorldFunction: Properties: CodeUri: hello-world/ Handler: app.lambdaHandler Runtime: nodejs10.x Events: HelloWorld: Type:

SAM Template - API Authorizor to use existing Cognito User Pool

北慕城南 提交于 2021-02-11 18:18:17
问题 UPDATE: Thanks for the help! I've updated the template.yml to include the Authorizer, but I'm getting an error still: HelloWorldApi: Type: AWS::Serverless::Api Properties: StageName: Prod Cors: "'*'" # Auth: # DefaultAuthorizer: MyCognitoAuthorizer # Authorizers: # MyCognitoAuthorizer: # UserPoolArn: arn:aws:cognito-idp:us-east-1:719235216593:userpool/my-user-pool-id HelloWorldFunction: Properties: CodeUri: hello-world/ Handler: app.lambdaHandler Runtime: nodejs10.x Events: HelloWorld: Type:

Why Amazon Forecast cannot train the predictor?

给你一囗甜甜゛ 提交于 2021-02-11 18:12:47
问题 While training my predictor I came across this error and I got stuck how to fix it. I have two data-series, a "Target time-series data" with 9234 rows and a single "item_id" and a second one that is "Related time-series data" with the same number of rows as I only have a single id. I'm setting de data with a window of 180 days, what is exactly the difference between the second and the first number that has appeared on the error, 9414 - 9234 = 180. We were unable to train your predictor.

Why Amazon Forecast cannot train the predictor?

ⅰ亾dé卋堺 提交于 2021-02-11 18:10:33
问题 While training my predictor I came across this error and I got stuck how to fix it. I have two data-series, a "Target time-series data" with 9234 rows and a single "item_id" and a second one that is "Related time-series data" with the same number of rows as I only have a single id. I'm setting de data with a window of 180 days, what is exactly the difference between the second and the first number that has appeared on the error, 9414 - 9234 = 180. We were unable to train your predictor.

Why Amazon Forecast cannot train the predictor?

核能气质少年 提交于 2021-02-11 18:08:31
问题 While training my predictor I came across this error and I got stuck how to fix it. I have two data-series, a "Target time-series data" with 9234 rows and a single "item_id" and a second one that is "Related time-series data" with the same number of rows as I only have a single id. I'm setting de data with a window of 180 days, what is exactly the difference between the second and the first number that has appeared on the error, 9414 - 9234 = 180. We were unable to train your predictor.

Cannot revoke_ingress for non-default VPC with boto3

坚强是说给别人听的谎言 提交于 2021-02-11 17:19:27
问题 AWS Lambda / python 2.7 / boto3 I'm trying to revoke one rule out of many in a security group ( SG_we_are_working_with ) but receive error An error occurred (InvalidGroup.NotFound) when calling the RevokeSecurityGroupIngress operation: The security group 'sg-xxxxx' does not exist in default VPC 'none' The SG is really not in the default VPC but custom one, but I mention VPC id explicitly! SG_we_are_working_with = 'sg-xxxxx' SG_which_is_the_source_of_the_traffic = 'sg-11111111' VpcId = 'vpc