aws.vpc.RouteServer
Explore with Pulumi AI
Provides a resource for managing a VPC (Virtual Private Cloud) Route Server.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.vpc.RouteServer("test", {
amazonSideAsn: 65534,
tags: {
Name: "Test",
},
});
import pulumi
import pulumi_aws as aws
test = aws.vpc.RouteServer("test",
amazon_side_asn=65534,
tags={
"Name": "Test",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewRouteServer(ctx, "test", &vpc.RouteServerArgs{
AmazonSideAsn: pulumi.Int(65534),
Tags: pulumi.StringMap{
"Name": pulumi.String("Test"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.Vpc.RouteServer("test", new()
{
AmazonSideAsn = 65534,
Tags =
{
{ "Name", "Test" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpc.RouteServer;
import com.pulumi.aws.vpc.RouteServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new RouteServer("test", RouteServerArgs.builder()
.amazonSideAsn(65534)
.tags(Map.of("Name", "Test"))
.build());
}
}
resources:
test:
type: aws:vpc:RouteServer
properties:
amazonSideAsn: 65534
tags:
Name: Test
Persist Route and SNS Notification
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.vpc.RouteServer("test", {
amazonSideAsn: 65534,
persistRoutes: "enable",
persistRoutesDuration: 2,
snsNotificationsEnabled: true,
tags: {
Name: "Main Route Server",
},
});
import pulumi
import pulumi_aws as aws
test = aws.vpc.RouteServer("test",
amazon_side_asn=65534,
persist_routes="enable",
persist_routes_duration=2,
sns_notifications_enabled=True,
tags={
"Name": "Main Route Server",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewRouteServer(ctx, "test", &vpc.RouteServerArgs{
AmazonSideAsn: pulumi.Int(65534),
PersistRoutes: pulumi.String("enable"),
PersistRoutesDuration: pulumi.Int(2),
SnsNotificationsEnabled: pulumi.Bool(true),
Tags: pulumi.StringMap{
"Name": pulumi.String("Main Route Server"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.Vpc.RouteServer("test", new()
{
AmazonSideAsn = 65534,
PersistRoutes = "enable",
PersistRoutesDuration = 2,
SnsNotificationsEnabled = true,
Tags =
{
{ "Name", "Main Route Server" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpc.RouteServer;
import com.pulumi.aws.vpc.RouteServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new RouteServer("test", RouteServerArgs.builder()
.amazonSideAsn(65534)
.persistRoutes("enable")
.persistRoutesDuration(2)
.snsNotificationsEnabled(true)
.tags(Map.of("Name", "Main Route Server"))
.build());
}
}
resources:
test:
type: aws:vpc:RouteServer
properties:
amazonSideAsn: 65534
persistRoutes: enable
persistRoutesDuration: 2
snsNotificationsEnabled: true
tags:
Name: Main 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[str] = None,
persist_routes_duration: Optional[int] = None,
sns_notifications_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[RouteServerTimeoutsArgs] = 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:vpc: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.
Constructor example
The following reference example uses placeholder values for all input properties.
var routeServerResource = new Aws.Vpc.RouteServer("routeServerResource", new()
{
AmazonSideAsn = 0,
PersistRoutes = "string",
PersistRoutesDuration = 0,
SnsNotificationsEnabled = false,
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Vpc.Inputs.RouteServerTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := vpc.NewRouteServer(ctx, "routeServerResource", &vpc.RouteServerArgs{
AmazonSideAsn: pulumi.Int(0),
PersistRoutes: pulumi.String("string"),
PersistRoutesDuration: pulumi.Int(0),
SnsNotificationsEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &vpc.RouteServerTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var routeServerResource = new RouteServer("routeServerResource", RouteServerArgs.builder()
.amazonSideAsn(0)
.persistRoutes("string")
.persistRoutesDuration(0)
.snsNotificationsEnabled(false)
.tags(Map.of("string", "string"))
.timeouts(RouteServerTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
route_server_resource = aws.vpc.RouteServer("routeServerResource",
amazon_side_asn=0,
persist_routes="string",
persist_routes_duration=0,
sns_notifications_enabled=False,
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const routeServerResource = new aws.vpc.RouteServer("routeServerResource", {
amazonSideAsn: 0,
persistRoutes: "string",
persistRoutesDuration: 0,
snsNotificationsEnabled: false,
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:vpc:RouteServer
properties:
amazonSideAsn: 0
persistRoutes: string
persistRoutesDuration: 0
snsNotificationsEnabled: false
tags:
string: string
timeouts:
create: string
delete: string
update: string
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 Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- Persist
Routes string - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- Persist
Routes intDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - Sns
Notifications boolEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Route
Server Timeouts
- Amazon
Side intAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- Persist
Routes string - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- Persist
Routes intDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - Sns
Notifications boolEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Timeouts
Route
Server Timeouts Args
- amazon
Side IntegerAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- persist
Routes String - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist
Routes IntegerDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - sns
Notifications BooleanEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Route
Server Timeouts
- amazon
Side numberAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- persist
Routes string - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist
Routes numberDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - sns
Notifications booleanEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Route
Server Timeouts
- amazon_
side_ intasn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- persist_
routes str - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist_
routes_ intduration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - sns_
notifications_ boolenabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts
Route
Server Timeouts Args
- amazon
Side NumberAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- persist
Routes String - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist
Routes NumberDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - sns
Notifications BooleanEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the RouteServer resource produces the following output properties:
- Arn string
- The ARN of the route server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Server stringId - The unique identifier of the route server.
- Sns
Topic stringArn - The ARN of the SNS topic where notifications are published.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- The ARN of the route server.
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Server stringId - The unique identifier of the route server.
- Sns
Topic stringArn - The ARN of the SNS topic where notifications are published.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- The ARN of the route server.
- id String
- The provider-assigned unique ID for this managed resource.
- route
Server StringId - The unique identifier of the route server.
- sns
Topic StringArn - The ARN of the SNS topic where notifications are published.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- The ARN of the route server.
- id string
- The provider-assigned unique ID for this managed resource.
- route
Server stringId - The unique identifier of the route server.
- sns
Topic stringArn - The ARN of the SNS topic where notifications are published.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- The ARN of the route server.
- id str
- The provider-assigned unique ID for this managed resource.
- route_
server_ strid - The unique identifier of the route server.
- sns_
topic_ strarn - The ARN of the SNS topic where notifications are published.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- The ARN of the route server.
- id String
- The provider-assigned unique ID for this managed resource.
- route
Server StringId - The unique identifier of the route server.
- sns
Topic StringArn - The ARN of the SNS topic where notifications are published.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing RouteServer Resource
Get an existing RouteServer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RouteServerState, opts?: CustomResourceOptions): RouteServer
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
amazon_side_asn: Optional[int] = None,
arn: Optional[str] = None,
persist_routes: Optional[str] = None,
persist_routes_duration: Optional[int] = None,
route_server_id: Optional[str] = None,
sns_notifications_enabled: Optional[bool] = None,
sns_topic_arn: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[RouteServerTimeoutsArgs] = None) -> RouteServer
func GetRouteServer(ctx *Context, name string, id IDInput, state *RouteServerState, opts ...ResourceOption) (*RouteServer, error)
public static RouteServer Get(string name, Input<string> id, RouteServerState? state, CustomResourceOptions? opts = null)
public static RouteServer get(String name, Output<String> id, RouteServerState state, CustomResourceOptions options)
resources: _: type: aws:vpc:RouteServer get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Amazon
Side intAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- Arn string
- The ARN of the route server.
- Persist
Routes string - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- Persist
Routes intDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - Route
Server stringId - The unique identifier of the route server.
- Sns
Notifications boolEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- Sns
Topic stringArn - The ARN of the SNS topic where notifications are published.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Route
Server Timeouts
- Amazon
Side intAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- Arn string
- The ARN of the route server.
- Persist
Routes string - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- Persist
Routes intDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - Route
Server stringId - The unique identifier of the route server.
- Sns
Notifications boolEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- Sns
Topic stringArn - The ARN of the SNS topic where notifications are published.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Route
Server Timeouts Args
- amazon
Side IntegerAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- arn String
- The ARN of the route server.
- persist
Routes String - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist
Routes IntegerDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - route
Server StringId - The unique identifier of the route server.
- sns
Notifications BooleanEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- sns
Topic StringArn - The ARN of the SNS topic where notifications are published.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Route
Server Timeouts
- amazon
Side numberAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- arn string
- The ARN of the route server.
- persist
Routes string - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist
Routes numberDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - route
Server stringId - The unique identifier of the route server.
- sns
Notifications booleanEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- sns
Topic stringArn - The ARN of the SNS topic where notifications are published.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Route
Server Timeouts
- amazon_
side_ intasn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- arn str
- The ARN of the route server.
- persist_
routes str - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist_
routes_ intduration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - route_
server_ strid - The unique identifier of the route server.
- sns_
notifications_ boolenabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- sns_
topic_ strarn - The ARN of the SNS topic where notifications are published.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Route
Server Timeouts Args
- amazon
Side NumberAsn The Border Gateway Protocol (BGP) Autonomous System Number (ASN) for the appliance. Valid values are from 1 to 4294967295.
The following arguments are optional:
- arn String
- The ARN of the route server.
- persist
Routes String - Indicates whether routes should be persisted after all BGP sessions are terminated. Valid values are
enable
,disable
,reset
- persist
Routes NumberDuration - The number of minutes a route server will wait after BGP is re-established to unpersist the routes in the FIB and RIB. Value must be in the range of 1-5. Required if
persist_routes
is enabled. - route
Server StringId - The unique identifier of the route server.
- sns
Notifications BooleanEnabled - Indicates whether SNS notifications should be enabled for route server events. Enabling SNS notifications persists BGP status changes to an SNS topic provisioned by AWS`.
- sns
Topic StringArn - The ARN of the SNS topic where notifications are published.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
Supporting Types
RouteServerTimeouts, RouteServerTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
Using pulumi import
, import VPC (Virtual Private Cloud) Route Server using the route_server_id
. For example:
$ pulumi import aws:vpc/routeServer:RouteServer example rs-12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.