1. Packages
  2. Azure Native
  3. API Docs
  4. awsconnector
  5. Ec2FlowLog
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.awsconnector.Ec2FlowLog

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

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

Ec2FlowLogs_CreateOrReplace

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var ec2FlowLog = new AzureNative.AwsConnector.Ec2FlowLog("ec2FlowLog", new()
    {
        Location = "iheortzyczwfplyjuuqwhdtpscn",
        Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
        Properties = new AzureNative.AwsConnector.Inputs.Ec2FlowLogPropertiesArgs
        {
            Arn = "ilajcrcqxitnhyhorqitssmvsfwen",
            AwsAccountId = "shsomlkgpjnxnonvrv",
            AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2FlowLogPropertiesArgs
            {
                DeliverCrossAccountRole = "upu",
                DeliverLogsPermissionArn = "sfhmarwniuptmkaegsplmsozsmc",
                DestinationOptions = new AzureNative.AwsConnector.Inputs.DestinationOptionsModelPropertiesArgs
                {
                    FileFormat = AzureNative.AwsConnector.FileFormat.Parquet,
                    HiveCompatiblePartitions = true,
                    PerHourPartition = true,
                },
                Id = "idflwxdxpu",
                LogDestination = "ztqhcrirplxmgncvubutyzqefvd",
                LogDestinationType = AzureNative.AwsConnector.LogDestinationType.CloudWatchLogs,
                LogFormat = "miqwrkvqyq",
                LogGroupName = "gptervjekilsbzqokcmrbumaie",
                MaxAggregationInterval = 15,
                ResourceId = "mokmavuqvq",
                ResourceType = "NetworkInterface",
                Tags = new[]
                {
                    new AzureNative.AwsConnector.Inputs.TagArgs
                    {
                        Key = "hpdlgqvamjjtqreaoxergrowvu",
                        Value = "qdqsngozfinennzbilnzeemjzilpb",
                    },
                },
                TrafficType = AzureNative.AwsConnector.TrafficType.ACCEPT,
            },
            AwsRegion = "stazvnpsmrpkoxyyzngdkkuif",
            AwsSourceSchema = "pnjgqxqhnwhcs",
            AwsTags = 
            {
                { "key3000", "acmzumzbkwgpabbmyshaigqlt" },
            },
            PublicCloudConnectorsResourceId = "djh",
            PublicCloudResourceName = "ymv",
        },
        ResourceGroupName = "rgec2FlowLog",
        Tags = 
        {
            { "key8783", "hbgkwojrzrpoaac" },
        },
    });

});
Copy
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.NewEc2FlowLog(ctx, "ec2FlowLog", &awsconnector.Ec2FlowLogArgs{
			Location: pulumi.String("iheortzyczwfplyjuuqwhdtpscn"),
			Name:     pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
			Properties: &awsconnector.Ec2FlowLogPropertiesArgs{
				Arn:          pulumi.String("ilajcrcqxitnhyhorqitssmvsfwen"),
				AwsAccountId: pulumi.String("shsomlkgpjnxnonvrv"),
				AwsProperties: &awsconnector.AwsEc2FlowLogPropertiesArgs{
					DeliverCrossAccountRole:  pulumi.String("upu"),
					DeliverLogsPermissionArn: pulumi.String("sfhmarwniuptmkaegsplmsozsmc"),
					DestinationOptions: &awsconnector.DestinationOptionsModelPropertiesArgs{
						FileFormat:               pulumi.String(awsconnector.FileFormatParquet),
						HiveCompatiblePartitions: pulumi.Bool(true),
						PerHourPartition:         pulumi.Bool(true),
					},
					Id:                     pulumi.String("idflwxdxpu"),
					LogDestination:         pulumi.String("ztqhcrirplxmgncvubutyzqefvd"),
					LogDestinationType:     pulumi.String(awsconnector.LogDestinationTypeCloudWatchLogs),
					LogFormat:              pulumi.String("miqwrkvqyq"),
					LogGroupName:           pulumi.String("gptervjekilsbzqokcmrbumaie"),
					MaxAggregationInterval: pulumi.Int(15),
					ResourceId:             pulumi.String("mokmavuqvq"),
					ResourceType:           pulumi.String("NetworkInterface"),
					Tags: awsconnector.TagArray{
						&awsconnector.TagArgs{
							Key:   pulumi.String("hpdlgqvamjjtqreaoxergrowvu"),
							Value: pulumi.String("qdqsngozfinennzbilnzeemjzilpb"),
						},
					},
					TrafficType: pulumi.String(awsconnector.TrafficTypeACCEPT),
				},
				AwsRegion:       pulumi.String("stazvnpsmrpkoxyyzngdkkuif"),
				AwsSourceSchema: pulumi.String("pnjgqxqhnwhcs"),
				AwsTags: pulumi.StringMap{
					"key3000": pulumi.String("acmzumzbkwgpabbmyshaigqlt"),
				},
				PublicCloudConnectorsResourceId: pulumi.String("djh"),
				PublicCloudResourceName:         pulumi.String("ymv"),
			},
			ResourceGroupName: pulumi.String("rgec2FlowLog"),
			Tags: pulumi.StringMap{
				"key8783": pulumi.String("hbgkwojrzrpoaac"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.Ec2FlowLog;
import com.pulumi.azurenative.awsconnector.Ec2FlowLogArgs;
import com.pulumi.azurenative.awsconnector.inputs.Ec2FlowLogPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsEc2FlowLogPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.DestinationOptionsModelPropertiesArgs;
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 ec2FlowLog = new Ec2FlowLog("ec2FlowLog", Ec2FlowLogArgs.builder()
            .location("iheortzyczwfplyjuuqwhdtpscn")
            .name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
            .properties(Ec2FlowLogPropertiesArgs.builder()
                .arn("ilajcrcqxitnhyhorqitssmvsfwen")
                .awsAccountId("shsomlkgpjnxnonvrv")
                .awsProperties(AwsEc2FlowLogPropertiesArgs.builder()
                    .deliverCrossAccountRole("upu")
                    .deliverLogsPermissionArn("sfhmarwniuptmkaegsplmsozsmc")
                    .destinationOptions(DestinationOptionsModelPropertiesArgs.builder()
                        .fileFormat("parquet")
                        .hiveCompatiblePartitions(true)
                        .perHourPartition(true)
                        .build())
                    .id("idflwxdxpu")
                    .logDestination("ztqhcrirplxmgncvubutyzqefvd")
                    .logDestinationType("cloud-watch-logs")
                    .logFormat("miqwrkvqyq")
                    .logGroupName("gptervjekilsbzqokcmrbumaie")
                    .maxAggregationInterval(15)
                    .resourceId("mokmavuqvq")
                    .resourceType("NetworkInterface")
                    .tags(TagArgs.builder()
                        .key("hpdlgqvamjjtqreaoxergrowvu")
                        .value("qdqsngozfinennzbilnzeemjzilpb")
                        .build())
                    .trafficType("ACCEPT")
                    .build())
                .awsRegion("stazvnpsmrpkoxyyzngdkkuif")
                .awsSourceSchema("pnjgqxqhnwhcs")
                .awsTags(Map.of("key3000", "acmzumzbkwgpabbmyshaigqlt"))
                .publicCloudConnectorsResourceId("djh")
                .publicCloudResourceName("ymv")
                .build())
            .resourceGroupName("rgec2FlowLog")
            .tags(Map.of("key8783", "hbgkwojrzrpoaac"))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const ec2FlowLog = new azure_native.awsconnector.Ec2FlowLog("ec2FlowLog", {
    location: "iheortzyczwfplyjuuqwhdtpscn",
    name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties: {
        arn: "ilajcrcqxitnhyhorqitssmvsfwen",
        awsAccountId: "shsomlkgpjnxnonvrv",
        awsProperties: {
            deliverCrossAccountRole: "upu",
            deliverLogsPermissionArn: "sfhmarwniuptmkaegsplmsozsmc",
            destinationOptions: {
                fileFormat: azure_native.awsconnector.FileFormat.Parquet,
                hiveCompatiblePartitions: true,
                perHourPartition: true,
            },
            id: "idflwxdxpu",
            logDestination: "ztqhcrirplxmgncvubutyzqefvd",
            logDestinationType: azure_native.awsconnector.LogDestinationType.CloudWatchLogs,
            logFormat: "miqwrkvqyq",
            logGroupName: "gptervjekilsbzqokcmrbumaie",
            maxAggregationInterval: 15,
            resourceId: "mokmavuqvq",
            resourceType: "NetworkInterface",
            tags: [{
                key: "hpdlgqvamjjtqreaoxergrowvu",
                value: "qdqsngozfinennzbilnzeemjzilpb",
            }],
            trafficType: azure_native.awsconnector.TrafficType.ACCEPT,
        },
        awsRegion: "stazvnpsmrpkoxyyzngdkkuif",
        awsSourceSchema: "pnjgqxqhnwhcs",
        awsTags: {
            key3000: "acmzumzbkwgpabbmyshaigqlt",
        },
        publicCloudConnectorsResourceId: "djh",
        publicCloudResourceName: "ymv",
    },
    resourceGroupName: "rgec2FlowLog",
    tags: {
        key8783: "hbgkwojrzrpoaac",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

ec2_flow_log = azure_native.awsconnector.Ec2FlowLog("ec2FlowLog",
    location="iheortzyczwfplyjuuqwhdtpscn",
    name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
    properties={
        "arn": "ilajcrcqxitnhyhorqitssmvsfwen",
        "aws_account_id": "shsomlkgpjnxnonvrv",
        "aws_properties": {
            "deliver_cross_account_role": "upu",
            "deliver_logs_permission_arn": "sfhmarwniuptmkaegsplmsozsmc",
            "destination_options": {
                "file_format": azure_native.awsconnector.FileFormat.PARQUET,
                "hive_compatible_partitions": True,
                "per_hour_partition": True,
            },
            "id": "idflwxdxpu",
            "log_destination": "ztqhcrirplxmgncvubutyzqefvd",
            "log_destination_type": azure_native.awsconnector.LogDestinationType.CLOUD_WATCH_LOGS,
            "log_format": "miqwrkvqyq",
            "log_group_name": "gptervjekilsbzqokcmrbumaie",
            "max_aggregation_interval": 15,
            "resource_id": "mokmavuqvq",
            "resource_type": "NetworkInterface",
            "tags": [{
                "key": "hpdlgqvamjjtqreaoxergrowvu",
                "value": "qdqsngozfinennzbilnzeemjzilpb",
            }],
            "traffic_type": azure_native.awsconnector.TrafficType.ACCEPT,
        },
        "aws_region": "stazvnpsmrpkoxyyzngdkkuif",
        "aws_source_schema": "pnjgqxqhnwhcs",
        "aws_tags": {
            "key3000": "acmzumzbkwgpabbmyshaigqlt",
        },
        "public_cloud_connectors_resource_id": "djh",
        "public_cloud_resource_name": "ymv",
    },
    resource_group_name="rgec2FlowLog",
    tags={
        "key8783": "hbgkwojrzrpoaac",
    })
Copy
resources:
  ec2FlowLog:
    type: azure-native:awsconnector:Ec2FlowLog
    properties:
      location: iheortzyczwfplyjuuqwhdtpscn
      name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
      properties:
        arn: ilajcrcqxitnhyhorqitssmvsfwen
        awsAccountId: shsomlkgpjnxnonvrv
        awsProperties:
          deliverCrossAccountRole: upu
          deliverLogsPermissionArn: sfhmarwniuptmkaegsplmsozsmc
          destinationOptions:
            fileFormat: parquet
            hiveCompatiblePartitions: true
            perHourPartition: true
          id: idflwxdxpu
          logDestination: ztqhcrirplxmgncvubutyzqefvd
          logDestinationType: cloud-watch-logs
          logFormat: miqwrkvqyq
          logGroupName: gptervjekilsbzqokcmrbumaie
          maxAggregationInterval: 15
          resourceId: mokmavuqvq
          resourceType: NetworkInterface
          tags:
            - key: hpdlgqvamjjtqreaoxergrowvu
              value: qdqsngozfinennzbilnzeemjzilpb
          trafficType: ACCEPT
        awsRegion: stazvnpsmrpkoxyyzngdkkuif
        awsSourceSchema: pnjgqxqhnwhcs
        awsTags:
          key3000: acmzumzbkwgpabbmyshaigqlt
        publicCloudConnectorsResourceId: djh
        publicCloudResourceName: ymv
      resourceGroupName: rgec2FlowLog
      tags:
        key8783: hbgkwojrzrpoaac
Copy

Create Ec2FlowLog Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Ec2FlowLog(name: string, args: Ec2FlowLogArgs, opts?: CustomResourceOptions);
@overload
def Ec2FlowLog(resource_name: str,
               args: Ec2FlowLogArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Ec2FlowLog(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_group_name: Optional[str] = None,
               location: Optional[str] = None,
               name: Optional[str] = None,
               properties: Optional[Ec2FlowLogPropertiesArgs] = None,
               tags: Optional[Mapping[str, str]] = None)
func NewEc2FlowLog(ctx *Context, name string, args Ec2FlowLogArgs, opts ...ResourceOption) (*Ec2FlowLog, error)
public Ec2FlowLog(string name, Ec2FlowLogArgs args, CustomResourceOptions? opts = null)
public Ec2FlowLog(String name, Ec2FlowLogArgs args)
public Ec2FlowLog(String name, Ec2FlowLogArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:Ec2FlowLog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. Ec2FlowLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. Ec2FlowLogArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. Ec2FlowLogArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. Ec2FlowLogArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. Ec2FlowLogArgs
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 ec2FlowLogResource = new AzureNative.AwsConnector.Ec2FlowLog("ec2FlowLogResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    Properties = new AzureNative.AwsConnector.Inputs.Ec2FlowLogPropertiesArgs
    {
        Arn = "string",
        AwsAccountId = "string",
        AwsProperties = new AzureNative.AwsConnector.Inputs.AwsEc2FlowLogPropertiesArgs
        {
            DeliverCrossAccountRole = "string",
            DeliverLogsPermissionArn = "string",
            DestinationOptions = new AzureNative.AwsConnector.Inputs.DestinationOptionsModelPropertiesArgs
            {
                FileFormat = "string",
                HiveCompatiblePartitions = false,
                PerHourPartition = false,
            },
            Id = "string",
            LogDestination = "string",
            LogDestinationType = "string",
            LogFormat = "string",
            LogGroupName = "string",
            MaxAggregationInterval = 0,
            ResourceId = "string",
            ResourceType = "string",
            Tags = new[]
            {
                new AzureNative.AwsConnector.Inputs.TagArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
            TrafficType = "string",
        },
        AwsRegion = "string",
        AwsSourceSchema = "string",
        AwsTags = 
        {
            { "string", "string" },
        },
        PublicCloudConnectorsResourceId = "string",
        PublicCloudResourceName = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := awsconnector.NewEc2FlowLog(ctx, "ec2FlowLogResource", &awsconnector.Ec2FlowLogArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	Properties: &awsconnector.Ec2FlowLogPropertiesArgs{
		Arn:          pulumi.String("string"),
		AwsAccountId: pulumi.String("string"),
		AwsProperties: &awsconnector.AwsEc2FlowLogPropertiesArgs{
			DeliverCrossAccountRole:  pulumi.String("string"),
			DeliverLogsPermissionArn: pulumi.String("string"),
			DestinationOptions: &awsconnector.DestinationOptionsModelPropertiesArgs{
				FileFormat:               pulumi.String("string"),
				HiveCompatiblePartitions: pulumi.Bool(false),
				PerHourPartition:         pulumi.Bool(false),
			},
			Id:                     pulumi.String("string"),
			LogDestination:         pulumi.String("string"),
			LogDestinationType:     pulumi.String("string"),
			LogFormat:              pulumi.String("string"),
			LogGroupName:           pulumi.String("string"),
			MaxAggregationInterval: pulumi.Int(0),
			ResourceId:             pulumi.String("string"),
			ResourceType:           pulumi.String("string"),
			Tags: awsconnector.TagArray{
				&awsconnector.TagArgs{
					Key:   pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
			TrafficType: pulumi.String("string"),
		},
		AwsRegion:       pulumi.String("string"),
		AwsSourceSchema: pulumi.String("string"),
		AwsTags: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		PublicCloudConnectorsResourceId: pulumi.String("string"),
		PublicCloudResourceName:         pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var ec2FlowLogResource = new Ec2FlowLog("ec2FlowLogResource", Ec2FlowLogArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .properties(Ec2FlowLogPropertiesArgs.builder()
        .arn("string")
        .awsAccountId("string")
        .awsProperties(AwsEc2FlowLogPropertiesArgs.builder()
            .deliverCrossAccountRole("string")
            .deliverLogsPermissionArn("string")
            .destinationOptions(DestinationOptionsModelPropertiesArgs.builder()
                .fileFormat("string")
                .hiveCompatiblePartitions(false)
                .perHourPartition(false)
                .build())
            .id("string")
            .logDestination("string")
            .logDestinationType("string")
            .logFormat("string")
            .logGroupName("string")
            .maxAggregationInterval(0)
            .resourceId("string")
            .resourceType("string")
            .tags(TagArgs.builder()
                .key("string")
                .value("string")
                .build())
            .trafficType("string")
            .build())
        .awsRegion("string")
        .awsSourceSchema("string")
        .awsTags(Map.of("string", "string"))
        .publicCloudConnectorsResourceId("string")
        .publicCloudResourceName("string")
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
ec2_flow_log_resource = azure_native.awsconnector.Ec2FlowLog("ec2FlowLogResource",
    resource_group_name="string",
    location="string",
    name="string",
    properties={
        "arn": "string",
        "aws_account_id": "string",
        "aws_properties": {
            "deliver_cross_account_role": "string",
            "deliver_logs_permission_arn": "string",
            "destination_options": {
                "file_format": "string",
                "hive_compatible_partitions": False,
                "per_hour_partition": False,
            },
            "id": "string",
            "log_destination": "string",
            "log_destination_type": "string",
            "log_format": "string",
            "log_group_name": "string",
            "max_aggregation_interval": 0,
            "resource_id": "string",
            "resource_type": "string",
            "tags": [{
                "key": "string",
                "value": "string",
            }],
            "traffic_type": "string",
        },
        "aws_region": "string",
        "aws_source_schema": "string",
        "aws_tags": {
            "string": "string",
        },
        "public_cloud_connectors_resource_id": "string",
        "public_cloud_resource_name": "string",
    },
    tags={
        "string": "string",
    })
Copy
const ec2FlowLogResource = new azure_native.awsconnector.Ec2FlowLog("ec2FlowLogResource", {
    resourceGroupName: "string",
    location: "string",
    name: "string",
    properties: {
        arn: "string",
        awsAccountId: "string",
        awsProperties: {
            deliverCrossAccountRole: "string",
            deliverLogsPermissionArn: "string",
            destinationOptions: {
                fileFormat: "string",
                hiveCompatiblePartitions: false,
                perHourPartition: false,
            },
            id: "string",
            logDestination: "string",
            logDestinationType: "string",
            logFormat: "string",
            logGroupName: "string",
            maxAggregationInterval: 0,
            resourceId: "string",
            resourceType: "string",
            tags: [{
                key: "string",
                value: "string",
            }],
            trafficType: "string",
        },
        awsRegion: "string",
        awsSourceSchema: "string",
        awsTags: {
            string: "string",
        },
        publicCloudConnectorsResourceId: "string",
        publicCloudResourceName: "string",
    },
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:awsconnector:Ec2FlowLog
properties:
    location: string
    name: string
    properties:
        arn: string
        awsAccountId: string
        awsProperties:
            deliverCrossAccountRole: string
            deliverLogsPermissionArn: string
            destinationOptions:
                fileFormat: string
                hiveCompatiblePartitions: false
                perHourPartition: false
            id: string
            logDestination: string
            logDestinationType: string
            logFormat: string
            logGroupName: string
            maxAggregationInterval: 0
            resourceId: string
            resourceType: string
            tags:
                - key: string
                  value: string
            trafficType: string
        awsRegion: string
        awsSourceSchema: string
        awsTags:
            string: string
        publicCloudConnectorsResourceId: string
        publicCloudResourceName: string
    resourceGroupName: string
    tags:
        string: string
Copy

Ec2FlowLog 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 Ec2FlowLog resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of Ec2FlowLog
Properties Pulumi.AzureNative.AwsConnector.Inputs.Ec2FlowLogProperties
The resource-specific properties for this resource.
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of Ec2FlowLog
Properties Ec2FlowLogPropertiesArgs
The resource-specific properties for this resource.
Tags map[string]string
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of Ec2FlowLog
properties Ec2FlowLogProperties
The resource-specific properties for this resource.
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
name Changes to this property will trigger replacement. string
Name of Ec2FlowLog
properties Ec2FlowLogProperties
The resource-specific properties for this resource.
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
name Changes to this property will trigger replacement. str
Name of Ec2FlowLog
properties Ec2FlowLogPropertiesArgs
The resource-specific properties for this resource.
tags Mapping[str, str]
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of Ec2FlowLog
properties Property Map
The resource-specific properties for this resource.
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the Ec2FlowLog resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
SystemData Pulumi.AzureNative.AwsConnector.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AwsEc2FlowLogProperties
, AwsEc2FlowLogPropertiesArgs

DeliverCrossAccountRole string
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
DeliverLogsPermissionArn string
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
DestinationOptions Pulumi.AzureNative.AwsConnector.Inputs.DestinationOptionsModelProperties
Property destinationOptions
Id string
The Flow Log ID
LogDestination string
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
LogDestinationType string | Pulumi.AzureNative.AwsConnector.LogDestinationType
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
LogFormat string
The fields to include in the flow log record, in the order in which they should appear.
LogGroupName string
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
MaxAggregationInterval int
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
ResourceId string
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
ResourceType string | Pulumi.AzureNative.AwsConnector.ResourceType
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
Tags List<Pulumi.AzureNative.AwsConnector.Inputs.Tag>
The tags to apply to the flow logs.
TrafficType string | Pulumi.AzureNative.AwsConnector.TrafficType
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
DeliverCrossAccountRole string
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
DeliverLogsPermissionArn string
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
DestinationOptions DestinationOptionsModelProperties
Property destinationOptions
Id string
The Flow Log ID
LogDestination string
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
LogDestinationType string | LogDestinationType
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
LogFormat string
The fields to include in the flow log record, in the order in which they should appear.
LogGroupName string
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
MaxAggregationInterval int
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
ResourceId string
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
ResourceType string | ResourceType
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
Tags []Tag
The tags to apply to the flow logs.
TrafficType string | TrafficType
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliverCrossAccountRole String
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverLogsPermissionArn String
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destinationOptions DestinationOptionsModelProperties
Property destinationOptions
id String
The Flow Log ID
logDestination String
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
logDestinationType String | LogDestinationType
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logFormat String
The fields to include in the flow log record, in the order in which they should appear.
logGroupName String
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
maxAggregationInterval Integer
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resourceId String
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resourceType String | ResourceType
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags List<Tag>
The tags to apply to the flow logs.
trafficType String | TrafficType
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliverCrossAccountRole string
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverLogsPermissionArn string
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destinationOptions DestinationOptionsModelProperties
Property destinationOptions
id string
The Flow Log ID
logDestination string
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
logDestinationType string | LogDestinationType
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logFormat string
The fields to include in the flow log record, in the order in which they should appear.
logGroupName string
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
maxAggregationInterval number
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resourceId string
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resourceType string | ResourceType
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags Tag[]
The tags to apply to the flow logs.
trafficType string | TrafficType
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliver_cross_account_role str
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliver_logs_permission_arn str
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destination_options DestinationOptionsModelProperties
Property destinationOptions
id str
The Flow Log ID
log_destination str
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
log_destination_type str | LogDestinationType
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
log_format str
The fields to include in the flow log record, in the order in which they should appear.
log_group_name str
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
max_aggregation_interval int
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resource_id str
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resource_type str | ResourceType
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags Sequence[Tag]
The tags to apply to the flow logs.
traffic_type str | TrafficType
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliverCrossAccountRole String
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverLogsPermissionArn String
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destinationOptions Property Map
Property destinationOptions
id String
The Flow Log ID
logDestination String
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
logDestinationType String | "cloud-watch-logs" | "kinesis-data-firehose" | "s3"
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logFormat String
The fields to include in the flow log record, in the order in which they should appear.
logGroupName String
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
maxAggregationInterval Number
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resourceId String
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resourceType String | "EC2Instance" | "ManagedInstance"
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags List<Property Map>
The tags to apply to the flow logs.
trafficType String | "ACCEPT" | "ALL" | "REJECT"
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.

AwsEc2FlowLogPropertiesResponse
, AwsEc2FlowLogPropertiesResponseArgs

DeliverCrossAccountRole string
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
DeliverLogsPermissionArn string
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
DestinationOptions Pulumi.AzureNative.AwsConnector.Inputs.DestinationOptionsModelPropertiesResponse
Property destinationOptions
Id string
The Flow Log ID
LogDestination string
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
LogDestinationType string
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
LogFormat string
The fields to include in the flow log record, in the order in which they should appear.
LogGroupName string
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
MaxAggregationInterval int
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
ResourceId string
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
ResourceType string
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
Tags List<Pulumi.AzureNative.AwsConnector.Inputs.TagResponse>
The tags to apply to the flow logs.
TrafficType string
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
DeliverCrossAccountRole string
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
DeliverLogsPermissionArn string
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
DestinationOptions DestinationOptionsModelPropertiesResponse
Property destinationOptions
Id string
The Flow Log ID
LogDestination string
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
LogDestinationType string
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
LogFormat string
The fields to include in the flow log record, in the order in which they should appear.
LogGroupName string
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
MaxAggregationInterval int
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
ResourceId string
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
ResourceType string
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
Tags []TagResponse
The tags to apply to the flow logs.
TrafficType string
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliverCrossAccountRole String
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverLogsPermissionArn String
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destinationOptions DestinationOptionsModelPropertiesResponse
Property destinationOptions
id String
The Flow Log ID
logDestination String
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
logDestinationType String
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logFormat String
The fields to include in the flow log record, in the order in which they should appear.
logGroupName String
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
maxAggregationInterval Integer
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resourceId String
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resourceType String
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags List<TagResponse>
The tags to apply to the flow logs.
trafficType String
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliverCrossAccountRole string
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverLogsPermissionArn string
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destinationOptions DestinationOptionsModelPropertiesResponse
Property destinationOptions
id string
The Flow Log ID
logDestination string
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
logDestinationType string
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logFormat string
The fields to include in the flow log record, in the order in which they should appear.
logGroupName string
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
maxAggregationInterval number
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resourceId string
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resourceType string
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags TagResponse[]
The tags to apply to the flow logs.
trafficType string
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliver_cross_account_role str
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliver_logs_permission_arn str
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destination_options DestinationOptionsModelPropertiesResponse
Property destinationOptions
id str
The Flow Log ID
log_destination str
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
log_destination_type str
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
log_format str
The fields to include in the flow log record, in the order in which they should appear.
log_group_name str
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
max_aggregation_interval int
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resource_id str
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resource_type str
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags Sequence[TagResponse]
The tags to apply to the flow logs.
traffic_type str
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.
deliverCrossAccountRole String
The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
deliverLogsPermissionArn String
The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
destinationOptions Property Map
Property destinationOptions
id String
The Flow Log ID
logDestination String
Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group, an Amazon S3 bucket, or a Kinesis Firehose stream. The value specified for this parameter depends on the value specified for LogDestinationType.
logDestinationType String
Specifies the type of destination to which the flow log data is to be published. Flow log data can be published to CloudWatch Logs or Amazon S3.
logFormat String
The fields to include in the flow log record, in the order in which they should appear.
logGroupName String
The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs. If you specify LogDestinationType as s3 or kinesis-data-firehose, do not specify DeliverLogsPermissionArn or LogGroupName.
maxAggregationInterval Number
The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).
resourceId String
The ID of the subnet, network interface, or VPC for which you want to create a flow log.
resourceType String
The type of resource for which to create the flow log. For example, if you specified a VPC ID for the ResourceId property, specify VPC for this property.
tags List<Property Map>
The tags to apply to the flow logs.
trafficType String
The type of traffic to log. You can log traffic that the resource accepts or rejects, or all traffic.

DestinationOptionsModelProperties
, DestinationOptionsModelPropertiesArgs

FileFormat string | Pulumi.AzureNative.AwsConnector.FileFormat
Property fileFormat
HiveCompatiblePartitions bool
Property hiveCompatiblePartitions
PerHourPartition bool
Property perHourPartition
FileFormat string | FileFormat
Property fileFormat
HiveCompatiblePartitions bool
Property hiveCompatiblePartitions
PerHourPartition bool
Property perHourPartition
fileFormat String | FileFormat
Property fileFormat
hiveCompatiblePartitions Boolean
Property hiveCompatiblePartitions
perHourPartition Boolean
Property perHourPartition
fileFormat string | FileFormat
Property fileFormat
hiveCompatiblePartitions boolean
Property hiveCompatiblePartitions
perHourPartition boolean
Property perHourPartition
file_format str | FileFormat
Property fileFormat
hive_compatible_partitions bool
Property hiveCompatiblePartitions
per_hour_partition bool
Property perHourPartition
fileFormat String | "parquet" | "plain-text"
Property fileFormat
hiveCompatiblePartitions Boolean
Property hiveCompatiblePartitions
perHourPartition Boolean
Property perHourPartition

DestinationOptionsModelPropertiesResponse
, DestinationOptionsModelPropertiesResponseArgs

FileFormat string
Property fileFormat
HiveCompatiblePartitions bool
Property hiveCompatiblePartitions
PerHourPartition bool
Property perHourPartition
FileFormat string
Property fileFormat
HiveCompatiblePartitions bool
Property hiveCompatiblePartitions
PerHourPartition bool
Property perHourPartition
fileFormat String
Property fileFormat
hiveCompatiblePartitions Boolean
Property hiveCompatiblePartitions
perHourPartition Boolean
Property perHourPartition
fileFormat string
Property fileFormat
hiveCompatiblePartitions boolean
Property hiveCompatiblePartitions
perHourPartition boolean
Property perHourPartition
file_format str
Property fileFormat
hive_compatible_partitions bool
Property hiveCompatiblePartitions
per_hour_partition bool
Property perHourPartition
fileFormat String
Property fileFormat
hiveCompatiblePartitions Boolean
Property hiveCompatiblePartitions
perHourPartition Boolean
Property perHourPartition

Ec2FlowLogProperties
, Ec2FlowLogPropertiesArgs

Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsEc2FlowLogProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsEc2FlowLogProperties
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsEc2FlowLogProperties
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsEc2FlowLogProperties
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsEc2FlowLogProperties
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

Ec2FlowLogPropertiesResponse
, Ec2FlowLogPropertiesResponseArgs

ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties Pulumi.AzureNative.AwsConnector.Inputs.AwsEc2FlowLogPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags Dictionary<string, string>
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
ProvisioningState This property is required. string
The status of the last operation.
Arn string
Amazon Resource Name (ARN)
AwsAccountId string
AWS Account ID
AwsProperties AwsEc2FlowLogPropertiesResponse
AWS Properties
AwsRegion string
AWS Region
AwsSourceSchema string
AWS Source Schema
AwsTags map[string]string
AWS Tags
PublicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
PublicCloudResourceName string
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties AwsEc2FlowLogPropertiesResponse
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String,String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name
provisioningState This property is required. string
The status of the last operation.
arn string
Amazon Resource Name (ARN)
awsAccountId string
AWS Account ID
awsProperties AwsEc2FlowLogPropertiesResponse
AWS Properties
awsRegion string
AWS Region
awsSourceSchema string
AWS Source Schema
awsTags {[key: string]: string}
AWS Tags
publicCloudConnectorsResourceId string
Public Cloud Connectors Resource ID
publicCloudResourceName string
Public Cloud Resource Name
provisioning_state This property is required. str
The status of the last operation.
arn str
Amazon Resource Name (ARN)
aws_account_id str
AWS Account ID
aws_properties AwsEc2FlowLogPropertiesResponse
AWS Properties
aws_region str
AWS Region
aws_source_schema str
AWS Source Schema
aws_tags Mapping[str, str]
AWS Tags
public_cloud_connectors_resource_id str
Public Cloud Connectors Resource ID
public_cloud_resource_name str
Public Cloud Resource Name
provisioningState This property is required. String
The status of the last operation.
arn String
Amazon Resource Name (ARN)
awsAccountId String
AWS Account ID
awsProperties Property Map
AWS Properties
awsRegion String
AWS Region
awsSourceSchema String
AWS Source Schema
awsTags Map<String>
AWS Tags
publicCloudConnectorsResourceId String
Public Cloud Connectors Resource ID
publicCloudResourceName String
Public Cloud Resource Name

FileFormat
, FileFormatArgs

Parquet
parquetFileFormat enum parquet
PlainText
plain-textFileFormat enum plain-text
FileFormatParquet
parquetFileFormat enum parquet
FileFormatPlainText
plain-textFileFormat enum plain-text
Parquet
parquetFileFormat enum parquet
PlainText
plain-textFileFormat enum plain-text
Parquet
parquetFileFormat enum parquet
PlainText
plain-textFileFormat enum plain-text
PARQUET
parquetFileFormat enum parquet
PLAIN_TEXT
plain-textFileFormat enum plain-text
"parquet"
parquetFileFormat enum parquet
"plain-text"
plain-textFileFormat enum plain-text

LogDestinationType
, LogDestinationTypeArgs

CloudWatchLogs
cloud-watch-logsLogDestinationType enum cloud-watch-logs
KinesisDataFirehose
kinesis-data-firehoseLogDestinationType enum kinesis-data-firehose
S3
s3LogDestinationType enum s3
LogDestinationTypeCloudWatchLogs
cloud-watch-logsLogDestinationType enum cloud-watch-logs
LogDestinationTypeKinesisDataFirehose
kinesis-data-firehoseLogDestinationType enum kinesis-data-firehose
LogDestinationTypeS3
s3LogDestinationType enum s3
CloudWatchLogs
cloud-watch-logsLogDestinationType enum cloud-watch-logs
KinesisDataFirehose
kinesis-data-firehoseLogDestinationType enum kinesis-data-firehose
S3
s3LogDestinationType enum s3
CloudWatchLogs
cloud-watch-logsLogDestinationType enum cloud-watch-logs
KinesisDataFirehose
kinesis-data-firehoseLogDestinationType enum kinesis-data-firehose
S3
s3LogDestinationType enum s3
CLOUD_WATCH_LOGS
cloud-watch-logsLogDestinationType enum cloud-watch-logs
KINESIS_DATA_FIREHOSE
kinesis-data-firehoseLogDestinationType enum kinesis-data-firehose
S3
s3LogDestinationType enum s3
"cloud-watch-logs"
cloud-watch-logsLogDestinationType enum cloud-watch-logs
"kinesis-data-firehose"
kinesis-data-firehoseLogDestinationType enum kinesis-data-firehose
"s3"
s3LogDestinationType enum s3

ResourceType
, ResourceTypeArgs

EC2Instance
EC2InstanceResourceType enum EC2Instance
ManagedInstance
ManagedInstanceResourceType enum ManagedInstance
ResourceTypeEC2Instance
EC2InstanceResourceType enum EC2Instance
ResourceTypeManagedInstance
ManagedInstanceResourceType enum ManagedInstance
EC2Instance
EC2InstanceResourceType enum EC2Instance
ManagedInstance
ManagedInstanceResourceType enum ManagedInstance
EC2Instance
EC2InstanceResourceType enum EC2Instance
ManagedInstance
ManagedInstanceResourceType enum ManagedInstance
EC2_INSTANCE
EC2InstanceResourceType enum EC2Instance
MANAGED_INSTANCE
ManagedInstanceResourceType enum ManagedInstance
"EC2Instance"
EC2InstanceResourceType enum EC2Instance
"ManagedInstance"
ManagedInstanceResourceType enum ManagedInstance

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Tag
, TagArgs

Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

TagResponse
, TagResponseArgs

Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

TrafficType
, TrafficTypeArgs

ACCEPT
ACCEPTTrafficType enum ACCEPT
ALL
ALLTrafficType enum ALL
REJECT
REJECTTrafficType enum REJECT
TrafficTypeACCEPT
ACCEPTTrafficType enum ACCEPT
TrafficTypeALL
ALLTrafficType enum ALL
TrafficTypeREJECT
REJECTTrafficType enum REJECT
ACCEPT
ACCEPTTrafficType enum ACCEPT
ALL
ALLTrafficType enum ALL
REJECT
REJECTTrafficType enum REJECT
ACCEPT
ACCEPTTrafficType enum ACCEPT
ALL
ALLTrafficType enum ALL
REJECT
REJECTTrafficType enum REJECT
ACCEPT
ACCEPTTrafficType enum ACCEPT
ALL
ALLTrafficType enum ALL
REJECT
REJECTTrafficType enum REJECT
"ACCEPT"
ACCEPTTrafficType enum ACCEPT
"ALL"
ALLTrafficType enum ALL
"REJECT"
REJECTTrafficType enum REJECT

Import

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

$ pulumi import azure-native:awsconnector:Ec2FlowLog tpcivqsrlbvmapaplm /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/ec2FlowLogs/{name} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi