ElasticCloud (EC)

v0.4.2 published on Thursday, Dec 1, 2022 by Pulumi

DeploymentTrafficFilter

Provides an Elastic Cloud traffic filter resource, which allows traffic filter rules to be created, updated, and deleted. Traffic filter rules are used to limit inbound traffic to deployment resources.

Example Usage

IP type

using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var latest = Output.Create(ElasticCloud.GetStack.InvokeAsync(new ElasticCloud.GetStackArgs
        {
            VersionRegex = "latest",
            Region = "us-east-1",
        }));
        var example = new ElasticCloud.DeploymentTrafficFilter("example", new ElasticCloud.DeploymentTrafficFilterArgs
        {
            Region = "us-east-1",
            Type = "ip",
            Rules = 
            {
                new ElasticCloud.Inputs.DeploymentTrafficFilterRuleArgs
                {
                    Source = "0.0.0.0/0",
                },
            },
        });
        // Create an Elastic Cloud deployment
        var exampleMinimal = new ElasticCloud.Deployment("exampleMinimal", new ElasticCloud.DeploymentArgs
        {
            Region = "us-east-1",
            Version = latest.Apply(latest => latest.Version),
            DeploymentTemplateId = "aws-io-optimized-v2",
            TrafficFilters = 
            {
                example.Id,
            },
            Elasticsearch = ,
            Kibana = ,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-ec/sdk/go/ec"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		latest, err := ec.GetStack(ctx, &GetStackArgs{
			VersionRegex: "latest",
			Region:       "us-east-1",
		}, nil)
		if err != nil {
			return err
		}
		example, err := ec.NewDeploymentTrafficFilter(ctx, "example", &ec.DeploymentTrafficFilterArgs{
			Region: pulumi.String("us-east-1"),
			Type:   pulumi.String("ip"),
			Rules: DeploymentTrafficFilterRuleArray{
				&DeploymentTrafficFilterRuleArgs{
					Source: pulumi.String("0.0.0.0/0"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ec.NewDeployment(ctx, "exampleMinimal", &ec.DeploymentArgs{
			Region:               pulumi.String("us-east-1"),
			Version:              pulumi.String(latest.Version),
			DeploymentTemplateId: pulumi.String("aws-io-optimized-v2"),
			TrafficFilters: pulumi.StringArray{
				example.ID(),
			},
			Elasticsearch: nil,
			Kibana:        nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_ec as ec

latest = ec.get_stack(version_regex="latest",
    region="us-east-1")
example = ec.DeploymentTrafficFilter("example",
    region="us-east-1",
    type="ip",
    rules=[ec.DeploymentTrafficFilterRuleArgs(
        source="0.0.0.0/0",
    )])
# Create an Elastic Cloud deployment
example_minimal = ec.Deployment("exampleMinimal",
    region="us-east-1",
    version=latest.version,
    deployment_template_id="aws-io-optimized-v2",
    traffic_filters=[example.id],
    elasticsearch=ec.DeploymentElasticsearchArgs(),
    kibana=ec.DeploymentKibanaArgs())
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";

const latest = ec.getStack({
    versionRegex: "latest",
    region: "us-east-1",
});
const example = new ec.DeploymentTrafficFilter("example", {
    region: "us-east-1",
    type: "ip",
    rules: [{
        source: "0.0.0.0/0",
    }],
});
// Create an Elastic Cloud deployment
const exampleMinimal = new ec.Deployment("exampleMinimal", {
    region: "us-east-1",
    version: latest.then(latest => latest.version),
    deploymentTemplateId: "aws-io-optimized-v2",
    trafficFilters: [example.id],
    elasticsearch: {},
    kibana: {},
});

Coming soon!

using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var region = azure_australiaeast;
        var latest = Output.Create(ElasticCloud.GetStack.InvokeAsync(new ElasticCloud.GetStackArgs
        {
            VersionRegex = "latest",
            Region = region,
        }));
        var azure = new ElasticCloud.DeploymentTrafficFilter("azure", new ElasticCloud.DeploymentTrafficFilterArgs
        {
            Region = region,
            Type = "azure_private_endpoint",
            Rules = 
            {
                new ElasticCloud.Inputs.DeploymentTrafficFilterRuleArgs
                {
                    AzureEndpointName = "my-azure-pl",
                    AzureEndpointGuid = "78c64959-fd88-41cc-81ac-1cfcdb1ac32e",
                },
            },
        });
        // Create an Elastic Cloud deployment
        var exampleMinimal = new ElasticCloud.Deployment("exampleMinimal", new ElasticCloud.DeploymentArgs
        {
            Region = region,
            Version = latest.Apply(latest => latest.Version),
            DeploymentTemplateId = "azure-io-optimized-v3",
            TrafficFilters = 
            {
                azure.Id,
            },
            Elasticsearch = ,
            Kibana = ,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-ec/sdk/go/ec"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		region := azure_australiaeast
		latest, err := ec.GetStack(ctx, &GetStackArgs{
			VersionRegex: "latest",
			Region:       region,
		}, nil)
		if err != nil {
			return err
		}
		azure, err := ec.NewDeploymentTrafficFilter(ctx, "azure", &ec.DeploymentTrafficFilterArgs{
			Region: pulumi.Any(region),
			Type:   pulumi.String("azure_private_endpoint"),
			Rules: DeploymentTrafficFilterRuleArray{
				&DeploymentTrafficFilterRuleArgs{
					AzureEndpointName: pulumi.String("my-azure-pl"),
					AzureEndpointGuid: pulumi.String("78c64959-fd88-41cc-81ac-1cfcdb1ac32e"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ec.NewDeployment(ctx, "exampleMinimal", &ec.DeploymentArgs{
			Region:               pulumi.Any(region),
			Version:              pulumi.String(latest.Version),
			DeploymentTemplateId: pulumi.String("azure-io-optimized-v3"),
			TrafficFilters: pulumi.StringArray{
				azure.ID(),
			},
			Elasticsearch: nil,
			Kibana:        nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_ec as ec

region = azure_australiaeast
latest = ec.get_stack(version_regex="latest",
    region=region)
azure = ec.DeploymentTrafficFilter("azure",
    region=region,
    type="azure_private_endpoint",
    rules=[ec.DeploymentTrafficFilterRuleArgs(
        azure_endpoint_name="my-azure-pl",
        azure_endpoint_guid="78c64959-fd88-41cc-81ac-1cfcdb1ac32e",
    )])
# Create an Elastic Cloud deployment
example_minimal = ec.Deployment("exampleMinimal",
    region=region,
    version=latest.version,
    deployment_template_id="azure-io-optimized-v3",
    traffic_filters=[azure.id],
    elasticsearch=ec.DeploymentElasticsearchArgs(),
    kibana=ec.DeploymentKibanaArgs())
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";

const region = azure_australiaeast;
const latest = ec.getStack({
    versionRegex: "latest",
    region: region,
});
const azure = new ec.DeploymentTrafficFilter("azure", {
    region: region,
    type: "azure_private_endpoint",
    rules: [{
        azureEndpointName: "my-azure-pl",
        azureEndpointGuid: "78c64959-fd88-41cc-81ac-1cfcdb1ac32e",
    }],
});
// Create an Elastic Cloud deployment
const exampleMinimal = new ec.Deployment("exampleMinimal", {
    region: region,
    version: latest.then(latest => latest.version),
    deploymentTemplateId: "azure-io-optimized-v3",
    trafficFilters: [azure.id],
    elasticsearch: {},
    kibana: {},
});

Coming soon!

GCP Private Service Connect type

using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var region = asia_east1;
        var latest = Output.Create(ElasticCloud.GetStack.InvokeAsync(new ElasticCloud.GetStackArgs
        {
            VersionRegex = "latest",
            Region = region,
        }));
        var gcpPsc = new ElasticCloud.DeploymentTrafficFilter("gcpPsc", new ElasticCloud.DeploymentTrafficFilterArgs
        {
            Region = region,
            Type = "gcp_private_service_connect_endpoint",
            Rules = 
            {
                new ElasticCloud.Inputs.DeploymentTrafficFilterRuleArgs
                {
                    Source = "18446744072646845332",
                },
            },
        });
        // Create an Elastic Cloud deployment
        var exampleMinimal = new ElasticCloud.Deployment("exampleMinimal", new ElasticCloud.DeploymentArgs
        {
            Region = region,
            Version = latest.Apply(latest => latest.Version),
            DeploymentTemplateId = "gcp-storage-optimized",
            TrafficFilters = 
            {
                gcpPsc.Id,
            },
            Elasticsearch = ,
            Kibana = ,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-ec/sdk/go/ec"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		region := asia_east1
		latest, err := ec.GetStack(ctx, &GetStackArgs{
			VersionRegex: "latest",
			Region:       region,
		}, nil)
		if err != nil {
			return err
		}
		gcpPsc, err := ec.NewDeploymentTrafficFilter(ctx, "gcpPsc", &ec.DeploymentTrafficFilterArgs{
			Region: pulumi.Any(region),
			Type:   pulumi.String("gcp_private_service_connect_endpoint"),
			Rules: DeploymentTrafficFilterRuleArray{
				&DeploymentTrafficFilterRuleArgs{
					Source: pulumi.String("18446744072646845332"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ec.NewDeployment(ctx, "exampleMinimal", &ec.DeploymentArgs{
			Region:               pulumi.Any(region),
			Version:              pulumi.String(latest.Version),
			DeploymentTemplateId: pulumi.String("gcp-storage-optimized"),
			TrafficFilters: pulumi.StringArray{
				gcpPsc.ID(),
			},
			Elasticsearch: nil,
			Kibana:        nil,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_ec as ec

region = asia_east1
latest = ec.get_stack(version_regex="latest",
    region=region)
gcp_psc = ec.DeploymentTrafficFilter("gcpPsc",
    region=region,
    type="gcp_private_service_connect_endpoint",
    rules=[ec.DeploymentTrafficFilterRuleArgs(
        source="18446744072646845332",
    )])
# Create an Elastic Cloud deployment
example_minimal = ec.Deployment("exampleMinimal",
    region=region,
    version=latest.version,
    deployment_template_id="gcp-storage-optimized",
    traffic_filters=[gcp_psc.id],
    elasticsearch=ec.DeploymentElasticsearchArgs(),
    kibana=ec.DeploymentKibanaArgs())
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";

const region = asia_east1;
const latest = ec.getStack({
    versionRegex: "latest",
    region: region,
});
const gcpPsc = new ec.DeploymentTrafficFilter("gcpPsc", {
    region: region,
    type: "gcp_private_service_connect_endpoint",
    rules: [{
        source: "18446744072646845332",
    }],
});
// Create an Elastic Cloud deployment
const exampleMinimal = new ec.Deployment("exampleMinimal", {
    region: region,
    version: latest.then(latest => latest.version),
    deploymentTemplateId: "gcp-storage-optimized",
    trafficFilters: [gcpPsc.id],
    elasticsearch: {},
    kibana: {},
});

Coming soon!

Create DeploymentTrafficFilter Resource

new DeploymentTrafficFilter(name: string, args: DeploymentTrafficFilterArgs, opts?: CustomResourceOptions);
@overload
def DeploymentTrafficFilter(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            description: Optional[str] = None,
                            include_by_default: Optional[bool] = None,
                            name: Optional[str] = None,
                            region: Optional[str] = None,
                            rules: Optional[Sequence[DeploymentTrafficFilterRuleArgs]] = None,
                            type: Optional[str] = None)
@overload
def DeploymentTrafficFilter(resource_name: str,
                            args: DeploymentTrafficFilterArgs,
                            opts: Optional[ResourceOptions] = None)
func NewDeploymentTrafficFilter(ctx *Context, name string, args DeploymentTrafficFilterArgs, opts ...ResourceOption) (*DeploymentTrafficFilter, error)
public DeploymentTrafficFilter(string name, DeploymentTrafficFilterArgs args, CustomResourceOptions? opts = null)
public DeploymentTrafficFilter(String name, DeploymentTrafficFilterArgs args)
public DeploymentTrafficFilter(String name, DeploymentTrafficFilterArgs args, CustomResourceOptions options)
type: ec:DeploymentTrafficFilter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DeploymentTrafficFilterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DeploymentTrafficFilterArgs
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 DeploymentTrafficFilterArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DeploymentTrafficFilterArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DeploymentTrafficFilterArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DeploymentTrafficFilter Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DeploymentTrafficFilter resource accepts the following input properties:

Region string

Filter region, the ruleset can only be attached to deployments in the specific region.

Rules List<Pulumi.ElasticCloud.Inputs.DeploymentTrafficFilterRuleArgs>

Rule block, which can be specified multiple times for multiple rules.

Type string

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

Description string

Description of the ruleset.

IncludeByDefault bool

To automatically include the ruleset in the new deployments. Defaults to false.

Name string

Name of the ruleset.

Region string

Filter region, the ruleset can only be attached to deployments in the specific region.

Rules []DeploymentTrafficFilterRuleArgs

Rule block, which can be specified multiple times for multiple rules.

Type string

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

Description string

Description of the ruleset.

IncludeByDefault bool

To automatically include the ruleset in the new deployments. Defaults to false.

Name string

Name of the ruleset.

region String

Filter region, the ruleset can only be attached to deployments in the specific region.

rules List<DeploymentTrafficFilterRuleArgs>

Rule block, which can be specified multiple times for multiple rules.

type String

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description String

Description of the ruleset.

includeByDefault Boolean

To automatically include the ruleset in the new deployments. Defaults to false.

name String

Name of the ruleset.

region string

Filter region, the ruleset can only be attached to deployments in the specific region.

rules DeploymentTrafficFilterRuleArgs[]

Rule block, which can be specified multiple times for multiple rules.

type string

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description string

Description of the ruleset.

includeByDefault boolean

To automatically include the ruleset in the new deployments. Defaults to false.

name string

Name of the ruleset.

region str

Filter region, the ruleset can only be attached to deployments in the specific region.

rules Sequence[DeploymentTrafficFilterRuleArgs]

Rule block, which can be specified multiple times for multiple rules.

type str

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description str

Description of the ruleset.

include_by_default bool

To automatically include the ruleset in the new deployments. Defaults to false.

name str

Name of the ruleset.

region String

Filter region, the ruleset can only be attached to deployments in the specific region.

rules List<Property Map>

Rule block, which can be specified multiple times for multiple rules.

type String

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description String

Description of the ruleset.

includeByDefault Boolean

To automatically include the ruleset in the new deployments. Defaults to false.

name String

Name of the ruleset.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing DeploymentTrafficFilter Resource

Get an existing DeploymentTrafficFilter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DeploymentTrafficFilterState, opts?: CustomResourceOptions): DeploymentTrafficFilter
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        include_by_default: Optional[bool] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        rules: Optional[Sequence[DeploymentTrafficFilterRuleArgs]] = None,
        type: Optional[str] = None) -> DeploymentTrafficFilter
func GetDeploymentTrafficFilter(ctx *Context, name string, id IDInput, state *DeploymentTrafficFilterState, opts ...ResourceOption) (*DeploymentTrafficFilter, error)
public static DeploymentTrafficFilter Get(string name, Input<string> id, DeploymentTrafficFilterState? state, CustomResourceOptions? opts = null)
public static DeploymentTrafficFilter get(String name, Output<String> id, DeploymentTrafficFilterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string

Description of the ruleset.

IncludeByDefault bool

To automatically include the ruleset in the new deployments. Defaults to false.

Name string

Name of the ruleset.

Region string

Filter region, the ruleset can only be attached to deployments in the specific region.

Rules List<Pulumi.ElasticCloud.Inputs.DeploymentTrafficFilterRuleArgs>

Rule block, which can be specified multiple times for multiple rules.

Type string

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

Description string

Description of the ruleset.

IncludeByDefault bool

To automatically include the ruleset in the new deployments. Defaults to false.

Name string

Name of the ruleset.

Region string

Filter region, the ruleset can only be attached to deployments in the specific region.

Rules []DeploymentTrafficFilterRuleArgs

Rule block, which can be specified multiple times for multiple rules.

Type string

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description String

Description of the ruleset.

includeByDefault Boolean

To automatically include the ruleset in the new deployments. Defaults to false.

name String

Name of the ruleset.

region String

Filter region, the ruleset can only be attached to deployments in the specific region.

rules List<DeploymentTrafficFilterRuleArgs>

Rule block, which can be specified multiple times for multiple rules.

type String

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description string

Description of the ruleset.

includeByDefault boolean

To automatically include the ruleset in the new deployments. Defaults to false.

name string

Name of the ruleset.

region string

Filter region, the ruleset can only be attached to deployments in the specific region.

rules DeploymentTrafficFilterRuleArgs[]

Rule block, which can be specified multiple times for multiple rules.

type string

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description str

Description of the ruleset.

include_by_default bool

To automatically include the ruleset in the new deployments. Defaults to false.

name str

Name of the ruleset.

region str

Filter region, the ruleset can only be attached to deployments in the specific region.

rules Sequence[DeploymentTrafficFilterRuleArgs]

Rule block, which can be specified multiple times for multiple rules.

type str

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

description String

Description of the ruleset.

includeByDefault Boolean

To automatically include the ruleset in the new deployments. Defaults to false.

name String

Name of the ruleset.

region String

Filter region, the ruleset can only be attached to deployments in the specific region.

rules List<Property Map>

Rule block, which can be specified multiple times for multiple rules.

type String

Type of the ruleset. It can be "ip", "vpce" or "azure_private_endpoint".

Supporting Types

DeploymentTrafficFilterRule

AzureEndpointGuid string

Azure endpoint GUID. Only applicable when the ruleset type is set to "azure_private_endpoint".

AzureEndpointName string

Azure endpoint name. Only applicable when the ruleset type is set to "azure_private_endpoint".

Description string

Description of this individual rule.

Id string

The ruleset ID.

Source string

traffic filter source: IP address, CIDR mask, or VPC endpoint ID, only required when the type is not "azure_private_endpoint".

AzureEndpointGuid string

Azure endpoint GUID. Only applicable when the ruleset type is set to "azure_private_endpoint".

AzureEndpointName string

Azure endpoint name. Only applicable when the ruleset type is set to "azure_private_endpoint".

Description string

Description of this individual rule.

Id string

The ruleset ID.

Source string

traffic filter source: IP address, CIDR mask, or VPC endpoint ID, only required when the type is not "azure_private_endpoint".

azureEndpointGuid String

Azure endpoint GUID. Only applicable when the ruleset type is set to "azure_private_endpoint".

azureEndpointName String

Azure endpoint name. Only applicable when the ruleset type is set to "azure_private_endpoint".

description String

Description of this individual rule.

id String

The ruleset ID.

source String

traffic filter source: IP address, CIDR mask, or VPC endpoint ID, only required when the type is not "azure_private_endpoint".

azureEndpointGuid string

Azure endpoint GUID. Only applicable when the ruleset type is set to "azure_private_endpoint".

azureEndpointName string

Azure endpoint name. Only applicable when the ruleset type is set to "azure_private_endpoint".

description string

Description of this individual rule.

id string

The ruleset ID.

source string

traffic filter source: IP address, CIDR mask, or VPC endpoint ID, only required when the type is not "azure_private_endpoint".

azure_endpoint_guid str

Azure endpoint GUID. Only applicable when the ruleset type is set to "azure_private_endpoint".

azure_endpoint_name str

Azure endpoint name. Only applicable when the ruleset type is set to "azure_private_endpoint".

description str

Description of this individual rule.

id str

The ruleset ID.

source str

traffic filter source: IP address, CIDR mask, or VPC endpoint ID, only required when the type is not "azure_private_endpoint".

azureEndpointGuid String

Azure endpoint GUID. Only applicable when the ruleset type is set to "azure_private_endpoint".

azureEndpointName String

Azure endpoint name. Only applicable when the ruleset type is set to "azure_private_endpoint".

description String

Description of this individual rule.

id String

The ruleset ID.

source String

traffic filter source: IP address, CIDR mask, or VPC endpoint ID, only required when the type is not "azure_private_endpoint".

Import

You can import traffic filters using the id, for example

 $ pulumi import ec:index/deploymentTrafficFilter:DeploymentTrafficFilter name 320b7b540dfc967a7a649c18e2fce4ed

Package Details

Repository
https://github.com/pulumi/pulumi-ec
License
Apache-2.0
Notes

This Pulumi package is based on the ec Terraform Provider.