1. Packages
  2. AWS Classic
  3. API Docs
  4. fms
  5. Policy

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

aws.fms.Policy

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi

    Provides a resource to create an AWS Firewall Manager policy. You need to be using AWS organizations and have enabled the Firewall Manager administrator account.

    NOTE: Due to limitations with testing, we provide it as best effort. If you find it useful, and have the ability to help test or notice issues, consider reaching out to us on GitHub.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const exampleRuleGroup = new aws.wafregional.RuleGroup("example", {
        metricName: "WAFRuleGroupExample",
        name: "WAF-Rule-Group-Example",
    });
    const example = new aws.fms.Policy("example", {
        name: "FMS-Policy-Example",
        excludeResourceTags: false,
        remediationEnabled: false,
        resourceType: "AWS::ElasticLoadBalancingV2::LoadBalancer",
        securityServicePolicyData: {
            type: "WAF",
            managedServiceData: pulumi.jsonStringify({
                type: "WAF",
                ruleGroups: [{
                    id: exampleRuleGroup.id,
                    overrideAction: {
                        type: "COUNT",
                    },
                }],
                defaultAction: {
                    type: "BLOCK",
                },
                overrideCustomerWebACLAssociation: false,
            }),
        },
        tags: {
            Name: "example-fms-policy",
        },
    });
    
    import pulumi
    import json
    import pulumi_aws as aws
    
    example_rule_group = aws.wafregional.RuleGroup("example",
        metric_name="WAFRuleGroupExample",
        name="WAF-Rule-Group-Example")
    example = aws.fms.Policy("example",
        name="FMS-Policy-Example",
        exclude_resource_tags=False,
        remediation_enabled=False,
        resource_type="AWS::ElasticLoadBalancingV2::LoadBalancer",
        security_service_policy_data=aws.fms.PolicySecurityServicePolicyDataArgs(
            type="WAF",
            managed_service_data=pulumi.Output.json_dumps({
                "type": "WAF",
                "ruleGroups": [{
                    "id": example_rule_group.id,
                    "overrideAction": {
                        "type": "COUNT",
                    },
                }],
                "defaultAction": {
                    "type": "BLOCK",
                },
                "overrideCustomerWebACLAssociation": False,
            }),
        ),
        tags={
            "Name": "example-fms-policy",
        })
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fms"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/wafregional"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleRuleGroup, err := wafregional.NewRuleGroup(ctx, "example", &wafregional.RuleGroupArgs{
    			MetricName: pulumi.String("WAFRuleGroupExample"),
    			Name:       pulumi.String("WAF-Rule-Group-Example"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = fms.NewPolicy(ctx, "example", &fms.PolicyArgs{
    			Name:                pulumi.String("FMS-Policy-Example"),
    			ExcludeResourceTags: pulumi.Bool(false),
    			RemediationEnabled:  pulumi.Bool(false),
    			ResourceType:        pulumi.String("AWS::ElasticLoadBalancingV2::LoadBalancer"),
    			SecurityServicePolicyData: &fms.PolicySecurityServicePolicyDataArgs{
    				Type: pulumi.String("WAF"),
    				ManagedServiceData: exampleRuleGroup.ID().ApplyT(func(id string) (pulumi.String, error) {
    					var _zero pulumi.String
    					tmpJSON0, err := json.Marshal(map[string]interface{}{
    						"type": "WAF",
    						"ruleGroups": []map[string]interface{}{
    							map[string]interface{}{
    								"id": id,
    								"overrideAction": map[string]interface{}{
    									"type": "COUNT",
    								},
    							},
    						},
    						"defaultAction": map[string]interface{}{
    							"type": "BLOCK",
    						},
    						"overrideCustomerWebACLAssociation": false,
    					})
    					if err != nil {
    						return _zero, err
    					}
    					json0 := string(tmpJSON0)
    					return pulumi.String(json0), nil
    				}).(pulumi.StringOutput),
    			},
    			Tags: pulumi.StringMap{
    				"Name": pulumi.String("example-fms-policy"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleRuleGroup = new Aws.WafRegional.RuleGroup("example", new()
        {
            MetricName = "WAFRuleGroupExample",
            Name = "WAF-Rule-Group-Example",
        });
    
        var example = new Aws.Fms.Policy("example", new()
        {
            Name = "FMS-Policy-Example",
            ExcludeResourceTags = false,
            RemediationEnabled = false,
            ResourceType = "AWS::ElasticLoadBalancingV2::LoadBalancer",
            SecurityServicePolicyData = new Aws.Fms.Inputs.PolicySecurityServicePolicyDataArgs
            {
                Type = "WAF",
                ManagedServiceData = Output.JsonSerialize(Output.Create(new Dictionary<string, object?>
                {
                    ["type"] = "WAF",
                    ["ruleGroups"] = new[]
                    {
                        new Dictionary<string, object?>
                        {
                            ["id"] = exampleRuleGroup.Id,
                            ["overrideAction"] = new Dictionary<string, object?>
                            {
                                ["type"] = "COUNT",
                            },
                        },
                    },
                    ["defaultAction"] = new Dictionary<string, object?>
                    {
                        ["type"] = "BLOCK",
                    },
                    ["overrideCustomerWebACLAssociation"] = false,
                })),
            },
            Tags = 
            {
                { "Name", "example-fms-policy" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.wafregional.RuleGroup;
    import com.pulumi.aws.wafregional.RuleGroupArgs;
    import com.pulumi.aws.fms.Policy;
    import com.pulumi.aws.fms.PolicyArgs;
    import com.pulumi.aws.fms.inputs.PolicySecurityServicePolicyDataArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleRuleGroup = new RuleGroup("exampleRuleGroup", RuleGroupArgs.builder()        
                .metricName("WAFRuleGroupExample")
                .name("WAF-Rule-Group-Example")
                .build());
    
            var example = new Policy("example", PolicyArgs.builder()        
                .name("FMS-Policy-Example")
                .excludeResourceTags(false)
                .remediationEnabled(false)
                .resourceType("AWS::ElasticLoadBalancingV2::LoadBalancer")
                .securityServicePolicyData(PolicySecurityServicePolicyDataArgs.builder()
                    .type("WAF")
                    .managedServiceData(exampleRuleGroup.id().applyValue(id -> serializeJson(
                        jsonObject(
                            jsonProperty("type", "WAF"),
                            jsonProperty("ruleGroups", jsonArray(jsonObject(
                                jsonProperty("id", id),
                                jsonProperty("overrideAction", jsonObject(
                                    jsonProperty("type", "COUNT")
                                ))
                            ))),
                            jsonProperty("defaultAction", jsonObject(
                                jsonProperty("type", "BLOCK")
                            )),
                            jsonProperty("overrideCustomerWebACLAssociation", false)
                        ))))
                    .build())
                .tags(Map.of("Name", "example-fms-policy"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:fms:Policy
        properties:
          name: FMS-Policy-Example
          excludeResourceTags: false
          remediationEnabled: false
          resourceType: AWS::ElasticLoadBalancingV2::LoadBalancer
          securityServicePolicyData:
            type: WAF
            managedServiceData:
              fn::toJSON:
                type: WAF
                ruleGroups:
                  - id: ${exampleRuleGroup.id}
                    overrideAction:
                      type: COUNT
                defaultAction:
                  type: BLOCK
                overrideCustomerWebACLAssociation: false
          tags:
            Name: example-fms-policy
      exampleRuleGroup:
        type: aws:wafregional:RuleGroup
        name: example
        properties:
          metricName: WAFRuleGroupExample
          name: WAF-Rule-Group-Example
    

    Create Policy Resource

    new Policy(name: string, args: PolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Policy(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               delete_all_policy_resources: Optional[bool] = None,
               delete_unused_fm_managed_resources: Optional[bool] = None,
               description: Optional[str] = None,
               exclude_map: Optional[PolicyExcludeMapArgs] = None,
               exclude_resource_tags: Optional[bool] = None,
               include_map: Optional[PolicyIncludeMapArgs] = None,
               name: Optional[str] = None,
               remediation_enabled: Optional[bool] = None,
               resource_tags: Optional[Mapping[str, str]] = None,
               resource_type: Optional[str] = None,
               resource_type_lists: Optional[Sequence[str]] = None,
               security_service_policy_data: Optional[PolicySecurityServicePolicyDataArgs] = None,
               tags: Optional[Mapping[str, str]] = None)
    @overload
    def Policy(resource_name: str,
               args: PolicyArgs,
               opts: Optional[ResourceOptions] = None)
    func NewPolicy(ctx *Context, name string, args PolicyArgs, opts ...ResourceOption) (*Policy, error)
    public Policy(string name, PolicyArgs args, CustomResourceOptions? opts = null)
    public Policy(String name, PolicyArgs args)
    public Policy(String name, PolicyArgs args, CustomResourceOptions options)
    
    type: aws:fms:Policy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args PolicyArgs
    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 PolicyArgs
    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 PolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ExcludeResourceTags bool
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    SecurityServicePolicyData PolicySecurityServicePolicyData
    The objects to include in Security Service Policy Data. Documented below.
    DeleteAllPolicyResources bool
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    DeleteUnusedFmManagedResources bool
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    Description string
    The description of the AWS Network Firewall firewall policy.
    ExcludeMap PolicyExcludeMap
    A map of lists of accounts and OU's to exclude from the policy.
    IncludeMap PolicyIncludeMap
    A map of lists of accounts and OU's to include in the policy.
    Name string
    The friendly name of the AWS Firewall Manager Policy.
    RemediationEnabled bool
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    ResourceTags Dictionary<string, string>
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    ResourceType string
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    ResourceTypeLists List<string>
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    ExcludeResourceTags bool
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    SecurityServicePolicyData PolicySecurityServicePolicyDataArgs
    The objects to include in Security Service Policy Data. Documented below.
    DeleteAllPolicyResources bool
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    DeleteUnusedFmManagedResources bool
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    Description string
    The description of the AWS Network Firewall firewall policy.
    ExcludeMap PolicyExcludeMapArgs
    A map of lists of accounts and OU's to exclude from the policy.
    IncludeMap PolicyIncludeMapArgs
    A map of lists of accounts and OU's to include in the policy.
    Name string
    The friendly name of the AWS Firewall Manager Policy.
    RemediationEnabled bool
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    ResourceTags map[string]string
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    ResourceType string
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    ResourceTypeLists []string
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    Tags map[string]string
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    excludeResourceTags Boolean
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    securityServicePolicyData PolicySecurityServicePolicyData
    The objects to include in Security Service Policy Data. Documented below.
    deleteAllPolicyResources Boolean
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    deleteUnusedFmManagedResources Boolean
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description String
    The description of the AWS Network Firewall firewall policy.
    excludeMap PolicyExcludeMap
    A map of lists of accounts and OU's to exclude from the policy.
    includeMap PolicyIncludeMap
    A map of lists of accounts and OU's to include in the policy.
    name String
    The friendly name of the AWS Firewall Manager Policy.
    remediationEnabled Boolean
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resourceTags Map<String,String>
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resourceType String
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resourceTypeLists List<String>
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    tags Map<String,String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    excludeResourceTags boolean
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    securityServicePolicyData PolicySecurityServicePolicyData
    The objects to include in Security Service Policy Data. Documented below.
    deleteAllPolicyResources boolean
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    deleteUnusedFmManagedResources boolean
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description string
    The description of the AWS Network Firewall firewall policy.
    excludeMap PolicyExcludeMap
    A map of lists of accounts and OU's to exclude from the policy.
    includeMap PolicyIncludeMap
    A map of lists of accounts and OU's to include in the policy.
    name string
    The friendly name of the AWS Firewall Manager Policy.
    remediationEnabled boolean
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resourceTags {[key: string]: string}
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resourceType string
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resourceTypeLists string[]
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    tags {[key: string]: string}
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    exclude_resource_tags bool
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    security_service_policy_data PolicySecurityServicePolicyDataArgs
    The objects to include in Security Service Policy Data. Documented below.
    delete_all_policy_resources bool
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    delete_unused_fm_managed_resources bool
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description str
    The description of the AWS Network Firewall firewall policy.
    exclude_map PolicyExcludeMapArgs
    A map of lists of accounts and OU's to exclude from the policy.
    include_map PolicyIncludeMapArgs
    A map of lists of accounts and OU's to include in the policy.
    name str
    The friendly name of the AWS Firewall Manager Policy.
    remediation_enabled bool
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resource_tags Mapping[str, str]
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resource_type str
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resource_type_lists Sequence[str]
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    tags Mapping[str, str]
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    excludeResourceTags Boolean
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    securityServicePolicyData Property Map
    The objects to include in Security Service Policy Data. Documented below.
    deleteAllPolicyResources Boolean
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    deleteUnusedFmManagedResources Boolean
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description String
    The description of the AWS Network Firewall firewall policy.
    excludeMap Property Map
    A map of lists of accounts and OU's to exclude from the policy.
    includeMap Property Map
    A map of lists of accounts and OU's to include in the policy.
    name String
    The friendly name of the AWS Firewall Manager Policy.
    remediationEnabled Boolean
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resourceTags Map<String>
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resourceType String
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resourceTypeLists List<String>
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    tags Map<String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level

    Outputs

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

    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyUpdateToken string
    A unique identifier for each update to the policy.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyUpdateToken string
    A unique identifier for each update to the policy.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    id String
    The provider-assigned unique ID for this managed resource.
    policyUpdateToken String
    A unique identifier for each update to the policy.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn string
    id string
    The provider-assigned unique ID for this managed resource.
    policyUpdateToken string
    A unique identifier for each update to the policy.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn str
    id str
    The provider-assigned unique ID for this managed resource.
    policy_update_token str
    A unique identifier for each update to the policy.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    id String
    The provider-assigned unique ID for this managed resource.
    policyUpdateToken String
    A unique identifier for each update to the policy.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Look up Existing Policy Resource

    Get an existing Policy 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?: PolicyState, opts?: CustomResourceOptions): Policy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            delete_all_policy_resources: Optional[bool] = None,
            delete_unused_fm_managed_resources: Optional[bool] = None,
            description: Optional[str] = None,
            exclude_map: Optional[PolicyExcludeMapArgs] = None,
            exclude_resource_tags: Optional[bool] = None,
            include_map: Optional[PolicyIncludeMapArgs] = None,
            name: Optional[str] = None,
            policy_update_token: Optional[str] = None,
            remediation_enabled: Optional[bool] = None,
            resource_tags: Optional[Mapping[str, str]] = None,
            resource_type: Optional[str] = None,
            resource_type_lists: Optional[Sequence[str]] = None,
            security_service_policy_data: Optional[PolicySecurityServicePolicyDataArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> Policy
    func GetPolicy(ctx *Context, name string, id IDInput, state *PolicyState, opts ...ResourceOption) (*Policy, error)
    public static Policy Get(string name, Input<string> id, PolicyState? state, CustomResourceOptions? opts = null)
    public static Policy get(String name, Output<String> id, PolicyState 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:
    Arn string
    DeleteAllPolicyResources bool
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    DeleteUnusedFmManagedResources bool
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    Description string
    The description of the AWS Network Firewall firewall policy.
    ExcludeMap PolicyExcludeMap
    A map of lists of accounts and OU's to exclude from the policy.
    ExcludeResourceTags bool
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    IncludeMap PolicyIncludeMap
    A map of lists of accounts and OU's to include in the policy.
    Name string
    The friendly name of the AWS Firewall Manager Policy.
    PolicyUpdateToken string
    A unique identifier for each update to the policy.
    RemediationEnabled bool
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    ResourceTags Dictionary<string, string>
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    ResourceType string
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    ResourceTypeLists List<string>
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    SecurityServicePolicyData PolicySecurityServicePolicyData
    The objects to include in Security Service Policy Data. Documented below.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Arn string
    DeleteAllPolicyResources bool
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    DeleteUnusedFmManagedResources bool
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    Description string
    The description of the AWS Network Firewall firewall policy.
    ExcludeMap PolicyExcludeMapArgs
    A map of lists of accounts and OU's to exclude from the policy.
    ExcludeResourceTags bool
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    IncludeMap PolicyIncludeMapArgs
    A map of lists of accounts and OU's to include in the policy.
    Name string
    The friendly name of the AWS Firewall Manager Policy.
    PolicyUpdateToken string
    A unique identifier for each update to the policy.
    RemediationEnabled bool
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    ResourceTags map[string]string
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    ResourceType string
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    ResourceTypeLists []string
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    SecurityServicePolicyData PolicySecurityServicePolicyDataArgs
    The objects to include in Security Service Policy Data. Documented below.
    Tags map[string]string
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    deleteAllPolicyResources Boolean
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    deleteUnusedFmManagedResources Boolean
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description String
    The description of the AWS Network Firewall firewall policy.
    excludeMap PolicyExcludeMap
    A map of lists of accounts and OU's to exclude from the policy.
    excludeResourceTags Boolean
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    includeMap PolicyIncludeMap
    A map of lists of accounts and OU's to include in the policy.
    name String
    The friendly name of the AWS Firewall Manager Policy.
    policyUpdateToken String
    A unique identifier for each update to the policy.
    remediationEnabled Boolean
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resourceTags Map<String,String>
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resourceType String
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resourceTypeLists List<String>
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    securityServicePolicyData PolicySecurityServicePolicyData
    The objects to include in Security Service Policy Data. Documented below.
    tags Map<String,String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn string
    deleteAllPolicyResources boolean
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    deleteUnusedFmManagedResources boolean
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description string
    The description of the AWS Network Firewall firewall policy.
    excludeMap PolicyExcludeMap
    A map of lists of accounts and OU's to exclude from the policy.
    excludeResourceTags boolean
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    includeMap PolicyIncludeMap
    A map of lists of accounts and OU's to include in the policy.
    name string
    The friendly name of the AWS Firewall Manager Policy.
    policyUpdateToken string
    A unique identifier for each update to the policy.
    remediationEnabled boolean
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resourceTags {[key: string]: string}
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resourceType string
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resourceTypeLists string[]
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    securityServicePolicyData PolicySecurityServicePolicyData
    The objects to include in Security Service Policy Data. Documented below.
    tags {[key: string]: string}
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn str
    delete_all_policy_resources bool
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    delete_unused_fm_managed_resources bool
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description str
    The description of the AWS Network Firewall firewall policy.
    exclude_map PolicyExcludeMapArgs
    A map of lists of accounts and OU's to exclude from the policy.
    exclude_resource_tags bool
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    include_map PolicyIncludeMapArgs
    A map of lists of accounts and OU's to include in the policy.
    name str
    The friendly name of the AWS Firewall Manager Policy.
    policy_update_token str
    A unique identifier for each update to the policy.
    remediation_enabled bool
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resource_tags Mapping[str, str]
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resource_type str
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resource_type_lists Sequence[str]
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    security_service_policy_data PolicySecurityServicePolicyDataArgs
    The objects to include in Security Service Policy Data. Documented below.
    tags Mapping[str, str]
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    arn String
    deleteAllPolicyResources Boolean
    If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
    deleteUnusedFmManagedResources Boolean
    If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
    description String
    The description of the AWS Network Firewall firewall policy.
    excludeMap Property Map
    A map of lists of accounts and OU's to exclude from the policy.
    excludeResourceTags Boolean
    A boolean value, if true the tags that are specified in the resource_tags are not protected by this policy. If set to false and resource_tags are populated, resources that contain tags will be protected by this policy.
    includeMap Property Map
    A map of lists of accounts and OU's to include in the policy.
    name String
    The friendly name of the AWS Firewall Manager Policy.
    policyUpdateToken String
    A unique identifier for each update to the policy.
    remediationEnabled Boolean
    A boolean value, indicates if the policy should automatically applied to resources that already exist in the account.
    resourceTags Map<String>
    A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags.
    resourceType String
    A resource type to protect. Conflicts with resource_type_list. See the FMS API Reference for more information about supported values.
    resourceTypeLists List<String>
    A list of resource types to protect. Conflicts with resource_type. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resource_type.
    securityServicePolicyData Property Map
    The objects to include in Security Service Policy Data. Documented below.
    tags Map<String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated:Please use tags instead.

    Supporting Types

    PolicyExcludeMap, PolicyExcludeMapArgs

    Accounts List<string>
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    Orgunits List<string>

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    Accounts []string
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    Orgunits []string

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts List<String>
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits List<String>

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts string[]
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits string[]

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts Sequence[str]
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits Sequence[str]

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts List<String>
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits List<String>

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    PolicyIncludeMap, PolicyIncludeMapArgs

    Accounts List<string>
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    Orgunits List<string>

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    Accounts []string
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    Orgunits []string

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts List<String>
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits List<String>

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts string[]
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits string[]

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts Sequence[str]
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits Sequence[str]

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    accounts List<String>
    A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
    orgunits List<String>

    A list of IDs of the AWS Organizational Units that you want to include for this AWS FMS Policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

    You can specify inclusions or exclusions, but not both. If you specify an include_map, AWS Firewall Manager applies the policy to all accounts specified by the include_map, and does not evaluate any exclude_map specifications. If you do not specify an include_map, then Firewall Manager applies the policy to all accounts except for those specified by the exclude_map.

    PolicySecurityServicePolicyData, PolicySecurityServicePolicyDataArgs

    Type string
    The service that the policy is using to protect the resources. For the current list of supported types, please refer to the AWS Firewall Manager SecurityServicePolicyData API Type Reference.
    ManagedServiceData string
    Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Examples depending on type can be found in the AWS Firewall Manager SecurityServicePolicyData API Reference.
    PolicyOption PolicySecurityServicePolicyDataPolicyOption
    Contains the Network Firewall firewall policy options to configure a centralized deployment model. Documented below.
    Type string
    The service that the policy is using to protect the resources. For the current list of supported types, please refer to the AWS Firewall Manager SecurityServicePolicyData API Type Reference.
    ManagedServiceData string
    Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Examples depending on type can be found in the AWS Firewall Manager SecurityServicePolicyData API Reference.
    PolicyOption PolicySecurityServicePolicyDataPolicyOption
    Contains the Network Firewall firewall policy options to configure a centralized deployment model. Documented below.
    type String
    The service that the policy is using to protect the resources. For the current list of supported types, please refer to the AWS Firewall Manager SecurityServicePolicyData API Type Reference.
    managedServiceData String
    Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Examples depending on type can be found in the AWS Firewall Manager SecurityServicePolicyData API Reference.
    policyOption PolicySecurityServicePolicyDataPolicyOption
    Contains the Network Firewall firewall policy options to configure a centralized deployment model. Documented below.
    type string
    The service that the policy is using to protect the resources. For the current list of supported types, please refer to the AWS Firewall Manager SecurityServicePolicyData API Type Reference.
    managedServiceData string
    Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Examples depending on type can be found in the AWS Firewall Manager SecurityServicePolicyData API Reference.
    policyOption PolicySecurityServicePolicyDataPolicyOption
    Contains the Network Firewall firewall policy options to configure a centralized deployment model. Documented below.
    type str
    The service that the policy is using to protect the resources. For the current list of supported types, please refer to the AWS Firewall Manager SecurityServicePolicyData API Type Reference.
    managed_service_data str
    Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Examples depending on type can be found in the AWS Firewall Manager SecurityServicePolicyData API Reference.
    policy_option PolicySecurityServicePolicyDataPolicyOption
    Contains the Network Firewall firewall policy options to configure a centralized deployment model. Documented below.
    type String
    The service that the policy is using to protect the resources. For the current list of supported types, please refer to the AWS Firewall Manager SecurityServicePolicyData API Type Reference.
    managedServiceData String
    Details about the service that are specific to the service type, in JSON format. For service type SHIELD_ADVANCED, this is an empty string. Examples depending on type can be found in the AWS Firewall Manager SecurityServicePolicyData API Reference.
    policyOption Property Map
    Contains the Network Firewall firewall policy options to configure a centralized deployment model. Documented below.

    PolicySecurityServicePolicyDataPolicyOption, PolicySecurityServicePolicyDataPolicyOptionArgs

    networkFirewallPolicy Property Map
    Defines the deployment model to use for the firewall policy. Documented below.
    thirdPartyFirewallPolicy Property Map

    PolicySecurityServicePolicyDataPolicyOptionNetworkFirewallPolicy, PolicySecurityServicePolicyDataPolicyOptionNetworkFirewallPolicyArgs

    FirewallDeploymentModel string
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    FirewallDeploymentModel string
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewallDeploymentModel String
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewallDeploymentModel string
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewall_deployment_model str
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewallDeploymentModel String
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.

    PolicySecurityServicePolicyDataPolicyOptionThirdPartyFirewallPolicy, PolicySecurityServicePolicyDataPolicyOptionThirdPartyFirewallPolicyArgs

    FirewallDeploymentModel string
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    FirewallDeploymentModel string
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewallDeploymentModel String
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewallDeploymentModel string
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewall_deployment_model str
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.
    firewallDeploymentModel String
    Defines the deployment model to use for the third-party firewall policy. Valid values are CENTRALIZED and DISTRIBUTED.

    Import

    Using pulumi import, import Firewall Manager policies using the policy ID. For example:

    $ pulumi import aws:fms/policy:Policy example 5be49585-a7e3-4c49-dde1-a179fe4a619a
    

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.27.0 published on Monday, Mar 18, 2024 by Pulumi