SqsQueueArgs

data class SqsQueueArgs(val location: Output<String>? = null, val name: Output<String>? = null, val properties: Output<SqsQueuePropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SqsQueueArgs>

A Microsoft.AwsConnector resource Uses Azure REST API version 2024-12-01. In version 2.x of the Azure Native provider, it used API version 2024-12-01.

Example Usage

SqsQueues_CreateOrReplace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sqsQueue = new AzureNative.AwsConnector.SqsQueue("sqsQueue", new()
{
Location = "fqdcgrb",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.SqsQueuePropertiesArgs
{
Arn = "jalxzvcntv",
AwsAccountId = "bzpgnzvrnsakbglgcvaalyaiocj",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsSqsQueuePropertiesArgs
{
Arn = "inbbhuaqgvjzwgepxaejncp",
ContentBasedDeduplication = true,
DeduplicationScope = "chijpjniyonhtrbqaojc",
DelaySeconds = 22,
FifoQueue = true,
FifoThroughputLimit = "vzanxuahrdoqizyblwtvse",
KmsDataKeyReusePeriodSeconds = 1,
KmsMasterKeyId = "qcjgqtmyhiqnbwaevgoeagy",
MaximumMessageSize = 19,
MessageRetentionPeriod = 29,
QueueName = "wfzhdsdzszyxfgptplvduwr",
QueueUrl = "drfgltnvn",
ReceiveMessageWaitTimeSeconds = 4,
RedriveAllowPolicy = null,
RedrivePolicy = null,
SqsManagedSseEnabled = true,
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "xvchjfddrrmpbyizcjxdplxu",
Value = "nxjcfolrd",
},
},
VisibilityTimeout = 2,
},
AwsRegion = "ffdlbwzdurjlolipnjsycrmeqsg",
AwsSourceSchema = "jnthvapvjtoexig",
AwsTags =
{
{ "key9800", "dnaxwo" },
},
PublicCloudConnectorsResourceId = "uvqyizhqjdsnemqktjsgfmjhyw",
PublicCloudResourceName = "izckbeceljsvepm",
},
ResourceGroupName = "rgsqsQueue",
Tags =
{
{ "key7215", "qvolsxokcslzpnq" },
},
});
});
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewSqsQueue(ctx, "sqsQueue", &awsconnector.SqsQueueArgs{
Location: pulumi.String("fqdcgrb"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.SqsQueuePropertiesArgs{
Arn: pulumi.String("jalxzvcntv"),
AwsAccountId: pulumi.String("bzpgnzvrnsakbglgcvaalyaiocj"),
AwsProperties: &awsconnector.AwsSqsQueuePropertiesArgs{
Arn: pulumi.String("inbbhuaqgvjzwgepxaejncp"),
ContentBasedDeduplication: pulumi.Bool(true),
DeduplicationScope: pulumi.String("chijpjniyonhtrbqaojc"),
DelaySeconds: pulumi.Int(22),
FifoQueue: pulumi.Bool(true),
FifoThroughputLimit: pulumi.String("vzanxuahrdoqizyblwtvse"),
KmsDataKeyReusePeriodSeconds: pulumi.Int(1),
KmsMasterKeyId: pulumi.String("qcjgqtmyhiqnbwaevgoeagy"),
MaximumMessageSize: pulumi.Int(19),
MessageRetentionPeriod: pulumi.Int(29),
QueueName: pulumi.String("wfzhdsdzszyxfgptplvduwr"),
QueueUrl: pulumi.String("drfgltnvn"),
ReceiveMessageWaitTimeSeconds: pulumi.Int(4),
RedriveAllowPolicy: pulumi.Any(map[string]interface{}{}),
RedrivePolicy: pulumi.Any(map[string]interface{}{}),
SqsManagedSseEnabled: pulumi.Bool(true),
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("xvchjfddrrmpbyizcjxdplxu"),
Value: pulumi.String("nxjcfolrd"),
},
},
VisibilityTimeout: pulumi.Int(2),
},
AwsRegion: pulumi.String("ffdlbwzdurjlolipnjsycrmeqsg"),
AwsSourceSchema: pulumi.String("jnthvapvjtoexig"),
AwsTags: pulumi.StringMap{
"key9800": pulumi.String("dnaxwo"),
},
PublicCloudConnectorsResourceId: pulumi.String("uvqyizhqjdsnemqktjsgfmjhyw"),
PublicCloudResourceName: pulumi.String("izckbeceljsvepm"),
},
ResourceGroupName: pulumi.String("rgsqsQueue"),
Tags: pulumi.StringMap{
"key7215": pulumi.String("qvolsxokcslzpnq"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.SqsQueue;
import com.pulumi.azurenative.awsconnector.SqsQueueArgs;
import com.pulumi.azurenative.awsconnector.inputs.SqsQueuePropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsSqsQueuePropertiesArgs;
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 sqsQueue = new SqsQueue("sqsQueue", SqsQueueArgs.builder()
.location("fqdcgrb")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(SqsQueuePropertiesArgs.builder()
.arn("jalxzvcntv")
.awsAccountId("bzpgnzvrnsakbglgcvaalyaiocj")
.awsProperties(AwsSqsQueuePropertiesArgs.builder()
.arn("inbbhuaqgvjzwgepxaejncp")
.contentBasedDeduplication(true)
.deduplicationScope("chijpjniyonhtrbqaojc")
.delaySeconds(22)
.fifoQueue(true)
.fifoThroughputLimit("vzanxuahrdoqizyblwtvse")
.kmsDataKeyReusePeriodSeconds(1)
.kmsMasterKeyId("qcjgqtmyhiqnbwaevgoeagy")
.maximumMessageSize(19)
.messageRetentionPeriod(29)
.queueName("wfzhdsdzszyxfgptplvduwr")
.queueUrl("drfgltnvn")
.receiveMessageWaitTimeSeconds(4)
.redriveAllowPolicy(Map.ofEntries(
))
.redrivePolicy(Map.ofEntries(
))
.sqsManagedSseEnabled(true)
.tags(TagArgs.builder()
.key("xvchjfddrrmpbyizcjxdplxu")
.value("nxjcfolrd")
.build())
.visibilityTimeout(2)
.build())
.awsRegion("ffdlbwzdurjlolipnjsycrmeqsg")
.awsSourceSchema("jnthvapvjtoexig")
.awsTags(Map.of("key9800", "dnaxwo"))
.publicCloudConnectorsResourceId("uvqyizhqjdsnemqktjsgfmjhyw")
.publicCloudResourceName("izckbeceljsvepm")
.build())
.resourceGroupName("rgsqsQueue")
.tags(Map.of("key7215", "qvolsxokcslzpnq"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:awsconnector:SqsQueue itprn /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/sqsQueues/{name}

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, name: Output<String>? = null, properties: Output<SqsQueuePropertiesArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>? = null

Name of SqsQueue

Link copied to clipboard
val properties: Output<SqsQueuePropertiesArgs>? = null

The resource-specific properties for this resource.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Functions

Link copied to clipboard
open override fun toJava(): SqsQueueArgs