#author("2019-02-11T12:04:47+00:00","","") [[AWSメモ]] > * AWS CloudFormationメモ [#q8714c67] #setlinebreak(on); #contents -- 関連 --- [[AWS API Gateway&LambdaをFlaskに移行しやすいように作る]] --- [[AWS IotにPublishされたデータをDynamoDBに登録する]] --- [[AWS Lambdaで環境変数を使用する]] --- [[PythonでAWS DynamoDBのCRUDを書いてみる]] -- 参考 --- https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/Welcome.html ** 概要 [#dd0e7442] #html(<div style="padding-left: 10px;">) #TODO #html(</div>) ** AWS CloudFormation テンプレート形式 [#a83d7460] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/template-formats.html #html(</div>) ** 組み込み関数の利用 [#d4cfd34e] #html(<div style="padding-left: 10px;">) スタックの管理に役立ついくつかの組み込み関数が用意されている。 ここでは使用頻度の高い GetAtt と Ref について記載する。 参考 https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html *** GetAtt [#q6e79d07] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html #html(</div>) *** Ref [#l9fec0fa] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html #html(</div>) #html(</div>) ** マクロの利用 [#u18013e5] #html(<div style="padding-left: 10px;">) *** AWS::Serverless 変換 [#y2dbc281] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html #html(</div>) *** 定型コンテンツの挿入 [#ac8ec692] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/create-reusable-transform-function-snippets-and-add-to-your-template-with-aws-include-transform.html #html(</div>) #html(</div>) ** パラメータを使用する [#y20d2825] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html #html(</div>) ** 条件を指定する [#f111df71] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/conditions-section-structure.html #html(</div>) ** 他スタックの定義を再利用する [#kd44b137] #html(<div style="padding-left: 10px;">) https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/walkthrough-crossstackref.html #html(</div>) ** サンプル [#vad9a975] #html(<div style="padding-left: 10px;">) https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html ** Lambda単体 [#e54a9659] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/cfn-reference-lambda.html https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html #html(</div>) ** API Gateway & Lambda [#bcad9846] #html(<div style="padding-left: 10px;">) #TODO https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html #html(</div>) ** DynamoDB [#p42a469c] #html(<div style="padding-left: 10px;">) #TODO #html(</div>) #html(</div>)