route_server_propagations
Creates, updates, deletes or gets a route_server_propagation resource or lists route_server_propagations in a region
Overview
| Name | route_server_propagations |
| Type | Resource |
| Description | VPC Route Server Propagation |
| Id | awscc.ec2.route_server_propagations |
Fields
| Name | Datatype | Description |
|---|---|---|
route_server_id | string | Route Server ID |
route_table_id | string | Route Table ID |
region | string | AWS region. |
For more information, see AWS::EC2::RouteServerPropagation.
Methods
| Name | Accessible by | Required Params |
|---|---|---|
create_resource | INSERT | RouteServerId, RouteTableId, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT examples
Gets all properties from an individual route_server_propagation.
SELECT
region,
route_server_id,
route_table_id
FROM awscc.ec2.route_server_propagations
WHERE region = 'us-east-1' AND data__Identifier = '<RouteServerId>|<RouteTableId>';
INSERT example
Use the following StackQL query and manifest file to create a new route_server_propagation resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.ec2.route_server_propagations (
RouteServerId,
RouteTableId,
region
)
SELECT
'{{ RouteServerId }}',
'{{ RouteTableId }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.ec2.route_server_propagations (
RouteServerId,
RouteTableId,
region
)
SELECT
'{{ RouteServerId }}',
'{{ RouteTableId }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: route_server_propagation
props:
- name: RouteServerId
value: '{{ RouteServerId }}'
- name: RouteTableId
value: '{{ RouteTableId }}'
DELETE example
/*+ delete */
DELETE FROM awscc.ec2.route_server_propagations
WHERE data__Identifier = '<RouteServerId|RouteTableId>'
AND region = 'us-east-1';
Permissions
To operate on the route_server_propagations resource, the following permissions are required:
Create
ec2:EnableRouteServerPropagation,
ec2:GetRouteServerPropagations
Read
ec2:GetRouteServerPropagations
Delete
ec2:GetRouteServerPropagations,
ec2:DisableRouteServerPropagation
List
ec2:DescribeRouteServers,
ec2:GetRouteServerPropagations