-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
aws:cloudformationAWS CloudFormationAWS CloudFormationgood first issueGood item to work on for newcomersGood item to work on for newcomerstype: bugBug reportBug report
Description
cloudforamtio.yaml file
Description: 'Sample kinesis cloudformation'
Parameters:
TrackType:
Description: 'Track Type'
Type: String
AllowedValues:
- dev
- staging
- prod
Default: "dev"
streamName:
Description: "Stream Name"
Type: String
shardCount:
Description: "Source Queue Name"
Type: Number
Default: 1
Resources:
KinesisStream:
Type: AWS::Kinesis::Stream
Properties:
ShardCount: !Ref shardCount
Name: !Ref streamName
RetentionPeriodHours: 168
Outputs:
streamName:
Description: "Kinesis stream name"
Value:
Ref: "KinesisStream"
streamARN:
Description: "Kinesis stream arn"
Value:
Fn::GetAtt:
- "KinesisStream"
- "Arn"
ERROR:
return resource.get_cfn_attribute(resource_json["Fn::GetAtt"][1])
AttributeError: 'Stream' object has no attribute 'get_cfn_attribute'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aws:cloudformationAWS CloudFormationAWS CloudFormationgood first issueGood item to work on for newcomersGood item to work on for newcomerstype: bugBug reportBug report