MacieAllowListArgs

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

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

MacieAllowLists_CreateOrReplace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var macieAllowList = new AzureNative.AwsConnector.MacieAllowList("macieAllowList", new()
{
Location = "ljfzlbopfuubipqzi",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.MacieAllowListPropertiesArgs
{
Arn = "iuotvbrnfqcexaumxdelcobenu",
AwsAccountId = "jf",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsMacieAllowListPropertiesArgs
{
Arn = "xdvleyfipecptdivylwygmlsaua",
Criteria = new AzureNative.AwsConnector.Inputs.CriteriaArgs
{
Regex = "lixefi",
S3WordsList = new AzureNative.AwsConnector.Inputs.S3WordsListArgs
{
BucketName = "nfztmnzebbxtnmqmrmyqnuho",
ObjectKey = "pobipzkebqlgjxfwucoq",
},
},
Description = "wvwzsjgqyvyjbb",
Id = "ssesuxsvbo",
Name = "nkimocnjypmzr",
Status = "OK",
Tags = new[]
{
new AzureNative.AwsConnector.Inputs.TagArgs
{
Key = "hjfhvyhpoebquxi",
Value = "hipfzph",
},
},
},
AwsRegion = "x",
AwsSourceSchema = "vviqkggctwa",
AwsTags =
{
{ "key6335", "ewozmljpzvhwyzkp" },
},
PublicCloudConnectorsResourceId = "rqoahjiblmrymixvgegzwfqdq",
PublicCloudResourceName = "ggubisvuvunhxrj",
},
ResourceGroupName = "rgmacieAllowList",
Tags =
{
{ "key2466", "ptogkwqufoxaylatzvn" },
},
});
});
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.NewMacieAllowList(ctx, "macieAllowList", &awsconnector.MacieAllowListArgs{
Location: pulumi.String("ljfzlbopfuubipqzi"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.MacieAllowListPropertiesArgs{
Arn: pulumi.String("iuotvbrnfqcexaumxdelcobenu"),
AwsAccountId: pulumi.String("jf"),
AwsProperties: &awsconnector.AwsMacieAllowListPropertiesArgs{
Arn: pulumi.String("xdvleyfipecptdivylwygmlsaua"),
Criteria: &awsconnector.CriteriaArgs{
Regex: pulumi.String("lixefi"),
S3WordsList: &awsconnector.S3WordsListArgs{
BucketName: pulumi.String("nfztmnzebbxtnmqmrmyqnuho"),
ObjectKey: pulumi.String("pobipzkebqlgjxfwucoq"),
},
},
Description: pulumi.String("wvwzsjgqyvyjbb"),
Id: pulumi.String("ssesuxsvbo"),
Name: pulumi.String("nkimocnjypmzr"),
Status: pulumi.String("OK"),
Tags: awsconnector.TagArray{
&awsconnector.TagArgs{
Key: pulumi.String("hjfhvyhpoebquxi"),
Value: pulumi.String("hipfzph"),
},
},
},
AwsRegion: pulumi.String("x"),
AwsSourceSchema: pulumi.String("vviqkggctwa"),
AwsTags: pulumi.StringMap{
"key6335": pulumi.String("ewozmljpzvhwyzkp"),
},
PublicCloudConnectorsResourceId: pulumi.String("rqoahjiblmrymixvgegzwfqdq"),
PublicCloudResourceName: pulumi.String("ggubisvuvunhxrj"),
},
ResourceGroupName: pulumi.String("rgmacieAllowList"),
Tags: pulumi.StringMap{
"key2466": pulumi.String("ptogkwqufoxaylatzvn"),
},
})
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.MacieAllowList;
import com.pulumi.azurenative.awsconnector.MacieAllowListArgs;
import com.pulumi.azurenative.awsconnector.inputs.MacieAllowListPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsMacieAllowListPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.CriteriaArgs;
import com.pulumi.azurenative.awsconnector.inputs.S3WordsListArgs;
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 macieAllowList = new MacieAllowList("macieAllowList", MacieAllowListArgs.builder()
.location("ljfzlbopfuubipqzi")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(MacieAllowListPropertiesArgs.builder()
.arn("iuotvbrnfqcexaumxdelcobenu")
.awsAccountId("jf")
.awsProperties(AwsMacieAllowListPropertiesArgs.builder()
.arn("xdvleyfipecptdivylwygmlsaua")
.criteria(CriteriaArgs.builder()
.regex("lixefi")
.s3WordsList(S3WordsListArgs.builder()
.bucketName("nfztmnzebbxtnmqmrmyqnuho")
.objectKey("pobipzkebqlgjxfwucoq")
.build())
.build())
.description("wvwzsjgqyvyjbb")
.id("ssesuxsvbo")
.name("nkimocnjypmzr")
.status("OK")
.tags(TagArgs.builder()
.key("hjfhvyhpoebquxi")
.value("hipfzph")
.build())
.build())
.awsRegion("x")
.awsSourceSchema("vviqkggctwa")
.awsTags(Map.of("key6335", "ewozmljpzvhwyzkp"))
.publicCloudConnectorsResourceId("rqoahjiblmrymixvgegzwfqdq")
.publicCloudResourceName("ggubisvuvunhxrj")
.build())
.resourceGroupName("rgmacieAllowList")
.tags(Map.of("key2466", "ptogkwqufoxaylatzvn"))
.build());
}
}

Import

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

$ pulumi import azure-native:awsconnector:MacieAllowList hvagfcfptxeifjf /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/macieAllowLists/{name}

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, name: Output<String>? = null, properties: Output<MacieAllowListPropertiesArgs>? = 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 MacieAllowList

Link copied to clipboard

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(): MacieAllowListArgs