Documentation ¶
Index ¶
- type AdminAccount
- func (*AdminAccount) ElementType() reflect.Type
- func (i *AdminAccount) ToAdminAccountOutput() AdminAccountOutput
- func (i *AdminAccount) ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput
- func (i *AdminAccount) ToAdminAccountPtrOutput() AdminAccountPtrOutput
- func (i *AdminAccount) ToAdminAccountPtrOutputWithContext(ctx context.Context) AdminAccountPtrOutput
- type AdminAccountArgs
- type AdminAccountArray
- type AdminAccountArrayInput
- type AdminAccountArrayOutput
- func (AdminAccountArrayOutput) ElementType() reflect.Type
- func (o AdminAccountArrayOutput) Index(i pulumi.IntInput) AdminAccountOutput
- func (o AdminAccountArrayOutput) ToAdminAccountArrayOutput() AdminAccountArrayOutput
- func (o AdminAccountArrayOutput) ToAdminAccountArrayOutputWithContext(ctx context.Context) AdminAccountArrayOutput
- type AdminAccountInput
- type AdminAccountMap
- type AdminAccountMapInput
- type AdminAccountMapOutput
- func (AdminAccountMapOutput) ElementType() reflect.Type
- func (o AdminAccountMapOutput) MapIndex(k pulumi.StringInput) AdminAccountOutput
- func (o AdminAccountMapOutput) ToAdminAccountMapOutput() AdminAccountMapOutput
- func (o AdminAccountMapOutput) ToAdminAccountMapOutputWithContext(ctx context.Context) AdminAccountMapOutput
- type AdminAccountOutput
- func (AdminAccountOutput) ElementType() reflect.Type
- func (o AdminAccountOutput) ToAdminAccountOutput() AdminAccountOutput
- func (o AdminAccountOutput) ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput
- func (o AdminAccountOutput) ToAdminAccountPtrOutput() AdminAccountPtrOutput
- func (o AdminAccountOutput) ToAdminAccountPtrOutputWithContext(ctx context.Context) AdminAccountPtrOutput
- type AdminAccountPtrInput
- type AdminAccountPtrOutput
- type AdminAccountState
- type Policy
- func (*Policy) ElementType() reflect.Type
- func (i *Policy) ToPolicyOutput() PolicyOutput
- func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
- func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- type PolicyArgs
- type PolicyArray
- type PolicyArrayInput
- type PolicyArrayOutput
- type PolicyExcludeMap
- type PolicyExcludeMapArgs
- func (PolicyExcludeMapArgs) ElementType() reflect.Type
- func (i PolicyExcludeMapArgs) ToPolicyExcludeMapOutput() PolicyExcludeMapOutput
- func (i PolicyExcludeMapArgs) ToPolicyExcludeMapOutputWithContext(ctx context.Context) PolicyExcludeMapOutput
- func (i PolicyExcludeMapArgs) ToPolicyExcludeMapPtrOutput() PolicyExcludeMapPtrOutput
- func (i PolicyExcludeMapArgs) ToPolicyExcludeMapPtrOutputWithContext(ctx context.Context) PolicyExcludeMapPtrOutput
- type PolicyExcludeMapInput
- type PolicyExcludeMapOutput
- func (o PolicyExcludeMapOutput) Accounts() pulumi.StringArrayOutput
- func (PolicyExcludeMapOutput) ElementType() reflect.Type
- func (o PolicyExcludeMapOutput) Orgunits() pulumi.StringArrayOutput
- func (o PolicyExcludeMapOutput) ToPolicyExcludeMapOutput() PolicyExcludeMapOutput
- func (o PolicyExcludeMapOutput) ToPolicyExcludeMapOutputWithContext(ctx context.Context) PolicyExcludeMapOutput
- func (o PolicyExcludeMapOutput) ToPolicyExcludeMapPtrOutput() PolicyExcludeMapPtrOutput
- func (o PolicyExcludeMapOutput) ToPolicyExcludeMapPtrOutputWithContext(ctx context.Context) PolicyExcludeMapPtrOutput
- type PolicyExcludeMapPtrInput
- type PolicyExcludeMapPtrOutput
- func (o PolicyExcludeMapPtrOutput) Accounts() pulumi.StringArrayOutput
- func (o PolicyExcludeMapPtrOutput) Elem() PolicyExcludeMapOutput
- func (PolicyExcludeMapPtrOutput) ElementType() reflect.Type
- func (o PolicyExcludeMapPtrOutput) Orgunits() pulumi.StringArrayOutput
- func (o PolicyExcludeMapPtrOutput) ToPolicyExcludeMapPtrOutput() PolicyExcludeMapPtrOutput
- func (o PolicyExcludeMapPtrOutput) ToPolicyExcludeMapPtrOutputWithContext(ctx context.Context) PolicyExcludeMapPtrOutput
- type PolicyIncludeMap
- type PolicyIncludeMapArgs
- func (PolicyIncludeMapArgs) ElementType() reflect.Type
- func (i PolicyIncludeMapArgs) ToPolicyIncludeMapOutput() PolicyIncludeMapOutput
- func (i PolicyIncludeMapArgs) ToPolicyIncludeMapOutputWithContext(ctx context.Context) PolicyIncludeMapOutput
- func (i PolicyIncludeMapArgs) ToPolicyIncludeMapPtrOutput() PolicyIncludeMapPtrOutput
- func (i PolicyIncludeMapArgs) ToPolicyIncludeMapPtrOutputWithContext(ctx context.Context) PolicyIncludeMapPtrOutput
- type PolicyIncludeMapInput
- type PolicyIncludeMapOutput
- func (o PolicyIncludeMapOutput) Accounts() pulumi.StringArrayOutput
- func (PolicyIncludeMapOutput) ElementType() reflect.Type
- func (o PolicyIncludeMapOutput) Orgunits() pulumi.StringArrayOutput
- func (o PolicyIncludeMapOutput) ToPolicyIncludeMapOutput() PolicyIncludeMapOutput
- func (o PolicyIncludeMapOutput) ToPolicyIncludeMapOutputWithContext(ctx context.Context) PolicyIncludeMapOutput
- func (o PolicyIncludeMapOutput) ToPolicyIncludeMapPtrOutput() PolicyIncludeMapPtrOutput
- func (o PolicyIncludeMapOutput) ToPolicyIncludeMapPtrOutputWithContext(ctx context.Context) PolicyIncludeMapPtrOutput
- type PolicyIncludeMapPtrInput
- type PolicyIncludeMapPtrOutput
- func (o PolicyIncludeMapPtrOutput) Accounts() pulumi.StringArrayOutput
- func (o PolicyIncludeMapPtrOutput) Elem() PolicyIncludeMapOutput
- func (PolicyIncludeMapPtrOutput) ElementType() reflect.Type
- func (o PolicyIncludeMapPtrOutput) Orgunits() pulumi.StringArrayOutput
- func (o PolicyIncludeMapPtrOutput) ToPolicyIncludeMapPtrOutput() PolicyIncludeMapPtrOutput
- func (o PolicyIncludeMapPtrOutput) ToPolicyIncludeMapPtrOutputWithContext(ctx context.Context) PolicyIncludeMapPtrOutput
- type PolicyInput
- type PolicyMap
- type PolicyMapInput
- type PolicyMapOutput
- type PolicyOutput
- func (PolicyOutput) ElementType() reflect.Type
- func (o PolicyOutput) ToPolicyOutput() PolicyOutput
- func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
- func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
- func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
- type PolicyPtrInput
- type PolicyPtrOutput
- type PolicySecurityServicePolicyData
- type PolicySecurityServicePolicyDataArgs
- func (PolicySecurityServicePolicyDataArgs) ElementType() reflect.Type
- func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataOutput() PolicySecurityServicePolicyDataOutput
- func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataOutput
- func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataPtrOutput() PolicySecurityServicePolicyDataPtrOutput
- func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataPtrOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataPtrOutput
- type PolicySecurityServicePolicyDataInput
- type PolicySecurityServicePolicyDataOutput
- func (PolicySecurityServicePolicyDataOutput) ElementType() reflect.Type
- func (o PolicySecurityServicePolicyDataOutput) ManagedServiceData() pulumi.StringPtrOutput
- func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataOutput() PolicySecurityServicePolicyDataOutput
- func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataOutput
- func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataPtrOutput() PolicySecurityServicePolicyDataPtrOutput
- func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataPtrOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataPtrOutput
- func (o PolicySecurityServicePolicyDataOutput) Type() pulumi.StringOutput
- type PolicySecurityServicePolicyDataPtrInput
- type PolicySecurityServicePolicyDataPtrOutput
- func (o PolicySecurityServicePolicyDataPtrOutput) Elem() PolicySecurityServicePolicyDataOutput
- func (PolicySecurityServicePolicyDataPtrOutput) ElementType() reflect.Type
- func (o PolicySecurityServicePolicyDataPtrOutput) ManagedServiceData() pulumi.StringPtrOutput
- func (o PolicySecurityServicePolicyDataPtrOutput) ToPolicySecurityServicePolicyDataPtrOutput() PolicySecurityServicePolicyDataPtrOutput
- func (o PolicySecurityServicePolicyDataPtrOutput) ToPolicySecurityServicePolicyDataPtrOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataPtrOutput
- func (o PolicySecurityServicePolicyDataPtrOutput) Type() pulumi.StringPtrOutput
- type PolicyState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminAccount ¶
type AdminAccount struct { pulumi.CustomResourceState // The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. Defaults to the current account. Must be configured to perform drift detection. AccountId pulumi.StringOutput `pulumi:"accountId"` }
Provides a resource to associate/disassociate an AWS Firewall Manager administrator account. This operation must be performed in the `us-east-1` region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/fms" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := fms.NewAdminAccount(ctx, "example", nil) if err != nil { return err } return nil }) }
```
## Import
Firewall Manager administrator account association can be imported using the account ID, e.g.
```sh
$ pulumi import aws:fms/adminAccount:AdminAccount example 123456789012
```
func GetAdminAccount ¶
func GetAdminAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AdminAccountState, opts ...pulumi.ResourceOption) (*AdminAccount, error)
GetAdminAccount gets an existing AdminAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAdminAccount ¶
func NewAdminAccount(ctx *pulumi.Context, name string, args *AdminAccountArgs, opts ...pulumi.ResourceOption) (*AdminAccount, error)
NewAdminAccount registers a new resource with the given unique name, arguments, and options.
func (*AdminAccount) ElementType ¶
func (*AdminAccount) ElementType() reflect.Type
func (*AdminAccount) ToAdminAccountOutput ¶
func (i *AdminAccount) ToAdminAccountOutput() AdminAccountOutput
func (*AdminAccount) ToAdminAccountOutputWithContext ¶
func (i *AdminAccount) ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput
func (*AdminAccount) ToAdminAccountPtrOutput ¶
func (i *AdminAccount) ToAdminAccountPtrOutput() AdminAccountPtrOutput
func (*AdminAccount) ToAdminAccountPtrOutputWithContext ¶
func (i *AdminAccount) ToAdminAccountPtrOutputWithContext(ctx context.Context) AdminAccountPtrOutput
type AdminAccountArgs ¶
type AdminAccountArgs struct { // The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. Defaults to the current account. Must be configured to perform drift detection. AccountId pulumi.StringPtrInput }
The set of arguments for constructing a AdminAccount resource.
func (AdminAccountArgs) ElementType ¶
func (AdminAccountArgs) ElementType() reflect.Type
type AdminAccountArray ¶
type AdminAccountArray []AdminAccountInput
func (AdminAccountArray) ElementType ¶
func (AdminAccountArray) ElementType() reflect.Type
func (AdminAccountArray) ToAdminAccountArrayOutput ¶
func (i AdminAccountArray) ToAdminAccountArrayOutput() AdminAccountArrayOutput
func (AdminAccountArray) ToAdminAccountArrayOutputWithContext ¶
func (i AdminAccountArray) ToAdminAccountArrayOutputWithContext(ctx context.Context) AdminAccountArrayOutput
type AdminAccountArrayInput ¶
type AdminAccountArrayInput interface { pulumi.Input ToAdminAccountArrayOutput() AdminAccountArrayOutput ToAdminAccountArrayOutputWithContext(context.Context) AdminAccountArrayOutput }
AdminAccountArrayInput is an input type that accepts AdminAccountArray and AdminAccountArrayOutput values. You can construct a concrete instance of `AdminAccountArrayInput` via:
AdminAccountArray{ AdminAccountArgs{...} }
type AdminAccountArrayOutput ¶
type AdminAccountArrayOutput struct{ *pulumi.OutputState }
func (AdminAccountArrayOutput) ElementType ¶
func (AdminAccountArrayOutput) ElementType() reflect.Type
func (AdminAccountArrayOutput) Index ¶
func (o AdminAccountArrayOutput) Index(i pulumi.IntInput) AdminAccountOutput
func (AdminAccountArrayOutput) ToAdminAccountArrayOutput ¶
func (o AdminAccountArrayOutput) ToAdminAccountArrayOutput() AdminAccountArrayOutput
func (AdminAccountArrayOutput) ToAdminAccountArrayOutputWithContext ¶
func (o AdminAccountArrayOutput) ToAdminAccountArrayOutputWithContext(ctx context.Context) AdminAccountArrayOutput
type AdminAccountInput ¶
type AdminAccountInput interface { pulumi.Input ToAdminAccountOutput() AdminAccountOutput ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput }
type AdminAccountMap ¶
type AdminAccountMap map[string]AdminAccountInput
func (AdminAccountMap) ElementType ¶
func (AdminAccountMap) ElementType() reflect.Type
func (AdminAccountMap) ToAdminAccountMapOutput ¶
func (i AdminAccountMap) ToAdminAccountMapOutput() AdminAccountMapOutput
func (AdminAccountMap) ToAdminAccountMapOutputWithContext ¶
func (i AdminAccountMap) ToAdminAccountMapOutputWithContext(ctx context.Context) AdminAccountMapOutput
type AdminAccountMapInput ¶
type AdminAccountMapInput interface { pulumi.Input ToAdminAccountMapOutput() AdminAccountMapOutput ToAdminAccountMapOutputWithContext(context.Context) AdminAccountMapOutput }
AdminAccountMapInput is an input type that accepts AdminAccountMap and AdminAccountMapOutput values. You can construct a concrete instance of `AdminAccountMapInput` via:
AdminAccountMap{ "key": AdminAccountArgs{...} }
type AdminAccountMapOutput ¶
type AdminAccountMapOutput struct{ *pulumi.OutputState }
func (AdminAccountMapOutput) ElementType ¶
func (AdminAccountMapOutput) ElementType() reflect.Type
func (AdminAccountMapOutput) MapIndex ¶
func (o AdminAccountMapOutput) MapIndex(k pulumi.StringInput) AdminAccountOutput
func (AdminAccountMapOutput) ToAdminAccountMapOutput ¶
func (o AdminAccountMapOutput) ToAdminAccountMapOutput() AdminAccountMapOutput
func (AdminAccountMapOutput) ToAdminAccountMapOutputWithContext ¶
func (o AdminAccountMapOutput) ToAdminAccountMapOutputWithContext(ctx context.Context) AdminAccountMapOutput
type AdminAccountOutput ¶
type AdminAccountOutput struct {
*pulumi.OutputState
}
func (AdminAccountOutput) ElementType ¶
func (AdminAccountOutput) ElementType() reflect.Type
func (AdminAccountOutput) ToAdminAccountOutput ¶
func (o AdminAccountOutput) ToAdminAccountOutput() AdminAccountOutput
func (AdminAccountOutput) ToAdminAccountOutputWithContext ¶
func (o AdminAccountOutput) ToAdminAccountOutputWithContext(ctx context.Context) AdminAccountOutput
func (AdminAccountOutput) ToAdminAccountPtrOutput ¶
func (o AdminAccountOutput) ToAdminAccountPtrOutput() AdminAccountPtrOutput
func (AdminAccountOutput) ToAdminAccountPtrOutputWithContext ¶
func (o AdminAccountOutput) ToAdminAccountPtrOutputWithContext(ctx context.Context) AdminAccountPtrOutput
type AdminAccountPtrInput ¶
type AdminAccountPtrInput interface { pulumi.Input ToAdminAccountPtrOutput() AdminAccountPtrOutput ToAdminAccountPtrOutputWithContext(ctx context.Context) AdminAccountPtrOutput }
type AdminAccountPtrOutput ¶
type AdminAccountPtrOutput struct {
*pulumi.OutputState
}
func (AdminAccountPtrOutput) ElementType ¶
func (AdminAccountPtrOutput) ElementType() reflect.Type
func (AdminAccountPtrOutput) ToAdminAccountPtrOutput ¶
func (o AdminAccountPtrOutput) ToAdminAccountPtrOutput() AdminAccountPtrOutput
func (AdminAccountPtrOutput) ToAdminAccountPtrOutputWithContext ¶
func (o AdminAccountPtrOutput) ToAdminAccountPtrOutputWithContext(ctx context.Context) AdminAccountPtrOutput
type AdminAccountState ¶
type AdminAccountState struct { // The AWS account ID to associate with AWS Firewall Manager as the AWS Firewall Manager administrator account. This can be an AWS Organizations master account or a member account. Defaults to the current account. Must be configured to perform drift detection. AccountId pulumi.StringPtrInput }
func (AdminAccountState) ElementType ¶
func (AdminAccountState) ElementType() reflect.Type
type Policy ¶
type Policy struct { pulumi.CustomResourceState Arn pulumi.StringOutput `pulumi:"arn"` // 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](https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_DeletePolicy.html) DeleteAllPolicyResources pulumi.BoolPtrOutput `pulumi:"deleteAllPolicyResources"` // A map of lists, with a single key named 'account' with a list of AWS Account IDs to exclude from this policy. ExcludeMap PolicyExcludeMapPtrOutput `pulumi:"excludeMap"` // A boolean value, if true the tags that are specified in the `resourceTags` are not protected by this policy. If set to false and resourceTags are populated, resources that contain tags will be protected by this policy. ExcludeResourceTags pulumi.BoolOutput `pulumi:"excludeResourceTags"` // A map of lists, with a single key named 'account' with a list of AWS Account IDs to include for this policy. IncludeMap PolicyIncludeMapPtrOutput `pulumi:"includeMap"` // The friendly name of the AWS Firewall Manager Policy. Name pulumi.StringOutput `pulumi:"name"` // A unique identifier for each update to the policy. PolicyUpdateToken pulumi.StringOutput `pulumi:"policyUpdateToken"` // A boolean value, indicates if the policy should automatically applied to resources that already exist in the account. RemediationEnabled pulumi.BoolPtrOutput `pulumi:"remediationEnabled"` // A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags. ResourceTags pulumi.StringMapOutput `pulumi:"resourceTags"` // A resource type to protect, valid values are: `AWS::ElasticLoadBalancingV2::LoadBalancer`, `AWS::ApiGateway::Stage`, `AWS::CloudFront::Distribution`, `AWS::EC2::Instance`, `AWS::EC2::NetworkInterface`, `AWS::EC2::SecurityGroup`. Conflicts with `resourceTypeList`. ResourceType pulumi.StringOutput `pulumi:"resourceType"` // A list of resource types to protect, valid values are: `AWS::ElasticLoadBalancingV2::LoadBalancer`, `AWS::ApiGateway::Stage`, `AWS::CloudFront::Distribution`, `AWS::EC2::Instance`, `AWS::EC2::NetworkInterface`, `AWS::EC2::SecurityGroup`, and `AWS::EC2::VPC`. Conflicts with `resourceType`. ResourceTypeLists pulumi.StringArrayOutput `pulumi:"resourceTypeLists"` // The objects to include in Security Service Policy Data. Documented below. SecurityServicePolicyData PolicySecurityServicePolicyDataOutput `pulumi:"securityServicePolicyData"` }
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.
## Example Usage
```go package main
import (
"encoding/json" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/fms" "github.com/pulumi/pulumi-aws/sdk/v4/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, "exampleRuleGroup", &wafregional.RuleGroupArgs{ MetricName: pulumi.String("WAFRuleGroupExample"), }) if err != nil { return err } _, err = fms.NewPolicy(ctx, "examplePolicy", &fms.PolicyArgs{ ExcludeResourceTags: pulumi.Bool(false), RemediationEnabled: pulumi.Bool(false), ResourceTypeLists: pulumi.StringArray{ 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), }, }) if err != nil { return err } return nil }) }
```
## Import
Firewall Manager policies can be imported using the policy ID, e.g.
```sh
$ pulumi import aws:fms/policy:Policy example 5be49585-a7e3-4c49-dde1-a179fe4a619a
```
func GetPolicy ¶
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewPolicy ¶
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
func (*Policy) ElementType ¶
func (*Policy) ToPolicyOutput ¶
func (i *Policy) ToPolicyOutput() PolicyOutput
func (*Policy) ToPolicyOutputWithContext ¶
func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (*Policy) ToPolicyPtrOutput ¶
func (i *Policy) ToPolicyPtrOutput() PolicyPtrOutput
func (*Policy) ToPolicyPtrOutputWithContext ¶
func (i *Policy) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicyArgs ¶
type PolicyArgs struct { // 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](https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_DeletePolicy.html) DeleteAllPolicyResources pulumi.BoolPtrInput // A map of lists, with a single key named 'account' with a list of AWS Account IDs to exclude from this policy. ExcludeMap PolicyExcludeMapPtrInput // A boolean value, if true the tags that are specified in the `resourceTags` are not protected by this policy. If set to false and resourceTags are populated, resources that contain tags will be protected by this policy. ExcludeResourceTags pulumi.BoolInput // A map of lists, with a single key named 'account' with a list of AWS Account IDs to include for this policy. IncludeMap PolicyIncludeMapPtrInput // The friendly name of the AWS Firewall Manager Policy. Name pulumi.StringPtrInput // A boolean value, indicates if the policy should automatically applied to resources that already exist in the account. RemediationEnabled pulumi.BoolPtrInput // A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags. ResourceTags pulumi.StringMapInput // A resource type to protect, valid values are: `AWS::ElasticLoadBalancingV2::LoadBalancer`, `AWS::ApiGateway::Stage`, `AWS::CloudFront::Distribution`, `AWS::EC2::Instance`, `AWS::EC2::NetworkInterface`, `AWS::EC2::SecurityGroup`. Conflicts with `resourceTypeList`. ResourceType pulumi.StringPtrInput // A list of resource types to protect, valid values are: `AWS::ElasticLoadBalancingV2::LoadBalancer`, `AWS::ApiGateway::Stage`, `AWS::CloudFront::Distribution`, `AWS::EC2::Instance`, `AWS::EC2::NetworkInterface`, `AWS::EC2::SecurityGroup`, and `AWS::EC2::VPC`. Conflicts with `resourceType`. ResourceTypeLists pulumi.StringArrayInput // The objects to include in Security Service Policy Data. Documented below. SecurityServicePolicyData PolicySecurityServicePolicyDataInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyArray ¶
type PolicyArray []PolicyInput
func (PolicyArray) ElementType ¶
func (PolicyArray) ElementType() reflect.Type
func (PolicyArray) ToPolicyArrayOutput ¶
func (i PolicyArray) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArray) ToPolicyArrayOutputWithContext ¶
func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyArrayInput ¶
type PolicyArrayInput interface { pulumi.Input ToPolicyArrayOutput() PolicyArrayOutput ToPolicyArrayOutputWithContext(context.Context) PolicyArrayOutput }
PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. You can construct a concrete instance of `PolicyArrayInput` via:
PolicyArray{ PolicyArgs{...} }
type PolicyArrayOutput ¶
type PolicyArrayOutput struct{ *pulumi.OutputState }
func (PolicyArrayOutput) ElementType ¶
func (PolicyArrayOutput) ElementType() reflect.Type
func (PolicyArrayOutput) Index ¶
func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput
func (PolicyArrayOutput) ToPolicyArrayOutput ¶
func (o PolicyArrayOutput) ToPolicyArrayOutput() PolicyArrayOutput
func (PolicyArrayOutput) ToPolicyArrayOutputWithContext ¶
func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyArrayOutput
type PolicyExcludeMap ¶
type PolicyExcludeMapArgs ¶
type PolicyExcludeMapArgs struct { // A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy. Accounts pulumi.StringArrayInput `pulumi:"accounts"` Orgunits pulumi.StringArrayInput `pulumi:"orgunits"` }
func (PolicyExcludeMapArgs) ElementType ¶
func (PolicyExcludeMapArgs) ElementType() reflect.Type
func (PolicyExcludeMapArgs) ToPolicyExcludeMapOutput ¶
func (i PolicyExcludeMapArgs) ToPolicyExcludeMapOutput() PolicyExcludeMapOutput
func (PolicyExcludeMapArgs) ToPolicyExcludeMapOutputWithContext ¶
func (i PolicyExcludeMapArgs) ToPolicyExcludeMapOutputWithContext(ctx context.Context) PolicyExcludeMapOutput
func (PolicyExcludeMapArgs) ToPolicyExcludeMapPtrOutput ¶
func (i PolicyExcludeMapArgs) ToPolicyExcludeMapPtrOutput() PolicyExcludeMapPtrOutput
func (PolicyExcludeMapArgs) ToPolicyExcludeMapPtrOutputWithContext ¶
func (i PolicyExcludeMapArgs) ToPolicyExcludeMapPtrOutputWithContext(ctx context.Context) PolicyExcludeMapPtrOutput
type PolicyExcludeMapInput ¶
type PolicyExcludeMapInput interface { pulumi.Input ToPolicyExcludeMapOutput() PolicyExcludeMapOutput ToPolicyExcludeMapOutputWithContext(context.Context) PolicyExcludeMapOutput }
PolicyExcludeMapInput is an input type that accepts PolicyExcludeMap and PolicyExcludeMapOutput values. You can construct a concrete instance of `PolicyExcludeMapInput` via:
PolicyExcludeMap{ "key": PolicyExcludeArgs{...} }
type PolicyExcludeMapOutput ¶
type PolicyExcludeMapOutput struct{ *pulumi.OutputState }
func (PolicyExcludeMapOutput) Accounts ¶
func (o PolicyExcludeMapOutput) Accounts() pulumi.StringArrayOutput
A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
func (PolicyExcludeMapOutput) ElementType ¶
func (PolicyExcludeMapOutput) ElementType() reflect.Type
func (PolicyExcludeMapOutput) Orgunits ¶
func (o PolicyExcludeMapOutput) Orgunits() pulumi.StringArrayOutput
func (PolicyExcludeMapOutput) ToPolicyExcludeMapOutput ¶
func (o PolicyExcludeMapOutput) ToPolicyExcludeMapOutput() PolicyExcludeMapOutput
func (PolicyExcludeMapOutput) ToPolicyExcludeMapOutputWithContext ¶
func (o PolicyExcludeMapOutput) ToPolicyExcludeMapOutputWithContext(ctx context.Context) PolicyExcludeMapOutput
func (PolicyExcludeMapOutput) ToPolicyExcludeMapPtrOutput ¶
func (o PolicyExcludeMapOutput) ToPolicyExcludeMapPtrOutput() PolicyExcludeMapPtrOutput
func (PolicyExcludeMapOutput) ToPolicyExcludeMapPtrOutputWithContext ¶
func (o PolicyExcludeMapOutput) ToPolicyExcludeMapPtrOutputWithContext(ctx context.Context) PolicyExcludeMapPtrOutput
type PolicyExcludeMapPtrInput ¶
type PolicyExcludeMapPtrInput interface { pulumi.Input ToPolicyExcludeMapPtrOutput() PolicyExcludeMapPtrOutput ToPolicyExcludeMapPtrOutputWithContext(context.Context) PolicyExcludeMapPtrOutput }
PolicyExcludeMapPtrInput is an input type that accepts PolicyExcludeMapArgs, PolicyExcludeMapPtr and PolicyExcludeMapPtrOutput values. You can construct a concrete instance of `PolicyExcludeMapPtrInput` via:
PolicyExcludeMapArgs{...} or: nil
func PolicyExcludeMapPtr ¶
func PolicyExcludeMapPtr(v *PolicyExcludeMapArgs) PolicyExcludeMapPtrInput
type PolicyExcludeMapPtrOutput ¶
type PolicyExcludeMapPtrOutput struct{ *pulumi.OutputState }
func (PolicyExcludeMapPtrOutput) Accounts ¶
func (o PolicyExcludeMapPtrOutput) Accounts() pulumi.StringArrayOutput
A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
func (PolicyExcludeMapPtrOutput) Elem ¶
func (o PolicyExcludeMapPtrOutput) Elem() PolicyExcludeMapOutput
func (PolicyExcludeMapPtrOutput) ElementType ¶
func (PolicyExcludeMapPtrOutput) ElementType() reflect.Type
func (PolicyExcludeMapPtrOutput) Orgunits ¶
func (o PolicyExcludeMapPtrOutput) Orgunits() pulumi.StringArrayOutput
func (PolicyExcludeMapPtrOutput) ToPolicyExcludeMapPtrOutput ¶
func (o PolicyExcludeMapPtrOutput) ToPolicyExcludeMapPtrOutput() PolicyExcludeMapPtrOutput
func (PolicyExcludeMapPtrOutput) ToPolicyExcludeMapPtrOutputWithContext ¶
func (o PolicyExcludeMapPtrOutput) ToPolicyExcludeMapPtrOutputWithContext(ctx context.Context) PolicyExcludeMapPtrOutput
type PolicyIncludeMap ¶
type PolicyIncludeMapArgs ¶
type PolicyIncludeMapArgs struct { // A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy. Accounts pulumi.StringArrayInput `pulumi:"accounts"` Orgunits pulumi.StringArrayInput `pulumi:"orgunits"` }
func (PolicyIncludeMapArgs) ElementType ¶
func (PolicyIncludeMapArgs) ElementType() reflect.Type
func (PolicyIncludeMapArgs) ToPolicyIncludeMapOutput ¶
func (i PolicyIncludeMapArgs) ToPolicyIncludeMapOutput() PolicyIncludeMapOutput
func (PolicyIncludeMapArgs) ToPolicyIncludeMapOutputWithContext ¶
func (i PolicyIncludeMapArgs) ToPolicyIncludeMapOutputWithContext(ctx context.Context) PolicyIncludeMapOutput
func (PolicyIncludeMapArgs) ToPolicyIncludeMapPtrOutput ¶
func (i PolicyIncludeMapArgs) ToPolicyIncludeMapPtrOutput() PolicyIncludeMapPtrOutput
func (PolicyIncludeMapArgs) ToPolicyIncludeMapPtrOutputWithContext ¶
func (i PolicyIncludeMapArgs) ToPolicyIncludeMapPtrOutputWithContext(ctx context.Context) PolicyIncludeMapPtrOutput
type PolicyIncludeMapInput ¶
type PolicyIncludeMapInput interface { pulumi.Input ToPolicyIncludeMapOutput() PolicyIncludeMapOutput ToPolicyIncludeMapOutputWithContext(context.Context) PolicyIncludeMapOutput }
PolicyIncludeMapInput is an input type that accepts PolicyIncludeMap and PolicyIncludeMapOutput values. You can construct a concrete instance of `PolicyIncludeMapInput` via:
PolicyIncludeMap{ "key": PolicyIncludeArgs{...} }
type PolicyIncludeMapOutput ¶
type PolicyIncludeMapOutput struct{ *pulumi.OutputState }
func (PolicyIncludeMapOutput) Accounts ¶
func (o PolicyIncludeMapOutput) Accounts() pulumi.StringArrayOutput
A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
func (PolicyIncludeMapOutput) ElementType ¶
func (PolicyIncludeMapOutput) ElementType() reflect.Type
func (PolicyIncludeMapOutput) Orgunits ¶
func (o PolicyIncludeMapOutput) Orgunits() pulumi.StringArrayOutput
func (PolicyIncludeMapOutput) ToPolicyIncludeMapOutput ¶
func (o PolicyIncludeMapOutput) ToPolicyIncludeMapOutput() PolicyIncludeMapOutput
func (PolicyIncludeMapOutput) ToPolicyIncludeMapOutputWithContext ¶
func (o PolicyIncludeMapOutput) ToPolicyIncludeMapOutputWithContext(ctx context.Context) PolicyIncludeMapOutput
func (PolicyIncludeMapOutput) ToPolicyIncludeMapPtrOutput ¶
func (o PolicyIncludeMapOutput) ToPolicyIncludeMapPtrOutput() PolicyIncludeMapPtrOutput
func (PolicyIncludeMapOutput) ToPolicyIncludeMapPtrOutputWithContext ¶
func (o PolicyIncludeMapOutput) ToPolicyIncludeMapPtrOutputWithContext(ctx context.Context) PolicyIncludeMapPtrOutput
type PolicyIncludeMapPtrInput ¶
type PolicyIncludeMapPtrInput interface { pulumi.Input ToPolicyIncludeMapPtrOutput() PolicyIncludeMapPtrOutput ToPolicyIncludeMapPtrOutputWithContext(context.Context) PolicyIncludeMapPtrOutput }
PolicyIncludeMapPtrInput is an input type that accepts PolicyIncludeMapArgs, PolicyIncludeMapPtr and PolicyIncludeMapPtrOutput values. You can construct a concrete instance of `PolicyIncludeMapPtrInput` via:
PolicyIncludeMapArgs{...} or: nil
func PolicyIncludeMapPtr ¶
func PolicyIncludeMapPtr(v *PolicyIncludeMapArgs) PolicyIncludeMapPtrInput
type PolicyIncludeMapPtrOutput ¶
type PolicyIncludeMapPtrOutput struct{ *pulumi.OutputState }
func (PolicyIncludeMapPtrOutput) Accounts ¶
func (o PolicyIncludeMapPtrOutput) Accounts() pulumi.StringArrayOutput
A list of AWS Organization member Accounts that you want to include for this AWS FMS Policy.
func (PolicyIncludeMapPtrOutput) Elem ¶
func (o PolicyIncludeMapPtrOutput) Elem() PolicyIncludeMapOutput
func (PolicyIncludeMapPtrOutput) ElementType ¶
func (PolicyIncludeMapPtrOutput) ElementType() reflect.Type
func (PolicyIncludeMapPtrOutput) Orgunits ¶
func (o PolicyIncludeMapPtrOutput) Orgunits() pulumi.StringArrayOutput
func (PolicyIncludeMapPtrOutput) ToPolicyIncludeMapPtrOutput ¶
func (o PolicyIncludeMapPtrOutput) ToPolicyIncludeMapPtrOutput() PolicyIncludeMapPtrOutput
func (PolicyIncludeMapPtrOutput) ToPolicyIncludeMapPtrOutputWithContext ¶
func (o PolicyIncludeMapPtrOutput) ToPolicyIncludeMapPtrOutputWithContext(ctx context.Context) PolicyIncludeMapPtrOutput
type PolicyInput ¶
type PolicyInput interface { pulumi.Input ToPolicyOutput() PolicyOutput ToPolicyOutputWithContext(ctx context.Context) PolicyOutput }
type PolicyMap ¶
type PolicyMap map[string]PolicyInput
func (PolicyMap) ElementType ¶
func (PolicyMap) ToPolicyMapOutput ¶
func (i PolicyMap) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMap) ToPolicyMapOutputWithContext ¶
func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyMapInput ¶
type PolicyMapInput interface { pulumi.Input ToPolicyMapOutput() PolicyMapOutput ToPolicyMapOutputWithContext(context.Context) PolicyMapOutput }
PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. You can construct a concrete instance of `PolicyMapInput` via:
PolicyMap{ "key": PolicyArgs{...} }
type PolicyMapOutput ¶
type PolicyMapOutput struct{ *pulumi.OutputState }
func (PolicyMapOutput) ElementType ¶
func (PolicyMapOutput) ElementType() reflect.Type
func (PolicyMapOutput) MapIndex ¶
func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput
func (PolicyMapOutput) ToPolicyMapOutput ¶
func (o PolicyMapOutput) ToPolicyMapOutput() PolicyMapOutput
func (PolicyMapOutput) ToPolicyMapOutputWithContext ¶
func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOutput
type PolicyOutput ¶
type PolicyOutput struct {
*pulumi.OutputState
}
func (PolicyOutput) ElementType ¶
func (PolicyOutput) ElementType() reflect.Type
func (PolicyOutput) ToPolicyOutput ¶
func (o PolicyOutput) ToPolicyOutput() PolicyOutput
func (PolicyOutput) ToPolicyOutputWithContext ¶
func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput
func (PolicyOutput) ToPolicyPtrOutput ¶
func (o PolicyOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyOutput) ToPolicyPtrOutputWithContext ¶
func (o PolicyOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicyPtrInput ¶
type PolicyPtrInput interface { pulumi.Input ToPolicyPtrOutput() PolicyPtrOutput ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput }
type PolicyPtrOutput ¶
type PolicyPtrOutput struct {
*pulumi.OutputState
}
func (PolicyPtrOutput) ElementType ¶
func (PolicyPtrOutput) ElementType() reflect.Type
func (PolicyPtrOutput) ToPolicyPtrOutput ¶
func (o PolicyPtrOutput) ToPolicyPtrOutput() PolicyPtrOutput
func (PolicyPtrOutput) ToPolicyPtrOutputWithContext ¶
func (o PolicyPtrOutput) ToPolicyPtrOutputWithContext(ctx context.Context) PolicyPtrOutput
type PolicySecurityServicePolicyData ¶
type PolicySecurityServicePolicyData struct { // 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](https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_SecurityServicePolicyData.html). ManagedServiceData *string `pulumi:"managedServiceData"` // The service that the policy is using to protect the resources. Valid values are `WAFV2`, `WAF`, `SHIELD_ADVANCED`, `SECURITY_GROUPS_COMMON`, `SECURITY_GROUPS_CONTENT_AUDIT`, and `SECURITY_GROUPS_USAGE_AUDIT`. Type string `pulumi:"type"` }
type PolicySecurityServicePolicyDataArgs ¶
type PolicySecurityServicePolicyDataArgs struct { // 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](https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_SecurityServicePolicyData.html). ManagedServiceData pulumi.StringPtrInput `pulumi:"managedServiceData"` // The service that the policy is using to protect the resources. Valid values are `WAFV2`, `WAF`, `SHIELD_ADVANCED`, `SECURITY_GROUPS_COMMON`, `SECURITY_GROUPS_CONTENT_AUDIT`, and `SECURITY_GROUPS_USAGE_AUDIT`. Type pulumi.StringInput `pulumi:"type"` }
func (PolicySecurityServicePolicyDataArgs) ElementType ¶
func (PolicySecurityServicePolicyDataArgs) ElementType() reflect.Type
func (PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataOutput ¶
func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataOutput() PolicySecurityServicePolicyDataOutput
func (PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataOutputWithContext ¶
func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataOutput
func (PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataPtrOutput ¶
func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataPtrOutput() PolicySecurityServicePolicyDataPtrOutput
func (PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataPtrOutputWithContext ¶
func (i PolicySecurityServicePolicyDataArgs) ToPolicySecurityServicePolicyDataPtrOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataPtrOutput
type PolicySecurityServicePolicyDataInput ¶
type PolicySecurityServicePolicyDataInput interface { pulumi.Input ToPolicySecurityServicePolicyDataOutput() PolicySecurityServicePolicyDataOutput ToPolicySecurityServicePolicyDataOutputWithContext(context.Context) PolicySecurityServicePolicyDataOutput }
PolicySecurityServicePolicyDataInput is an input type that accepts PolicySecurityServicePolicyDataArgs and PolicySecurityServicePolicyDataOutput values. You can construct a concrete instance of `PolicySecurityServicePolicyDataInput` via:
PolicySecurityServicePolicyDataArgs{...}
type PolicySecurityServicePolicyDataOutput ¶
type PolicySecurityServicePolicyDataOutput struct{ *pulumi.OutputState }
func (PolicySecurityServicePolicyDataOutput) ElementType ¶
func (PolicySecurityServicePolicyDataOutput) ElementType() reflect.Type
func (PolicySecurityServicePolicyDataOutput) ManagedServiceData ¶
func (o PolicySecurityServicePolicyDataOutput) ManagedServiceData() pulumi.StringPtrOutput
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](https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_SecurityServicePolicyData.html).
func (PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataOutput ¶
func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataOutput() PolicySecurityServicePolicyDataOutput
func (PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataOutputWithContext ¶
func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataOutput
func (PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataPtrOutput ¶
func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataPtrOutput() PolicySecurityServicePolicyDataPtrOutput
func (PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataPtrOutputWithContext ¶
func (o PolicySecurityServicePolicyDataOutput) ToPolicySecurityServicePolicyDataPtrOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataPtrOutput
func (PolicySecurityServicePolicyDataOutput) Type ¶
func (o PolicySecurityServicePolicyDataOutput) Type() pulumi.StringOutput
The service that the policy is using to protect the resources. Valid values are `WAFV2`, `WAF`, `SHIELD_ADVANCED`, `SECURITY_GROUPS_COMMON`, `SECURITY_GROUPS_CONTENT_AUDIT`, and `SECURITY_GROUPS_USAGE_AUDIT`.
type PolicySecurityServicePolicyDataPtrInput ¶
type PolicySecurityServicePolicyDataPtrInput interface { pulumi.Input ToPolicySecurityServicePolicyDataPtrOutput() PolicySecurityServicePolicyDataPtrOutput ToPolicySecurityServicePolicyDataPtrOutputWithContext(context.Context) PolicySecurityServicePolicyDataPtrOutput }
PolicySecurityServicePolicyDataPtrInput is an input type that accepts PolicySecurityServicePolicyDataArgs, PolicySecurityServicePolicyDataPtr and PolicySecurityServicePolicyDataPtrOutput values. You can construct a concrete instance of `PolicySecurityServicePolicyDataPtrInput` via:
PolicySecurityServicePolicyDataArgs{...} or: nil
func PolicySecurityServicePolicyDataPtr ¶
func PolicySecurityServicePolicyDataPtr(v *PolicySecurityServicePolicyDataArgs) PolicySecurityServicePolicyDataPtrInput
type PolicySecurityServicePolicyDataPtrOutput ¶
type PolicySecurityServicePolicyDataPtrOutput struct{ *pulumi.OutputState }
func (PolicySecurityServicePolicyDataPtrOutput) ElementType ¶
func (PolicySecurityServicePolicyDataPtrOutput) ElementType() reflect.Type
func (PolicySecurityServicePolicyDataPtrOutput) ManagedServiceData ¶
func (o PolicySecurityServicePolicyDataPtrOutput) ManagedServiceData() pulumi.StringPtrOutput
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](https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_SecurityServicePolicyData.html).
func (PolicySecurityServicePolicyDataPtrOutput) ToPolicySecurityServicePolicyDataPtrOutput ¶
func (o PolicySecurityServicePolicyDataPtrOutput) ToPolicySecurityServicePolicyDataPtrOutput() PolicySecurityServicePolicyDataPtrOutput
func (PolicySecurityServicePolicyDataPtrOutput) ToPolicySecurityServicePolicyDataPtrOutputWithContext ¶
func (o PolicySecurityServicePolicyDataPtrOutput) ToPolicySecurityServicePolicyDataPtrOutputWithContext(ctx context.Context) PolicySecurityServicePolicyDataPtrOutput
func (PolicySecurityServicePolicyDataPtrOutput) Type ¶
func (o PolicySecurityServicePolicyDataPtrOutput) Type() pulumi.StringPtrOutput
The service that the policy is using to protect the resources. Valid values are `WAFV2`, `WAF`, `SHIELD_ADVANCED`, `SECURITY_GROUPS_COMMON`, `SECURITY_GROUPS_CONTENT_AUDIT`, and `SECURITY_GROUPS_USAGE_AUDIT`.
type PolicyState ¶
type PolicyState struct { Arn pulumi.StringPtrInput // 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](https://docs.aws.amazon.com/fms/2018-01-01/APIReference/API_DeletePolicy.html) DeleteAllPolicyResources pulumi.BoolPtrInput // A map of lists, with a single key named 'account' with a list of AWS Account IDs to exclude from this policy. ExcludeMap PolicyExcludeMapPtrInput // A boolean value, if true the tags that are specified in the `resourceTags` are not protected by this policy. If set to false and resourceTags are populated, resources that contain tags will be protected by this policy. ExcludeResourceTags pulumi.BoolPtrInput // A map of lists, with a single key named 'account' with a list of AWS Account IDs to include for this policy. IncludeMap PolicyIncludeMapPtrInput // The friendly name of the AWS Firewall Manager Policy. Name pulumi.StringPtrInput // A unique identifier for each update to the policy. PolicyUpdateToken pulumi.StringPtrInput // A boolean value, indicates if the policy should automatically applied to resources that already exist in the account. RemediationEnabled pulumi.BoolPtrInput // A map of resource tags, that if present will filter protections on resources based on the exclude_resource_tags. ResourceTags pulumi.StringMapInput // A resource type to protect, valid values are: `AWS::ElasticLoadBalancingV2::LoadBalancer`, `AWS::ApiGateway::Stage`, `AWS::CloudFront::Distribution`, `AWS::EC2::Instance`, `AWS::EC2::NetworkInterface`, `AWS::EC2::SecurityGroup`. Conflicts with `resourceTypeList`. ResourceType pulumi.StringPtrInput // A list of resource types to protect, valid values are: `AWS::ElasticLoadBalancingV2::LoadBalancer`, `AWS::ApiGateway::Stage`, `AWS::CloudFront::Distribution`, `AWS::EC2::Instance`, `AWS::EC2::NetworkInterface`, `AWS::EC2::SecurityGroup`, and `AWS::EC2::VPC`. Conflicts with `resourceType`. ResourceTypeLists pulumi.StringArrayInput // The objects to include in Security Service Policy Data. Documented below. SecurityServicePolicyData PolicySecurityServicePolicyDataPtrInput }
func (PolicyState) ElementType ¶
func (PolicyState) ElementType() reflect.Type