Ec2Route Table Args
data class Ec2RouteTableArgs(val location: Output<String>? = null, val name: Output<String>? = null, val properties: Output<Ec2RouteTablePropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<Ec2RouteTableArgs>
A Microsoft.AwsConnector resource Uses Azure REST API version 2024-12-01.
Example Usage
Ec2RouteTables_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var ec2RouteTable = new AzureNative.AwsConnector.Ec2RouteTable("ec2RouteTable", new()
{
Location = "hovrzjhgmyvotekfhnhfmvlcak",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.Ec2RouteTablePropertiesArgs
{
Arn = "eyazamslrmbbffijotyuugdepfsn",
AwsAccountId = "xlalfcqnhp",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2RouteTablePropertiesArgs
{
RouteTableId = "wjkircnwaktkmbnrmuglladvcdghmn",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "jeqm",
Value = "ywbmagghbowtrgxkmnquatuohxj",
},
},
VpcId = "ndnaspemjnmztnyriemuybzp",
},
AwsRegion = "tmqwjtpadpygxhke",
AwsSourceSchema = "usgtqolcmcjynbdhavnneb",
AwsTags =
{
{ "key7743", "osantdzwyijo" },
},
PublicCloudConnectorsResourceId = "kaqsj",
PublicCloudResourceName = "ierypwmwselkslavwkgcmz",
},
ResourceGroupName = "rgec2RouteTable",
Tags =
{
{ "key8794", "fhmajayysunpshosadan" },
},
});
});
Content copied to clipboard
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewEc2RouteTable(ctx, "ec2RouteTable", &awsconnector.Ec2RouteTableArgs{
Location: pulumi.String("hovrzjhgmyvotekfhnhfmvlcak"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.Ec2RouteTablePropertiesArgs{
Arn: pulumi.String("eyazamslrmbbffijotyuugdepfsn"),
AwsAccountId: pulumi.String("xlalfcqnhp"),
AwsProperties: &awsconnector.AwsEc2RouteTablePropertiesArgs{
RouteTableId: pulumi.String("wjkircnwaktkmbnrmuglladvcdghmn"),
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("jeqm"),
Value: pulumi.String("ywbmagghbowtrgxkmnquatuohxj"),
},
},
VpcId: pulumi.String("ndnaspemjnmztnyriemuybzp"),
},
AwsRegion: pulumi.String("tmqwjtpadpygxhke"),
AwsSourceSchema: pulumi.String("usgtqolcmcjynbdhavnneb"),
AwsTags: pulumi.StringMap{
"key7743": pulumi.String("osantdzwyijo"),
},
PublicCloudConnectorsResourceId: pulumi.String("kaqsj"),
PublicCloudResourceName: pulumi.String("ierypwmwselkslavwkgcmz"),
},
ResourceGroupName: pulumi.String("rgec2RouteTable"),
Tags: pulumi.StringMap{
"key8794": pulumi.String("fhmajayysunpshosadan"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.Ec2RouteTable;
import com.pulumi.azurenative.awsconnector.Ec2RouteTableArgs;
import com.pulumi.azurenative.awsconnector.inputs.Ec2RouteTablePropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsEc2RouteTablePropertiesArgs;
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 ec2RouteTable = new Ec2RouteTable("ec2RouteTable", Ec2RouteTableArgs.builder()
.location("hovrzjhgmyvotekfhnhfmvlcak")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(Ec2RouteTablePropertiesArgs.builder()
.arn("eyazamslrmbbffijotyuugdepfsn")
.awsAccountId("xlalfcqnhp")
.awsProperties(AwsEc2RouteTablePropertiesArgs.builder()
.routeTableId("wjkircnwaktkmbnrmuglladvcdghmn")
.tags(TagArgs.builder()
.key("jeqm")
.value("ywbmagghbowtrgxkmnquatuohxj")
.build())
.vpcId("ndnaspemjnmztnyriemuybzp")
.build())
.awsRegion("tmqwjtpadpygxhke")
.awsSourceSchema("usgtqolcmcjynbdhavnneb")
.awsTags(Map.of("key7743", "osantdzwyijo"))
.publicCloudConnectorsResourceId("kaqsj")
.publicCloudResourceName("ierypwmwselkslavwkgcmz")
.build())
.resourceGroupName("rgec2RouteTable")
.tags(Map.of("key8794", "fhmajayysunpshosadan"))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:Ec2RouteTable dforujria /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/ec2RouteTables/{name}
Content copied to clipboard