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 공식업데이트됨 일 년 전