Feature request: Add resource names to destination linkages #3036
allanchua101
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Currently you'd have to specify StripePayoutInitiatorCron:
Type: AWS::Serverless::Function
Connectors:
Properties:
ReadConnectors:
Destination:
- Type: AWS::SQS::Queue
Arn: !Sub "arn:${AWS::Partition}:sqs:${AWS::Region}:${AWS::AccountId}:${Environment}-${Version}-stripe-trail-queue" # SQS
- Type: AWS::DynamoDB::Table
Arn: !Sub "arn:${AWS::Partition}:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${Environment}-${Version}-stripe-payouts-db" # DynamoDB
Permissions:
- Read It might be technically possible to support StripePayoutInitiatorCron:
Type: AWS::Serverless::Function
Connectors:
Properties:
ReadConnectors:
Destination:
- Type: AWS::SQS::Queue
Name: !Sub "${Environment}-${Version}-stripe-trail-queue" # SQS
- Type: AWS::DynamoDB::Table
Name: !Sub "${Environment}-${Version}-stripe-payouts-db" # DynamoDB
Permissions:
- Read To understand better, is the specific problem that it's too much friction figuring out the ARN format when only the name is known? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe your idea/feature/enhancement
In order to ease SAM connector's integration to storage resources as destinations (DynamoDBs, SQS Queues and Secrets), it will be really cool to add support to their names. This will make cross cloud formation stack integration much easier.
Proposal
I wish SAM connectors could be defined such as:
Beta Was this translation helpful? Give feedback.
All reactions