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" },
},
});
});
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
})
}
terraform {
required_providers {
azure-native = {
source = "pulumi/azure-native"
}
}
}
resource "azure-native_awsconnector_ec2_flow_log" "ec2FlowLog" {
lifecycle {
create_before_destroy = true
}
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 = "parquet"
hive_compatible_partitions = true
per_hour_partition = true
}
id = "idflwxdxpu"
log_destination = "ztqhcrirplxmgncvubutyzqefvd"
log_destination_type = "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 = "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"
}
}
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 com.pulumi.azurenative.awsconnector.inputs.TagArgs;
import java.util.ArrayList;
import java.util.Arrays;
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());
}
}
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",
},
});
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",
})
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
Create Ec2FlowLog Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@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)
type: azure-native:awsconnector:Ec2FlowLog
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "azure-native_awsconnector_ec2_flow_log" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
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
string
- The unique name of the resource.
- args
Ec2FlowLogArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
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" },
},
});
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"),
},
})
resource "azure-native_awsconnector_ec2_flow_log" "ec2FlowLogResource" {
lifecycle {
create_before_destroy = true
}
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"
}
}
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(com.pulumi.azurenative.awsconnector.inputs.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());
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",
})
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",
},
});
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
Ec2FlowLog Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
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:
- resource_group_name
string
- The name of the resource group. The name is case insensitive.
- location
string
- The geo-location where the resource lives
- name
string
- Name of Ec2FlowLog
- properties
object
- 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
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
string
- The Azure API version of the resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- system_data
object
- 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
Definition of awsEc2FlowLog- 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.
- deliver_cross_account_role
string
- The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
- deliver_logs_permission_arn
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.
- destination_options
object
- Property destinationOptions
- id
string
- The Flow Log ID
- log_destination
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.
- log_destination_type
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.
- log_format
string
- The fields to include in the flow log record, in the order in which they should appear.
- log_group_name
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.
- max_aggregation_interval
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).
- resource_id
string
- The ID of the subnet, network interface, or VPC for which you want to create a flow log.
- resource_type
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(object)
- The tags to apply to the flow logs.
- traffic_type
string | "ACCEPT" | "ALL" | "REJECT"
- 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
Definition of awsEc2FlowLog- 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.
- deliver_cross_account_role
string
- The ARN of the IAM role that allows Amazon EC2 to publish flow logs across accounts.
- deliver_logs_permission_arn
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.
- destination_options
object
- Property destinationOptions
- id
string
- The Flow Log ID
- log_destination
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.
- log_destination_type
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.
- log_format
string
- The fields to include in the flow log record, in the order in which they should appear.
- log_group_name
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.
- max_aggregation_interval
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).
- resource_id
string
- The ID of the subnet, network interface, or VPC for which you want to create a flow log.
- resource_type
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(object)
- The tags to apply to the flow logs.
- traffic_type
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
Definition of DestinationOptionsModelPropertiesDestinationOptionsModelPropertiesResponse, DestinationOptionsModelPropertiesResponseArgs
Definition of DestinationOptionsModelPropertiesEc2FlowLogProperties, Ec2FlowLogPropertiesArgs
Definition of Ec2FlowLogEc2FlowLogPropertiesResponse, Ec2FlowLogPropertiesResponseArgs
Definition of Ec2FlowLog| Name | Value | Description |
|---|
| Parquet | parquet | FileFormat enum parquet |
| PlainText | plain-text | FileFormat enum plain-text |
| Name | Value | Description |
|---|
| FileFormatParquet | parquet | FileFormat enum parquet |
| FileFormatPlainText | plain-text | FileFormat enum plain-text |
| Value | Description |
|---|
parquet | FileFormat enum parquet |
plain-text | FileFormat enum plain-text |
| Name | Value | Description |
|---|
| Parquet | parquet | FileFormat enum parquet |
| PlainText | plain-text | FileFormat enum plain-text |
| Name | Value | Description |
|---|
| Parquet | parquet | FileFormat enum parquet |
| PlainText | plain-text | FileFormat enum plain-text |
| Name | Value | Description |
|---|
| PARQUET | parquet | FileFormat enum parquet |
| PLAIN_TEXT | plain-text | FileFormat enum plain-text |
| Value | Description |
|---|
parquet | FileFormat enum parquet |
plain-text | FileFormat enum plain-text |
LogDestinationType, LogDestinationTypeArgs
| Name | Value | Description |
|---|
| CloudWatchLogs | cloud-watch-logs | LogDestinationType enum cloud-watch-logs |
| KinesisDataFirehose | kinesis-data-firehose | LogDestinationType enum kinesis-data-firehose |
| S3 | s3 | LogDestinationType enum s3 |
| Name | Value | Description |
|---|
| LogDestinationTypeCloudWatchLogs | cloud-watch-logs | LogDestinationType enum cloud-watch-logs |
| LogDestinationTypeKinesisDataFirehose | kinesis-data-firehose | LogDestinationType enum kinesis-data-firehose |
| LogDestinationTypeS3 | s3 | LogDestinationType enum s3 |
| Value | Description |
|---|
cloud-watch-logs | LogDestinationType enum cloud-watch-logs |
kinesis-data-firehose | LogDestinationType enum kinesis-data-firehose |
s3 | LogDestinationType enum s3 |
| Name | Value | Description |
|---|
| CloudWatchLogs | cloud-watch-logs | LogDestinationType enum cloud-watch-logs |
| KinesisDataFirehose | kinesis-data-firehose | LogDestinationType enum kinesis-data-firehose |
| S3 | s3 | LogDestinationType enum s3 |
| Name | Value | Description |
|---|
| CloudWatchLogs | cloud-watch-logs | LogDestinationType enum cloud-watch-logs |
| KinesisDataFirehose | kinesis-data-firehose | LogDestinationType enum kinesis-data-firehose |
| S3 | s3 | LogDestinationType enum s3 |
| Name | Value | Description |
|---|
| CLOUD_WATCH_LOGS | cloud-watch-logs | LogDestinationType enum cloud-watch-logs |
| KINESIS_DATA_FIREHOSE | kinesis-data-firehose | LogDestinationType enum kinesis-data-firehose |
| S3 | s3 | LogDestinationType enum s3 |
| Value | Description |
|---|
cloud-watch-logs | LogDestinationType enum cloud-watch-logs |
kinesis-data-firehose | LogDestinationType enum kinesis-data-firehose |
s3 | LogDestinationType enum s3 |
ResourceType, ResourceTypeArgs
| Name | Value | Description |
|---|
| EC2Instance | EC2Instance | ResourceType enum EC2Instance |
| ManagedInstance | ManagedInstance | ResourceType enum ManagedInstance |
| Name | Value | Description |
|---|
| ResourceTypeEC2Instance | EC2Instance | ResourceType enum EC2Instance |
| ResourceTypeManagedInstance | ManagedInstance | ResourceType enum ManagedInstance |
| Value | Description |
|---|
EC2Instance | ResourceType enum EC2Instance |
ManagedInstance | ResourceType enum ManagedInstance |
| Name | Value | Description |
|---|
| EC2Instance | EC2Instance | ResourceType enum EC2Instance |
| ManagedInstance | ManagedInstance | ResourceType enum ManagedInstance |
| Name | Value | Description |
|---|
| EC2Instance | EC2Instance | ResourceType enum EC2Instance |
| ManagedInstance | ManagedInstance | ResourceType enum ManagedInstance |
| Name | Value | Description |
|---|
| EC2_INSTANCE | EC2Instance | ResourceType enum EC2Instance |
| MANAGED_INSTANCE | ManagedInstance | ResourceType enum ManagedInstance |
| Value | Description |
|---|
EC2Instance | ResourceType enum EC2Instance |
ManagedInstance | ResourceType enum ManagedInstance |
SystemDataResponse, SystemDataResponseArgs
Metadata pertaining to creation and last modification of 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.
- 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.
Tag, TagArgs
Definition of Tag- 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
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
Definition of Tag- 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
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
| Name | Value | Description |
|---|
| ACCEPT | ACCEPT | TrafficType enum ACCEPT |
| ALL | ALL | TrafficType enum ALL |
| REJECT | REJECT | TrafficType enum REJECT |
| Name | Value | Description |
|---|
| TrafficTypeACCEPT | ACCEPT | TrafficType enum ACCEPT |
| TrafficTypeALL | ALL | TrafficType enum ALL |
| TrafficTypeREJECT | REJECT | TrafficType enum REJECT |
| Value | Description |
|---|
ACCEPT | TrafficType enum ACCEPT |
ALL | TrafficType enum ALL |
REJECT | TrafficType enum REJECT |
| Name | Value | Description |
|---|
| ACCEPT | ACCEPT | TrafficType enum ACCEPT |
| ALL | ALL | TrafficType enum ALL |
| REJECT | REJECT | TrafficType enum REJECT |
| Name | Value | Description |
|---|
| ACCEPT | ACCEPT | TrafficType enum ACCEPT |
| ALL | ALL | TrafficType enum ALL |
| REJECT | REJECT | TrafficType enum REJECT |
| Name | Value | Description |
|---|
| ACCEPT | ACCEPT | TrafficType enum ACCEPT |
| ALL | ALL | TrafficType enum ALL |
| REJECT | REJECT | TrafficType enum REJECT |
| Value | Description |
|---|
ACCEPT | TrafficType enum ACCEPT |
ALL | TrafficType enum ALL |
REJECT | TrafficType 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0