1 個回答
- 最新
- 最多得票
- 最多評論
1
Hello.
You can create parameters using "Type: AWS::SSM::Parameter".
The return value "Fn::GetAtt Value" is the parameter value.
https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-parameter.html
So I think you can reference the parameters in the following way.
---
Resources:
BasicParameter:
Type: AWS::SSM::Parameter
Properties:
Name: command
Type: String
Value: date
Description: SSM Parameter for running date command.
AllowedPattern: "^[a-zA-Z]{1,10}$"
Tags:
Environment: DEV
Outputs:
ssmparameter:
Value: !GetAtt BasicParameter.Value
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前