LogsLogStream

class LogsLogStream : KotlinCustomResource

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

LogsLogStreams_CreateOrReplace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var logsLogStream = new AzureNative.AwsConnector.LogsLogStream("logsLogStream", new()
{
Location = "kptftndcymfuhgrknmxtkeqwlpjun",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.LogsLogStreamPropertiesArgs
{
Arn = "lzfqztmbbgeu",
AwsAccountId = "wdatjpiqtspvmqdqquuhipephuthnh",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLogsLogStreamPropertiesArgs
{
LogGroupName = "bfwnrdojlqlwrmih",
LogStreamName = "pbtlxfgftiixnduazjvqezmnpwbr",
},
AwsRegion = "dzyiblunsedfhiq",
AwsSourceSchema = "ffgsbwzxveleoxawcyogkiigworq",
AwsTags =
{
{ "key9843", "dbwvhopavlbkhbaofrgwznkwoj" },
},
PublicCloudConnectorsResourceId = "lihllkk",
PublicCloudResourceName = "wftlmsgyanjghqoyfkzoqgqxrcdkq",
},
ResourceGroupName = "rglogsLogStream",
Tags =
{
{ "key6354", "a" },
},
});
});
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.NewLogsLogStream(ctx, "logsLogStream", &awsconnector.LogsLogStreamArgs{
Location: pulumi.String("kptftndcymfuhgrknmxtkeqwlpjun"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.LogsLogStreamPropertiesArgs{
Arn: pulumi.String("lzfqztmbbgeu"),
AwsAccountId: pulumi.String("wdatjpiqtspvmqdqquuhipephuthnh"),
AwsProperties: &awsconnector.AwsLogsLogStreamPropertiesArgs{
LogGroupName: pulumi.String("bfwnrdojlqlwrmih"),
LogStreamName: pulumi.String("pbtlxfgftiixnduazjvqezmnpwbr"),
},
AwsRegion: pulumi.String("dzyiblunsedfhiq"),
AwsSourceSchema: pulumi.String("ffgsbwzxveleoxawcyogkiigworq"),
AwsTags: pulumi.StringMap{
"key9843": pulumi.String("dbwvhopavlbkhbaofrgwznkwoj"),
},
PublicCloudConnectorsResourceId: pulumi.String("lihllkk"),
PublicCloudResourceName: pulumi.String("wftlmsgyanjghqoyfkzoqgqxrcdkq"),
},
ResourceGroupName: pulumi.String("rglogsLogStream"),
Tags: pulumi.StringMap{
"key6354": pulumi.String("a"),
},
})
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.LogsLogStream;
import com.pulumi.azurenative.awsconnector.LogsLogStreamArgs;
import com.pulumi.azurenative.awsconnector.inputs.LogsLogStreamPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsLogsLogStreamPropertiesArgs;
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 logsLogStream = new LogsLogStream("logsLogStream", LogsLogStreamArgs.builder()
.location("kptftndcymfuhgrknmxtkeqwlpjun")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(LogsLogStreamPropertiesArgs.builder()
.arn("lzfqztmbbgeu")
.awsAccountId("wdatjpiqtspvmqdqquuhipephuthnh")
.awsProperties(AwsLogsLogStreamPropertiesArgs.builder()
.logGroupName("bfwnrdojlqlwrmih")
.logStreamName("pbtlxfgftiixnduazjvqezmnpwbr")
.build())
.awsRegion("dzyiblunsedfhiq")
.awsSourceSchema("ffgsbwzxveleoxawcyogkiigworq")
.awsTags(Map.of("key9843", "dbwvhopavlbkhbaofrgwznkwoj"))
.publicCloudConnectorsResourceId("lihllkk")
.publicCloudResourceName("wftlmsgyanjghqoyfkzoqgqxrcdkq")
.build())
.resourceGroupName("rglogsLogStream")
.tags(Map.of("key6354", "a"))
.build());
}
}

Import

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

$ pulumi import azure-native:awsconnector:LogsLogStream vgqiwnoslesmwgvckknr /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/logsLogStreams/{name}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The resource-specific properties for this resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>