We recommend new projects start with resources from the AWS provider.
aws-native.ec2.RouteServer
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
VPC Route Server
Create RouteServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RouteServer(name: string, args: RouteServerArgs, opts?: CustomResourceOptions);
@overload
def RouteServer(resource_name: str,
args: RouteServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RouteServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
amazon_side_asn: Optional[int] = None,
persist_routes: Optional[RouteServerPersistRoutes] = None,
persist_routes_duration: Optional[int] = None,
sns_notifications_enabled: Optional[bool] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewRouteServer(ctx *Context, name string, args RouteServerArgs, opts ...ResourceOption) (*RouteServer, error)
public RouteServer(string name, RouteServerArgs args, CustomResourceOptions? opts = null)
public RouteServer(String name, RouteServerArgs args)
public RouteServer(String name, RouteServerArgs args, CustomResourceOptions options)
type: aws-native:ec2:RouteServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RouteServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RouteServerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RouteServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouteServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RouteServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RouteServer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RouteServer resource accepts the following input properties:
- Amazon
Side intAsn - The Amazon-side ASN of the Route Server.
- Persist
Routes Pulumi.Aws Native. Ec2. Route Server Persist Routes - Whether to enable persistent routes
- Persist
Routes intDuration - The duration of persistent routes in minutes
- Sns
Notifications boolEnabled - Whether to enable SNS notifications
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Amazon
Side intAsn - The Amazon-side ASN of the Route Server.
- Persist
Routes RouteServer Persist Routes - Whether to enable persistent routes
- Persist
Routes intDuration - The duration of persistent routes in minutes
- Sns
Notifications boolEnabled - Whether to enable SNS notifications
- Tag
Args - An array of key-value pairs to apply to this resource.
- amazon
Side IntegerAsn - The Amazon-side ASN of the Route Server.
- persist
Routes RouteServer Persist Routes - Whether to enable persistent routes
- persist
Routes IntegerDuration - The duration of persistent routes in minutes
- sns
Notifications BooleanEnabled - Whether to enable SNS notifications
- List<Tag>
- An array of key-value pairs to apply to this resource.
- amazon
Side numberAsn - The Amazon-side ASN of the Route Server.
- persist
Routes RouteServer Persist Routes - Whether to enable persistent routes
- persist
Routes numberDuration - The duration of persistent routes in minutes
- sns
Notifications booleanEnabled - Whether to enable SNS notifications
- Tag[]
- An array of key-value pairs to apply to this resource.
- amazon_
side_ intasn - The Amazon-side ASN of the Route Server.
- persist_
routes RouteServer Persist Routes - Whether to enable persistent routes
- persist_
routes_ intduration - The duration of persistent routes in minutes
- sns_
notifications_ boolenabled - Whether to enable SNS notifications
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- amazon
Side NumberAsn - The Amazon-side ASN of the Route Server.
- persist
Routes "enable" | "disable" - Whether to enable persistent routes
- persist
Routes NumberDuration - The duration of persistent routes in minutes
- sns
Notifications BooleanEnabled - Whether to enable SNS notifications
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the RouteServer resource produces the following output properties:
Supporting Types
RouteServerPersistRoutes, RouteServerPersistRoutesArgs
- Enable
- enable
- Disable
- disable
- Route
Server Persist Routes Enable - enable
- Route
Server Persist Routes Disable - disable
- Enable
- enable
- Disable
- disable
- Enable
- enable
- Disable
- disable
- ENABLE
- enable
- DISABLE
- disable
- "enable"
- enable
- "disable"
- disable
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.