Documentation ¶
Index ¶
- type ByteMatchSet
- type ByteMatchSetArgs
- type ByteMatchSetArray
- type ByteMatchSetArrayInput
- type ByteMatchSetArrayOutput
- func (ByteMatchSetArrayOutput) ElementType() reflect.Type
- func (o ByteMatchSetArrayOutput) Index(i pulumi.IntInput) ByteMatchSetOutput
- func (o ByteMatchSetArrayOutput) ToByteMatchSetArrayOutput() ByteMatchSetArrayOutput
- func (o ByteMatchSetArrayOutput) ToByteMatchSetArrayOutputWithContext(ctx context.Context) ByteMatchSetArrayOutput
- type ByteMatchSetByteMatchTuple
- type ByteMatchSetByteMatchTupleArgs
- func (ByteMatchSetByteMatchTupleArgs) ElementType() reflect.Type
- func (i ByteMatchSetByteMatchTupleArgs) ToByteMatchSetByteMatchTupleOutput() ByteMatchSetByteMatchTupleOutput
- func (i ByteMatchSetByteMatchTupleArgs) ToByteMatchSetByteMatchTupleOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleOutput
- type ByteMatchSetByteMatchTupleArray
- func (ByteMatchSetByteMatchTupleArray) ElementType() reflect.Type
- func (i ByteMatchSetByteMatchTupleArray) ToByteMatchSetByteMatchTupleArrayOutput() ByteMatchSetByteMatchTupleArrayOutput
- func (i ByteMatchSetByteMatchTupleArray) ToByteMatchSetByteMatchTupleArrayOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleArrayOutput
- type ByteMatchSetByteMatchTupleArrayInput
- type ByteMatchSetByteMatchTupleArrayOutput
- func (ByteMatchSetByteMatchTupleArrayOutput) ElementType() reflect.Type
- func (o ByteMatchSetByteMatchTupleArrayOutput) Index(i pulumi.IntInput) ByteMatchSetByteMatchTupleOutput
- func (o ByteMatchSetByteMatchTupleArrayOutput) ToByteMatchSetByteMatchTupleArrayOutput() ByteMatchSetByteMatchTupleArrayOutput
- func (o ByteMatchSetByteMatchTupleArrayOutput) ToByteMatchSetByteMatchTupleArrayOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleArrayOutput
- type ByteMatchSetByteMatchTupleFieldToMatch
- type ByteMatchSetByteMatchTupleFieldToMatchArgs
- func (ByteMatchSetByteMatchTupleFieldToMatchArgs) ElementType() reflect.Type
- func (i ByteMatchSetByteMatchTupleFieldToMatchArgs) ToByteMatchSetByteMatchTupleFieldToMatchOutput() ByteMatchSetByteMatchTupleFieldToMatchOutput
- func (i ByteMatchSetByteMatchTupleFieldToMatchArgs) ToByteMatchSetByteMatchTupleFieldToMatchOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleFieldToMatchOutput
- type ByteMatchSetByteMatchTupleFieldToMatchInput
- type ByteMatchSetByteMatchTupleFieldToMatchOutput
- func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) Data() pulumi.StringPtrOutput
- func (ByteMatchSetByteMatchTupleFieldToMatchOutput) ElementType() reflect.Type
- func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) ToByteMatchSetByteMatchTupleFieldToMatchOutput() ByteMatchSetByteMatchTupleFieldToMatchOutput
- func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) ToByteMatchSetByteMatchTupleFieldToMatchOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleFieldToMatchOutput
- func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) Type() pulumi.StringOutput
- type ByteMatchSetByteMatchTupleInput
- type ByteMatchSetByteMatchTupleOutput
- func (ByteMatchSetByteMatchTupleOutput) ElementType() reflect.Type
- func (o ByteMatchSetByteMatchTupleOutput) FieldToMatch() ByteMatchSetByteMatchTupleFieldToMatchOutput
- func (o ByteMatchSetByteMatchTupleOutput) PositionalConstraint() pulumi.StringOutput
- func (o ByteMatchSetByteMatchTupleOutput) TargetString() pulumi.StringPtrOutput
- func (o ByteMatchSetByteMatchTupleOutput) TextTransformation() pulumi.StringOutput
- func (o ByteMatchSetByteMatchTupleOutput) ToByteMatchSetByteMatchTupleOutput() ByteMatchSetByteMatchTupleOutput
- func (o ByteMatchSetByteMatchTupleOutput) ToByteMatchSetByteMatchTupleOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleOutput
- type ByteMatchSetInput
- type ByteMatchSetMap
- type ByteMatchSetMapInput
- type ByteMatchSetMapOutput
- func (ByteMatchSetMapOutput) ElementType() reflect.Type
- func (o ByteMatchSetMapOutput) MapIndex(k pulumi.StringInput) ByteMatchSetOutput
- func (o ByteMatchSetMapOutput) ToByteMatchSetMapOutput() ByteMatchSetMapOutput
- func (o ByteMatchSetMapOutput) ToByteMatchSetMapOutputWithContext(ctx context.Context) ByteMatchSetMapOutput
- type ByteMatchSetOutput
- func (o ByteMatchSetOutput) ByteMatchTuples() ByteMatchSetByteMatchTupleArrayOutput
- func (ByteMatchSetOutput) ElementType() reflect.Type
- func (o ByteMatchSetOutput) Name() pulumi.StringOutput
- func (o ByteMatchSetOutput) ToByteMatchSetOutput() ByteMatchSetOutput
- func (o ByteMatchSetOutput) ToByteMatchSetOutputWithContext(ctx context.Context) ByteMatchSetOutput
- type ByteMatchSetState
- type GeoMatchSet
- type GeoMatchSetArgs
- type GeoMatchSetArray
- type GeoMatchSetArrayInput
- type GeoMatchSetArrayOutput
- func (GeoMatchSetArrayOutput) ElementType() reflect.Type
- func (o GeoMatchSetArrayOutput) Index(i pulumi.IntInput) GeoMatchSetOutput
- func (o GeoMatchSetArrayOutput) ToGeoMatchSetArrayOutput() GeoMatchSetArrayOutput
- func (o GeoMatchSetArrayOutput) ToGeoMatchSetArrayOutputWithContext(ctx context.Context) GeoMatchSetArrayOutput
- type GeoMatchSetGeoMatchConstraint
- type GeoMatchSetGeoMatchConstraintArgs
- func (GeoMatchSetGeoMatchConstraintArgs) ElementType() reflect.Type
- func (i GeoMatchSetGeoMatchConstraintArgs) ToGeoMatchSetGeoMatchConstraintOutput() GeoMatchSetGeoMatchConstraintOutput
- func (i GeoMatchSetGeoMatchConstraintArgs) ToGeoMatchSetGeoMatchConstraintOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintOutput
- type GeoMatchSetGeoMatchConstraintArray
- func (GeoMatchSetGeoMatchConstraintArray) ElementType() reflect.Type
- func (i GeoMatchSetGeoMatchConstraintArray) ToGeoMatchSetGeoMatchConstraintArrayOutput() GeoMatchSetGeoMatchConstraintArrayOutput
- func (i GeoMatchSetGeoMatchConstraintArray) ToGeoMatchSetGeoMatchConstraintArrayOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintArrayOutput
- type GeoMatchSetGeoMatchConstraintArrayInput
- type GeoMatchSetGeoMatchConstraintArrayOutput
- func (GeoMatchSetGeoMatchConstraintArrayOutput) ElementType() reflect.Type
- func (o GeoMatchSetGeoMatchConstraintArrayOutput) Index(i pulumi.IntInput) GeoMatchSetGeoMatchConstraintOutput
- func (o GeoMatchSetGeoMatchConstraintArrayOutput) ToGeoMatchSetGeoMatchConstraintArrayOutput() GeoMatchSetGeoMatchConstraintArrayOutput
- func (o GeoMatchSetGeoMatchConstraintArrayOutput) ToGeoMatchSetGeoMatchConstraintArrayOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintArrayOutput
- type GeoMatchSetGeoMatchConstraintInput
- type GeoMatchSetGeoMatchConstraintOutput
- func (GeoMatchSetGeoMatchConstraintOutput) ElementType() reflect.Type
- func (o GeoMatchSetGeoMatchConstraintOutput) ToGeoMatchSetGeoMatchConstraintOutput() GeoMatchSetGeoMatchConstraintOutput
- func (o GeoMatchSetGeoMatchConstraintOutput) ToGeoMatchSetGeoMatchConstraintOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintOutput
- func (o GeoMatchSetGeoMatchConstraintOutput) Type() pulumi.StringOutput
- func (o GeoMatchSetGeoMatchConstraintOutput) Value() pulumi.StringOutput
- type GeoMatchSetInput
- type GeoMatchSetMap
- type GeoMatchSetMapInput
- type GeoMatchSetMapOutput
- func (GeoMatchSetMapOutput) ElementType() reflect.Type
- func (o GeoMatchSetMapOutput) MapIndex(k pulumi.StringInput) GeoMatchSetOutput
- func (o GeoMatchSetMapOutput) ToGeoMatchSetMapOutput() GeoMatchSetMapOutput
- func (o GeoMatchSetMapOutput) ToGeoMatchSetMapOutputWithContext(ctx context.Context) GeoMatchSetMapOutput
- type GeoMatchSetOutput
- func (o GeoMatchSetOutput) Arn() pulumi.StringOutput
- func (GeoMatchSetOutput) ElementType() reflect.Type
- func (o GeoMatchSetOutput) GeoMatchConstraints() GeoMatchSetGeoMatchConstraintArrayOutput
- func (o GeoMatchSetOutput) Name() pulumi.StringOutput
- func (o GeoMatchSetOutput) ToGeoMatchSetOutput() GeoMatchSetOutput
- func (o GeoMatchSetOutput) ToGeoMatchSetOutputWithContext(ctx context.Context) GeoMatchSetOutput
- type GeoMatchSetState
- type GetIpsetArgs
- type GetIpsetOutputArgs
- type GetIpsetResult
- type GetIpsetResultOutput
- func (GetIpsetResultOutput) ElementType() reflect.Type
- func (o GetIpsetResultOutput) Id() pulumi.StringOutput
- func (o GetIpsetResultOutput) Name() pulumi.StringOutput
- func (o GetIpsetResultOutput) ToGetIpsetResultOutput() GetIpsetResultOutput
- func (o GetIpsetResultOutput) ToGetIpsetResultOutputWithContext(ctx context.Context) GetIpsetResultOutput
- type GetSubscribedRuleGroupArgs
- type GetSubscribedRuleGroupOutputArgs
- type GetSubscribedRuleGroupResult
- type GetSubscribedRuleGroupResultOutput
- func (GetSubscribedRuleGroupResultOutput) ElementType() reflect.Type
- func (o GetSubscribedRuleGroupResultOutput) Id() pulumi.StringOutput
- func (o GetSubscribedRuleGroupResultOutput) MetricName() pulumi.StringPtrOutput
- func (o GetSubscribedRuleGroupResultOutput) Name() pulumi.StringPtrOutput
- func (o GetSubscribedRuleGroupResultOutput) ToGetSubscribedRuleGroupResultOutput() GetSubscribedRuleGroupResultOutput
- func (o GetSubscribedRuleGroupResultOutput) ToGetSubscribedRuleGroupResultOutputWithContext(ctx context.Context) GetSubscribedRuleGroupResultOutput
- type IpSet
- type IpSetArgs
- type IpSetArray
- type IpSetArrayInput
- type IpSetArrayOutput
- type IpSetInput
- type IpSetIpSetDescriptor
- type IpSetIpSetDescriptorArgs
- type IpSetIpSetDescriptorArray
- type IpSetIpSetDescriptorArrayInput
- type IpSetIpSetDescriptorArrayOutput
- func (IpSetIpSetDescriptorArrayOutput) ElementType() reflect.Type
- func (o IpSetIpSetDescriptorArrayOutput) Index(i pulumi.IntInput) IpSetIpSetDescriptorOutput
- func (o IpSetIpSetDescriptorArrayOutput) ToIpSetIpSetDescriptorArrayOutput() IpSetIpSetDescriptorArrayOutput
- func (o IpSetIpSetDescriptorArrayOutput) ToIpSetIpSetDescriptorArrayOutputWithContext(ctx context.Context) IpSetIpSetDescriptorArrayOutput
- type IpSetIpSetDescriptorInput
- type IpSetIpSetDescriptorOutput
- func (IpSetIpSetDescriptorOutput) ElementType() reflect.Type
- func (o IpSetIpSetDescriptorOutput) ToIpSetIpSetDescriptorOutput() IpSetIpSetDescriptorOutput
- func (o IpSetIpSetDescriptorOutput) ToIpSetIpSetDescriptorOutputWithContext(ctx context.Context) IpSetIpSetDescriptorOutput
- func (o IpSetIpSetDescriptorOutput) Type() pulumi.StringOutput
- func (o IpSetIpSetDescriptorOutput) Value() pulumi.StringOutput
- type IpSetMap
- type IpSetMapInput
- type IpSetMapOutput
- type IpSetOutput
- func (o IpSetOutput) Arn() pulumi.StringOutput
- func (IpSetOutput) ElementType() reflect.Type
- func (o IpSetOutput) IpSetDescriptors() IpSetIpSetDescriptorArrayOutput
- func (o IpSetOutput) Name() pulumi.StringOutput
- func (o IpSetOutput) ToIpSetOutput() IpSetOutput
- func (o IpSetOutput) ToIpSetOutputWithContext(ctx context.Context) IpSetOutput
- type IpSetState
- type LookupRateBasedRuleArgs
- type LookupRateBasedRuleOutputArgs
- type LookupRateBasedRuleResult
- type LookupRateBasedRuleResultOutput
- func (LookupRateBasedRuleResultOutput) ElementType() reflect.Type
- func (o LookupRateBasedRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupRateBasedRuleResultOutput) Name() pulumi.StringOutput
- func (o LookupRateBasedRuleResultOutput) ToLookupRateBasedRuleResultOutput() LookupRateBasedRuleResultOutput
- func (o LookupRateBasedRuleResultOutput) ToLookupRateBasedRuleResultOutputWithContext(ctx context.Context) LookupRateBasedRuleResultOutput
- type LookupRuleArgs
- type LookupRuleOutputArgs
- type LookupRuleResult
- type LookupRuleResultOutput
- func (LookupRuleResultOutput) ElementType() reflect.Type
- func (o LookupRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupRuleResultOutput) Name() pulumi.StringOutput
- func (o LookupRuleResultOutput) ToLookupRuleResultOutput() LookupRuleResultOutput
- func (o LookupRuleResultOutput) ToLookupRuleResultOutputWithContext(ctx context.Context) LookupRuleResultOutput
- type LookupWebAclArgs
- type LookupWebAclOutputArgs
- type LookupWebAclResult
- type LookupWebAclResultOutput
- func (LookupWebAclResultOutput) ElementType() reflect.Type
- func (o LookupWebAclResultOutput) Id() pulumi.StringOutput
- func (o LookupWebAclResultOutput) Name() pulumi.StringOutput
- func (o LookupWebAclResultOutput) ToLookupWebAclResultOutput() LookupWebAclResultOutput
- func (o LookupWebAclResultOutput) ToLookupWebAclResultOutputWithContext(ctx context.Context) LookupWebAclResultOutput
- type RateBasedRule
- type RateBasedRuleArgs
- type RateBasedRuleArray
- type RateBasedRuleArrayInput
- type RateBasedRuleArrayOutput
- func (RateBasedRuleArrayOutput) ElementType() reflect.Type
- func (o RateBasedRuleArrayOutput) Index(i pulumi.IntInput) RateBasedRuleOutput
- func (o RateBasedRuleArrayOutput) ToRateBasedRuleArrayOutput() RateBasedRuleArrayOutput
- func (o RateBasedRuleArrayOutput) ToRateBasedRuleArrayOutputWithContext(ctx context.Context) RateBasedRuleArrayOutput
- type RateBasedRuleInput
- type RateBasedRuleMap
- type RateBasedRuleMapInput
- type RateBasedRuleMapOutput
- func (RateBasedRuleMapOutput) ElementType() reflect.Type
- func (o RateBasedRuleMapOutput) MapIndex(k pulumi.StringInput) RateBasedRuleOutput
- func (o RateBasedRuleMapOutput) ToRateBasedRuleMapOutput() RateBasedRuleMapOutput
- func (o RateBasedRuleMapOutput) ToRateBasedRuleMapOutputWithContext(ctx context.Context) RateBasedRuleMapOutput
- type RateBasedRuleOutput
- func (o RateBasedRuleOutput) Arn() pulumi.StringOutput
- func (RateBasedRuleOutput) ElementType() reflect.Type
- func (o RateBasedRuleOutput) MetricName() pulumi.StringOutput
- func (o RateBasedRuleOutput) Name() pulumi.StringOutput
- func (o RateBasedRuleOutput) Predicates() RateBasedRulePredicateArrayOutput
- func (o RateBasedRuleOutput) RateKey() pulumi.StringOutput
- func (o RateBasedRuleOutput) RateLimit() pulumi.IntOutput
- func (o RateBasedRuleOutput) Tags() pulumi.StringMapOutput
- func (o RateBasedRuleOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o RateBasedRuleOutput) ToRateBasedRuleOutput() RateBasedRuleOutput
- func (o RateBasedRuleOutput) ToRateBasedRuleOutputWithContext(ctx context.Context) RateBasedRuleOutput
- type RateBasedRulePredicate
- type RateBasedRulePredicateArgs
- type RateBasedRulePredicateArray
- func (RateBasedRulePredicateArray) ElementType() reflect.Type
- func (i RateBasedRulePredicateArray) ToRateBasedRulePredicateArrayOutput() RateBasedRulePredicateArrayOutput
- func (i RateBasedRulePredicateArray) ToRateBasedRulePredicateArrayOutputWithContext(ctx context.Context) RateBasedRulePredicateArrayOutput
- type RateBasedRulePredicateArrayInput
- type RateBasedRulePredicateArrayOutput
- func (RateBasedRulePredicateArrayOutput) ElementType() reflect.Type
- func (o RateBasedRulePredicateArrayOutput) Index(i pulumi.IntInput) RateBasedRulePredicateOutput
- func (o RateBasedRulePredicateArrayOutput) ToRateBasedRulePredicateArrayOutput() RateBasedRulePredicateArrayOutput
- func (o RateBasedRulePredicateArrayOutput) ToRateBasedRulePredicateArrayOutputWithContext(ctx context.Context) RateBasedRulePredicateArrayOutput
- type RateBasedRulePredicateInput
- type RateBasedRulePredicateOutput
- func (o RateBasedRulePredicateOutput) DataId() pulumi.StringOutput
- func (RateBasedRulePredicateOutput) ElementType() reflect.Type
- func (o RateBasedRulePredicateOutput) Negated() pulumi.BoolOutput
- func (o RateBasedRulePredicateOutput) ToRateBasedRulePredicateOutput() RateBasedRulePredicateOutput
- func (o RateBasedRulePredicateOutput) ToRateBasedRulePredicateOutputWithContext(ctx context.Context) RateBasedRulePredicateOutput
- func (o RateBasedRulePredicateOutput) Type() pulumi.StringOutput
- type RateBasedRuleState
- type RegexMatchSet
- type RegexMatchSetArgs
- type RegexMatchSetArray
- type RegexMatchSetArrayInput
- type RegexMatchSetArrayOutput
- func (RegexMatchSetArrayOutput) ElementType() reflect.Type
- func (o RegexMatchSetArrayOutput) Index(i pulumi.IntInput) RegexMatchSetOutput
- func (o RegexMatchSetArrayOutput) ToRegexMatchSetArrayOutput() RegexMatchSetArrayOutput
- func (o RegexMatchSetArrayOutput) ToRegexMatchSetArrayOutputWithContext(ctx context.Context) RegexMatchSetArrayOutput
- type RegexMatchSetInput
- type RegexMatchSetMap
- type RegexMatchSetMapInput
- type RegexMatchSetMapOutput
- func (RegexMatchSetMapOutput) ElementType() reflect.Type
- func (o RegexMatchSetMapOutput) MapIndex(k pulumi.StringInput) RegexMatchSetOutput
- func (o RegexMatchSetMapOutput) ToRegexMatchSetMapOutput() RegexMatchSetMapOutput
- func (o RegexMatchSetMapOutput) ToRegexMatchSetMapOutputWithContext(ctx context.Context) RegexMatchSetMapOutput
- type RegexMatchSetOutput
- func (o RegexMatchSetOutput) Arn() pulumi.StringOutput
- func (RegexMatchSetOutput) ElementType() reflect.Type
- func (o RegexMatchSetOutput) Name() pulumi.StringOutput
- func (o RegexMatchSetOutput) RegexMatchTuples() RegexMatchSetRegexMatchTupleArrayOutput
- func (o RegexMatchSetOutput) ToRegexMatchSetOutput() RegexMatchSetOutput
- func (o RegexMatchSetOutput) ToRegexMatchSetOutputWithContext(ctx context.Context) RegexMatchSetOutput
- type RegexMatchSetRegexMatchTuple
- type RegexMatchSetRegexMatchTupleArgs
- func (RegexMatchSetRegexMatchTupleArgs) ElementType() reflect.Type
- func (i RegexMatchSetRegexMatchTupleArgs) ToRegexMatchSetRegexMatchTupleOutput() RegexMatchSetRegexMatchTupleOutput
- func (i RegexMatchSetRegexMatchTupleArgs) ToRegexMatchSetRegexMatchTupleOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleOutput
- type RegexMatchSetRegexMatchTupleArray
- func (RegexMatchSetRegexMatchTupleArray) ElementType() reflect.Type
- func (i RegexMatchSetRegexMatchTupleArray) ToRegexMatchSetRegexMatchTupleArrayOutput() RegexMatchSetRegexMatchTupleArrayOutput
- func (i RegexMatchSetRegexMatchTupleArray) ToRegexMatchSetRegexMatchTupleArrayOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleArrayOutput
- type RegexMatchSetRegexMatchTupleArrayInput
- type RegexMatchSetRegexMatchTupleArrayOutput
- func (RegexMatchSetRegexMatchTupleArrayOutput) ElementType() reflect.Type
- func (o RegexMatchSetRegexMatchTupleArrayOutput) Index(i pulumi.IntInput) RegexMatchSetRegexMatchTupleOutput
- func (o RegexMatchSetRegexMatchTupleArrayOutput) ToRegexMatchSetRegexMatchTupleArrayOutput() RegexMatchSetRegexMatchTupleArrayOutput
- func (o RegexMatchSetRegexMatchTupleArrayOutput) ToRegexMatchSetRegexMatchTupleArrayOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleArrayOutput
- type RegexMatchSetRegexMatchTupleFieldToMatch
- type RegexMatchSetRegexMatchTupleFieldToMatchArgs
- func (RegexMatchSetRegexMatchTupleFieldToMatchArgs) ElementType() reflect.Type
- func (i RegexMatchSetRegexMatchTupleFieldToMatchArgs) ToRegexMatchSetRegexMatchTupleFieldToMatchOutput() RegexMatchSetRegexMatchTupleFieldToMatchOutput
- func (i RegexMatchSetRegexMatchTupleFieldToMatchArgs) ToRegexMatchSetRegexMatchTupleFieldToMatchOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleFieldToMatchOutput
- type RegexMatchSetRegexMatchTupleFieldToMatchInput
- type RegexMatchSetRegexMatchTupleFieldToMatchOutput
- func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) Data() pulumi.StringPtrOutput
- func (RegexMatchSetRegexMatchTupleFieldToMatchOutput) ElementType() reflect.Type
- func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) ToRegexMatchSetRegexMatchTupleFieldToMatchOutput() RegexMatchSetRegexMatchTupleFieldToMatchOutput
- func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) ToRegexMatchSetRegexMatchTupleFieldToMatchOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleFieldToMatchOutput
- func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) Type() pulumi.StringOutput
- type RegexMatchSetRegexMatchTupleInput
- type RegexMatchSetRegexMatchTupleOutput
- func (RegexMatchSetRegexMatchTupleOutput) ElementType() reflect.Type
- func (o RegexMatchSetRegexMatchTupleOutput) FieldToMatch() RegexMatchSetRegexMatchTupleFieldToMatchOutput
- func (o RegexMatchSetRegexMatchTupleOutput) RegexPatternSetId() pulumi.StringOutput
- func (o RegexMatchSetRegexMatchTupleOutput) TextTransformation() pulumi.StringOutput
- func (o RegexMatchSetRegexMatchTupleOutput) ToRegexMatchSetRegexMatchTupleOutput() RegexMatchSetRegexMatchTupleOutput
- func (o RegexMatchSetRegexMatchTupleOutput) ToRegexMatchSetRegexMatchTupleOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleOutput
- type RegexMatchSetState
- type RegexPatternSet
- type RegexPatternSetArgs
- type RegexPatternSetArray
- type RegexPatternSetArrayInput
- type RegexPatternSetArrayOutput
- func (RegexPatternSetArrayOutput) ElementType() reflect.Type
- func (o RegexPatternSetArrayOutput) Index(i pulumi.IntInput) RegexPatternSetOutput
- func (o RegexPatternSetArrayOutput) ToRegexPatternSetArrayOutput() RegexPatternSetArrayOutput
- func (o RegexPatternSetArrayOutput) ToRegexPatternSetArrayOutputWithContext(ctx context.Context) RegexPatternSetArrayOutput
- type RegexPatternSetInput
- type RegexPatternSetMap
- type RegexPatternSetMapInput
- type RegexPatternSetMapOutput
- func (RegexPatternSetMapOutput) ElementType() reflect.Type
- func (o RegexPatternSetMapOutput) MapIndex(k pulumi.StringInput) RegexPatternSetOutput
- func (o RegexPatternSetMapOutput) ToRegexPatternSetMapOutput() RegexPatternSetMapOutput
- func (o RegexPatternSetMapOutput) ToRegexPatternSetMapOutputWithContext(ctx context.Context) RegexPatternSetMapOutput
- type RegexPatternSetOutput
- func (o RegexPatternSetOutput) Arn() pulumi.StringOutput
- func (RegexPatternSetOutput) ElementType() reflect.Type
- func (o RegexPatternSetOutput) Name() pulumi.StringOutput
- func (o RegexPatternSetOutput) RegexPatternStrings() pulumi.StringArrayOutput
- func (o RegexPatternSetOutput) ToRegexPatternSetOutput() RegexPatternSetOutput
- func (o RegexPatternSetOutput) ToRegexPatternSetOutputWithContext(ctx context.Context) RegexPatternSetOutput
- type RegexPatternSetState
- type Rule
- type RuleArgs
- type RuleArray
- type RuleArrayInput
- type RuleArrayOutput
- type RuleGroup
- type RuleGroupActivatedRule
- type RuleGroupActivatedRuleAction
- type RuleGroupActivatedRuleActionArgs
- func (RuleGroupActivatedRuleActionArgs) ElementType() reflect.Type
- func (i RuleGroupActivatedRuleActionArgs) ToRuleGroupActivatedRuleActionOutput() RuleGroupActivatedRuleActionOutput
- func (i RuleGroupActivatedRuleActionArgs) ToRuleGroupActivatedRuleActionOutputWithContext(ctx context.Context) RuleGroupActivatedRuleActionOutput
- type RuleGroupActivatedRuleActionInput
- type RuleGroupActivatedRuleActionOutput
- func (RuleGroupActivatedRuleActionOutput) ElementType() reflect.Type
- func (o RuleGroupActivatedRuleActionOutput) ToRuleGroupActivatedRuleActionOutput() RuleGroupActivatedRuleActionOutput
- func (o RuleGroupActivatedRuleActionOutput) ToRuleGroupActivatedRuleActionOutputWithContext(ctx context.Context) RuleGroupActivatedRuleActionOutput
- func (o RuleGroupActivatedRuleActionOutput) Type() pulumi.StringOutput
- type RuleGroupActivatedRuleArgs
- type RuleGroupActivatedRuleArray
- func (RuleGroupActivatedRuleArray) ElementType() reflect.Type
- func (i RuleGroupActivatedRuleArray) ToRuleGroupActivatedRuleArrayOutput() RuleGroupActivatedRuleArrayOutput
- func (i RuleGroupActivatedRuleArray) ToRuleGroupActivatedRuleArrayOutputWithContext(ctx context.Context) RuleGroupActivatedRuleArrayOutput
- type RuleGroupActivatedRuleArrayInput
- type RuleGroupActivatedRuleArrayOutput
- func (RuleGroupActivatedRuleArrayOutput) ElementType() reflect.Type
- func (o RuleGroupActivatedRuleArrayOutput) Index(i pulumi.IntInput) RuleGroupActivatedRuleOutput
- func (o RuleGroupActivatedRuleArrayOutput) ToRuleGroupActivatedRuleArrayOutput() RuleGroupActivatedRuleArrayOutput
- func (o RuleGroupActivatedRuleArrayOutput) ToRuleGroupActivatedRuleArrayOutputWithContext(ctx context.Context) RuleGroupActivatedRuleArrayOutput
- type RuleGroupActivatedRuleInput
- type RuleGroupActivatedRuleOutput
- func (o RuleGroupActivatedRuleOutput) Action() RuleGroupActivatedRuleActionOutput
- func (RuleGroupActivatedRuleOutput) ElementType() reflect.Type
- func (o RuleGroupActivatedRuleOutput) Priority() pulumi.IntOutput
- func (o RuleGroupActivatedRuleOutput) RuleId() pulumi.StringOutput
- func (o RuleGroupActivatedRuleOutput) ToRuleGroupActivatedRuleOutput() RuleGroupActivatedRuleOutput
- func (o RuleGroupActivatedRuleOutput) ToRuleGroupActivatedRuleOutputWithContext(ctx context.Context) RuleGroupActivatedRuleOutput
- func (o RuleGroupActivatedRuleOutput) Type() pulumi.StringPtrOutput
- type RuleGroupArgs
- type RuleGroupArray
- type RuleGroupArrayInput
- type RuleGroupArrayOutput
- func (RuleGroupArrayOutput) ElementType() reflect.Type
- func (o RuleGroupArrayOutput) Index(i pulumi.IntInput) RuleGroupOutput
- func (o RuleGroupArrayOutput) ToRuleGroupArrayOutput() RuleGroupArrayOutput
- func (o RuleGroupArrayOutput) ToRuleGroupArrayOutputWithContext(ctx context.Context) RuleGroupArrayOutput
- type RuleGroupInput
- type RuleGroupMap
- type RuleGroupMapInput
- type RuleGroupMapOutput
- type RuleGroupOutput
- func (o RuleGroupOutput) ActivatedRules() RuleGroupActivatedRuleArrayOutput
- func (o RuleGroupOutput) Arn() pulumi.StringOutput
- func (RuleGroupOutput) ElementType() reflect.Type
- func (o RuleGroupOutput) MetricName() pulumi.StringOutput
- func (o RuleGroupOutput) Name() pulumi.StringOutput
- func (o RuleGroupOutput) Tags() pulumi.StringMapOutput
- func (o RuleGroupOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o RuleGroupOutput) ToRuleGroupOutput() RuleGroupOutput
- func (o RuleGroupOutput) ToRuleGroupOutputWithContext(ctx context.Context) RuleGroupOutput
- type RuleGroupState
- type RuleInput
- type RuleMap
- type RuleMapInput
- type RuleMapOutput
- type RuleOutput
- func (o RuleOutput) Arn() pulumi.StringOutput
- func (RuleOutput) ElementType() reflect.Type
- func (o RuleOutput) MetricName() pulumi.StringOutput
- func (o RuleOutput) Name() pulumi.StringOutput
- func (o RuleOutput) Predicates() RulePredicateArrayOutput
- func (o RuleOutput) Tags() pulumi.StringMapOutput
- func (o RuleOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o RuleOutput) ToRuleOutput() RuleOutput
- func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
- type RulePredicate
- type RulePredicateArgs
- type RulePredicateArray
- type RulePredicateArrayInput
- type RulePredicateArrayOutput
- func (RulePredicateArrayOutput) ElementType() reflect.Type
- func (o RulePredicateArrayOutput) Index(i pulumi.IntInput) RulePredicateOutput
- func (o RulePredicateArrayOutput) ToRulePredicateArrayOutput() RulePredicateArrayOutput
- func (o RulePredicateArrayOutput) ToRulePredicateArrayOutputWithContext(ctx context.Context) RulePredicateArrayOutput
- type RulePredicateInput
- type RulePredicateOutput
- func (o RulePredicateOutput) DataId() pulumi.StringOutput
- func (RulePredicateOutput) ElementType() reflect.Type
- func (o RulePredicateOutput) Negated() pulumi.BoolOutput
- func (o RulePredicateOutput) ToRulePredicateOutput() RulePredicateOutput
- func (o RulePredicateOutput) ToRulePredicateOutputWithContext(ctx context.Context) RulePredicateOutput
- func (o RulePredicateOutput) Type() pulumi.StringOutput
- type RuleState
- type SizeConstraintSet
- type SizeConstraintSetArgs
- type SizeConstraintSetArray
- type SizeConstraintSetArrayInput
- type SizeConstraintSetArrayOutput
- func (SizeConstraintSetArrayOutput) ElementType() reflect.Type
- func (o SizeConstraintSetArrayOutput) Index(i pulumi.IntInput) SizeConstraintSetOutput
- func (o SizeConstraintSetArrayOutput) ToSizeConstraintSetArrayOutput() SizeConstraintSetArrayOutput
- func (o SizeConstraintSetArrayOutput) ToSizeConstraintSetArrayOutputWithContext(ctx context.Context) SizeConstraintSetArrayOutput
- type SizeConstraintSetInput
- type SizeConstraintSetMap
- type SizeConstraintSetMapInput
- type SizeConstraintSetMapOutput
- func (SizeConstraintSetMapOutput) ElementType() reflect.Type
- func (o SizeConstraintSetMapOutput) MapIndex(k pulumi.StringInput) SizeConstraintSetOutput
- func (o SizeConstraintSetMapOutput) ToSizeConstraintSetMapOutput() SizeConstraintSetMapOutput
- func (o SizeConstraintSetMapOutput) ToSizeConstraintSetMapOutputWithContext(ctx context.Context) SizeConstraintSetMapOutput
- type SizeConstraintSetOutput
- func (o SizeConstraintSetOutput) Arn() pulumi.StringOutput
- func (SizeConstraintSetOutput) ElementType() reflect.Type
- func (o SizeConstraintSetOutput) Name() pulumi.StringOutput
- func (o SizeConstraintSetOutput) SizeConstraints() SizeConstraintSetSizeConstraintArrayOutput
- func (o SizeConstraintSetOutput) ToSizeConstraintSetOutput() SizeConstraintSetOutput
- func (o SizeConstraintSetOutput) ToSizeConstraintSetOutputWithContext(ctx context.Context) SizeConstraintSetOutput
- type SizeConstraintSetSizeConstraint
- type SizeConstraintSetSizeConstraintArgs
- func (SizeConstraintSetSizeConstraintArgs) ElementType() reflect.Type
- func (i SizeConstraintSetSizeConstraintArgs) ToSizeConstraintSetSizeConstraintOutput() SizeConstraintSetSizeConstraintOutput
- func (i SizeConstraintSetSizeConstraintArgs) ToSizeConstraintSetSizeConstraintOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintOutput
- type SizeConstraintSetSizeConstraintArray
- func (SizeConstraintSetSizeConstraintArray) ElementType() reflect.Type
- func (i SizeConstraintSetSizeConstraintArray) ToSizeConstraintSetSizeConstraintArrayOutput() SizeConstraintSetSizeConstraintArrayOutput
- func (i SizeConstraintSetSizeConstraintArray) ToSizeConstraintSetSizeConstraintArrayOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintArrayOutput
- type SizeConstraintSetSizeConstraintArrayInput
- type SizeConstraintSetSizeConstraintArrayOutput
- func (SizeConstraintSetSizeConstraintArrayOutput) ElementType() reflect.Type
- func (o SizeConstraintSetSizeConstraintArrayOutput) Index(i pulumi.IntInput) SizeConstraintSetSizeConstraintOutput
- func (o SizeConstraintSetSizeConstraintArrayOutput) ToSizeConstraintSetSizeConstraintArrayOutput() SizeConstraintSetSizeConstraintArrayOutput
- func (o SizeConstraintSetSizeConstraintArrayOutput) ToSizeConstraintSetSizeConstraintArrayOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintArrayOutput
- type SizeConstraintSetSizeConstraintFieldToMatch
- type SizeConstraintSetSizeConstraintFieldToMatchArgs
- func (SizeConstraintSetSizeConstraintFieldToMatchArgs) ElementType() reflect.Type
- func (i SizeConstraintSetSizeConstraintFieldToMatchArgs) ToSizeConstraintSetSizeConstraintFieldToMatchOutput() SizeConstraintSetSizeConstraintFieldToMatchOutput
- func (i SizeConstraintSetSizeConstraintFieldToMatchArgs) ToSizeConstraintSetSizeConstraintFieldToMatchOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintFieldToMatchOutput
- type SizeConstraintSetSizeConstraintFieldToMatchInput
- type SizeConstraintSetSizeConstraintFieldToMatchOutput
- func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) Data() pulumi.StringPtrOutput
- func (SizeConstraintSetSizeConstraintFieldToMatchOutput) ElementType() reflect.Type
- func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) ToSizeConstraintSetSizeConstraintFieldToMatchOutput() SizeConstraintSetSizeConstraintFieldToMatchOutput
- func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) ToSizeConstraintSetSizeConstraintFieldToMatchOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintFieldToMatchOutput
- func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) Type() pulumi.StringOutput
- type SizeConstraintSetSizeConstraintInput
- type SizeConstraintSetSizeConstraintOutput
- func (o SizeConstraintSetSizeConstraintOutput) ComparisonOperator() pulumi.StringOutput
- func (SizeConstraintSetSizeConstraintOutput) ElementType() reflect.Type
- func (o SizeConstraintSetSizeConstraintOutput) FieldToMatch() SizeConstraintSetSizeConstraintFieldToMatchOutput
- func (o SizeConstraintSetSizeConstraintOutput) Size() pulumi.IntOutput
- func (o SizeConstraintSetSizeConstraintOutput) TextTransformation() pulumi.StringOutput
- func (o SizeConstraintSetSizeConstraintOutput) ToSizeConstraintSetSizeConstraintOutput() SizeConstraintSetSizeConstraintOutput
- func (o SizeConstraintSetSizeConstraintOutput) ToSizeConstraintSetSizeConstraintOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintOutput
- type SizeConstraintSetState
- type SqlInjectionMatchSet
- type SqlInjectionMatchSetArgs
- type SqlInjectionMatchSetArray
- type SqlInjectionMatchSetArrayInput
- type SqlInjectionMatchSetArrayOutput
- func (SqlInjectionMatchSetArrayOutput) ElementType() reflect.Type
- func (o SqlInjectionMatchSetArrayOutput) Index(i pulumi.IntInput) SqlInjectionMatchSetOutput
- func (o SqlInjectionMatchSetArrayOutput) ToSqlInjectionMatchSetArrayOutput() SqlInjectionMatchSetArrayOutput
- func (o SqlInjectionMatchSetArrayOutput) ToSqlInjectionMatchSetArrayOutputWithContext(ctx context.Context) SqlInjectionMatchSetArrayOutput
- type SqlInjectionMatchSetInput
- type SqlInjectionMatchSetMap
- type SqlInjectionMatchSetMapInput
- type SqlInjectionMatchSetMapOutput
- func (SqlInjectionMatchSetMapOutput) ElementType() reflect.Type
- func (o SqlInjectionMatchSetMapOutput) MapIndex(k pulumi.StringInput) SqlInjectionMatchSetOutput
- func (o SqlInjectionMatchSetMapOutput) ToSqlInjectionMatchSetMapOutput() SqlInjectionMatchSetMapOutput
- func (o SqlInjectionMatchSetMapOutput) ToSqlInjectionMatchSetMapOutputWithContext(ctx context.Context) SqlInjectionMatchSetMapOutput
- type SqlInjectionMatchSetOutput
- func (SqlInjectionMatchSetOutput) ElementType() reflect.Type
- func (o SqlInjectionMatchSetOutput) Name() pulumi.StringOutput
- func (o SqlInjectionMatchSetOutput) SqlInjectionMatchTuples() SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
- func (o SqlInjectionMatchSetOutput) ToSqlInjectionMatchSetOutput() SqlInjectionMatchSetOutput
- func (o SqlInjectionMatchSetOutput) ToSqlInjectionMatchSetOutputWithContext(ctx context.Context) SqlInjectionMatchSetOutput
- type SqlInjectionMatchSetSqlInjectionMatchTuple
- type SqlInjectionMatchSetSqlInjectionMatchTupleArgs
- func (SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ElementType() reflect.Type
- func (i SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutput() SqlInjectionMatchSetSqlInjectionMatchTupleOutput
- func (i SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleOutput
- type SqlInjectionMatchSetSqlInjectionMatchTupleArray
- func (SqlInjectionMatchSetSqlInjectionMatchTupleArray) ElementType() reflect.Type
- func (i SqlInjectionMatchSetSqlInjectionMatchTupleArray) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput() SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
- func (i SqlInjectionMatchSetSqlInjectionMatchTupleArray) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
- type SqlInjectionMatchSetSqlInjectionMatchTupleArrayInput
- type SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
- func (SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ElementType() reflect.Type
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) Index(i pulumi.IntInput) SqlInjectionMatchSetSqlInjectionMatchTupleOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput() SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
- type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatch
- type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs
- func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ElementType() reflect.Type
- func (i SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput() SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
- func (i SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
- type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchInput
- type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) Data() pulumi.StringPtrOutput
- func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ElementType() reflect.Type
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput() SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) Type() pulumi.StringOutput
- type SqlInjectionMatchSetSqlInjectionMatchTupleInput
- type SqlInjectionMatchSetSqlInjectionMatchTupleOutput
- func (SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ElementType() reflect.Type
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) FieldToMatch() SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) TextTransformation() pulumi.StringOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutput() SqlInjectionMatchSetSqlInjectionMatchTupleOutput
- func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleOutput
- type SqlInjectionMatchSetState
- type WebAcl
- type WebAclArgs
- type WebAclArray
- type WebAclArrayInput
- type WebAclArrayOutput
- type WebAclDefaultAction
- type WebAclDefaultActionArgs
- func (WebAclDefaultActionArgs) ElementType() reflect.Type
- func (i WebAclDefaultActionArgs) ToWebAclDefaultActionOutput() WebAclDefaultActionOutput
- func (i WebAclDefaultActionArgs) ToWebAclDefaultActionOutputWithContext(ctx context.Context) WebAclDefaultActionOutput
- func (i WebAclDefaultActionArgs) ToWebAclDefaultActionPtrOutput() WebAclDefaultActionPtrOutput
- func (i WebAclDefaultActionArgs) ToWebAclDefaultActionPtrOutputWithContext(ctx context.Context) WebAclDefaultActionPtrOutput
- type WebAclDefaultActionInput
- type WebAclDefaultActionOutput
- func (WebAclDefaultActionOutput) ElementType() reflect.Type
- func (o WebAclDefaultActionOutput) ToWebAclDefaultActionOutput() WebAclDefaultActionOutput
- func (o WebAclDefaultActionOutput) ToWebAclDefaultActionOutputWithContext(ctx context.Context) WebAclDefaultActionOutput
- func (o WebAclDefaultActionOutput) ToWebAclDefaultActionPtrOutput() WebAclDefaultActionPtrOutput
- func (o WebAclDefaultActionOutput) ToWebAclDefaultActionPtrOutputWithContext(ctx context.Context) WebAclDefaultActionPtrOutput
- func (o WebAclDefaultActionOutput) Type() pulumi.StringOutput
- type WebAclDefaultActionPtrInput
- type WebAclDefaultActionPtrOutput
- func (o WebAclDefaultActionPtrOutput) Elem() WebAclDefaultActionOutput
- func (WebAclDefaultActionPtrOutput) ElementType() reflect.Type
- func (o WebAclDefaultActionPtrOutput) ToWebAclDefaultActionPtrOutput() WebAclDefaultActionPtrOutput
- func (o WebAclDefaultActionPtrOutput) ToWebAclDefaultActionPtrOutputWithContext(ctx context.Context) WebAclDefaultActionPtrOutput
- func (o WebAclDefaultActionPtrOutput) Type() pulumi.StringPtrOutput
- type WebAclInput
- type WebAclLoggingConfiguration
- type WebAclLoggingConfigurationArgs
- func (WebAclLoggingConfigurationArgs) ElementType() reflect.Type
- func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationOutput() WebAclLoggingConfigurationOutput
- func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationOutputWithContext(ctx context.Context) WebAclLoggingConfigurationOutput
- func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationPtrOutput() WebAclLoggingConfigurationPtrOutput
- func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationPtrOutput
- type WebAclLoggingConfigurationInput
- type WebAclLoggingConfigurationOutput
- func (WebAclLoggingConfigurationOutput) ElementType() reflect.Type
- func (o WebAclLoggingConfigurationOutput) LogDestination() pulumi.StringOutput
- func (o WebAclLoggingConfigurationOutput) RedactedFields() WebAclLoggingConfigurationRedactedFieldsPtrOutput
- func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationOutput() WebAclLoggingConfigurationOutput
- func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationOutputWithContext(ctx context.Context) WebAclLoggingConfigurationOutput
- func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationPtrOutput() WebAclLoggingConfigurationPtrOutput
- func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationPtrOutput
- type WebAclLoggingConfigurationPtrInput
- type WebAclLoggingConfigurationPtrOutput
- func (o WebAclLoggingConfigurationPtrOutput) Elem() WebAclLoggingConfigurationOutput
- func (WebAclLoggingConfigurationPtrOutput) ElementType() reflect.Type
- func (o WebAclLoggingConfigurationPtrOutput) LogDestination() pulumi.StringPtrOutput
- func (o WebAclLoggingConfigurationPtrOutput) RedactedFields() WebAclLoggingConfigurationRedactedFieldsPtrOutput
- func (o WebAclLoggingConfigurationPtrOutput) ToWebAclLoggingConfigurationPtrOutput() WebAclLoggingConfigurationPtrOutput
- func (o WebAclLoggingConfigurationPtrOutput) ToWebAclLoggingConfigurationPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationPtrOutput
- type WebAclLoggingConfigurationRedactedFields
- type WebAclLoggingConfigurationRedactedFieldsArgs
- func (WebAclLoggingConfigurationRedactedFieldsArgs) ElementType() reflect.Type
- func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsOutput() WebAclLoggingConfigurationRedactedFieldsOutput
- func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsOutput
- func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput() WebAclLoggingConfigurationRedactedFieldsPtrOutput
- func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsPtrOutput
- type WebAclLoggingConfigurationRedactedFieldsFieldToMatch
- type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs
- func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ElementType() reflect.Type
- func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
- func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
- type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray
- func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ElementType() reflect.Type
- func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
- func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
- type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayInput
- type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
- func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ElementType() reflect.Type
- func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) Index(i pulumi.IntInput) WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
- func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
- func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
- type WebAclLoggingConfigurationRedactedFieldsFieldToMatchInput
- type WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
- func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) Data() pulumi.StringPtrOutput
- func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ElementType() reflect.Type
- func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
- func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
- func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) Type() pulumi.StringOutput
- type WebAclLoggingConfigurationRedactedFieldsInput
- type WebAclLoggingConfigurationRedactedFieldsOutput
- func (WebAclLoggingConfigurationRedactedFieldsOutput) ElementType() reflect.Type
- func (o WebAclLoggingConfigurationRedactedFieldsOutput) FieldToMatches() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
- func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsOutput() WebAclLoggingConfigurationRedactedFieldsOutput
- func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsOutput
- func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput() WebAclLoggingConfigurationRedactedFieldsPtrOutput
- func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsPtrOutput
- type WebAclLoggingConfigurationRedactedFieldsPtrInput
- type WebAclLoggingConfigurationRedactedFieldsPtrOutput
- func (o WebAclLoggingConfigurationRedactedFieldsPtrOutput) Elem() WebAclLoggingConfigurationRedactedFieldsOutput
- func (WebAclLoggingConfigurationRedactedFieldsPtrOutput) ElementType() reflect.Type
- func (o WebAclLoggingConfigurationRedactedFieldsPtrOutput) FieldToMatches() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
- func (o WebAclLoggingConfigurationRedactedFieldsPtrOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput() WebAclLoggingConfigurationRedactedFieldsPtrOutput
- func (o WebAclLoggingConfigurationRedactedFieldsPtrOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsPtrOutput
- type WebAclMap
- type WebAclMapInput
- type WebAclMapOutput
- type WebAclOutput
- func (o WebAclOutput) Arn() pulumi.StringOutput
- func (o WebAclOutput) DefaultAction() WebAclDefaultActionOutput
- func (WebAclOutput) ElementType() reflect.Type
- func (o WebAclOutput) LoggingConfiguration() WebAclLoggingConfigurationPtrOutput
- func (o WebAclOutput) MetricName() pulumi.StringOutput
- func (o WebAclOutput) Name() pulumi.StringOutput
- func (o WebAclOutput) Rules() WebAclRuleArrayOutput
- func (o WebAclOutput) Tags() pulumi.StringMapOutput
- func (o WebAclOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o WebAclOutput) ToWebAclOutput() WebAclOutput
- func (o WebAclOutput) ToWebAclOutputWithContext(ctx context.Context) WebAclOutput
- type WebAclRule
- type WebAclRuleAction
- type WebAclRuleActionArgs
- func (WebAclRuleActionArgs) ElementType() reflect.Type
- func (i WebAclRuleActionArgs) ToWebAclRuleActionOutput() WebAclRuleActionOutput
- func (i WebAclRuleActionArgs) ToWebAclRuleActionOutputWithContext(ctx context.Context) WebAclRuleActionOutput
- func (i WebAclRuleActionArgs) ToWebAclRuleActionPtrOutput() WebAclRuleActionPtrOutput
- func (i WebAclRuleActionArgs) ToWebAclRuleActionPtrOutputWithContext(ctx context.Context) WebAclRuleActionPtrOutput
- type WebAclRuleActionInput
- type WebAclRuleActionOutput
- func (WebAclRuleActionOutput) ElementType() reflect.Type
- func (o WebAclRuleActionOutput) ToWebAclRuleActionOutput() WebAclRuleActionOutput
- func (o WebAclRuleActionOutput) ToWebAclRuleActionOutputWithContext(ctx context.Context) WebAclRuleActionOutput
- func (o WebAclRuleActionOutput) ToWebAclRuleActionPtrOutput() WebAclRuleActionPtrOutput
- func (o WebAclRuleActionOutput) ToWebAclRuleActionPtrOutputWithContext(ctx context.Context) WebAclRuleActionPtrOutput
- func (o WebAclRuleActionOutput) Type() pulumi.StringOutput
- type WebAclRuleActionPtrInput
- type WebAclRuleActionPtrOutput
- func (o WebAclRuleActionPtrOutput) Elem() WebAclRuleActionOutput
- func (WebAclRuleActionPtrOutput) ElementType() reflect.Type
- func (o WebAclRuleActionPtrOutput) ToWebAclRuleActionPtrOutput() WebAclRuleActionPtrOutput
- func (o WebAclRuleActionPtrOutput) ToWebAclRuleActionPtrOutputWithContext(ctx context.Context) WebAclRuleActionPtrOutput
- func (o WebAclRuleActionPtrOutput) Type() pulumi.StringPtrOutput
- type WebAclRuleArgs
- type WebAclRuleArray
- type WebAclRuleArrayInput
- type WebAclRuleArrayOutput
- func (WebAclRuleArrayOutput) ElementType() reflect.Type
- func (o WebAclRuleArrayOutput) Index(i pulumi.IntInput) WebAclRuleOutput
- func (o WebAclRuleArrayOutput) ToWebAclRuleArrayOutput() WebAclRuleArrayOutput
- func (o WebAclRuleArrayOutput) ToWebAclRuleArrayOutputWithContext(ctx context.Context) WebAclRuleArrayOutput
- type WebAclRuleInput
- type WebAclRuleOutput
- func (o WebAclRuleOutput) Action() WebAclRuleActionPtrOutput
- func (WebAclRuleOutput) ElementType() reflect.Type
- func (o WebAclRuleOutput) OverrideAction() WebAclRuleOverrideActionPtrOutput
- func (o WebAclRuleOutput) Priority() pulumi.IntOutput
- func (o WebAclRuleOutput) RuleId() pulumi.StringOutput
- func (o WebAclRuleOutput) ToWebAclRuleOutput() WebAclRuleOutput
- func (o WebAclRuleOutput) ToWebAclRuleOutputWithContext(ctx context.Context) WebAclRuleOutput
- func (o WebAclRuleOutput) Type() pulumi.StringPtrOutput
- type WebAclRuleOverrideAction
- type WebAclRuleOverrideActionArgs
- func (WebAclRuleOverrideActionArgs) ElementType() reflect.Type
- func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionOutput() WebAclRuleOverrideActionOutput
- func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionOutputWithContext(ctx context.Context) WebAclRuleOverrideActionOutput
- func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionPtrOutput() WebAclRuleOverrideActionPtrOutput
- func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionPtrOutputWithContext(ctx context.Context) WebAclRuleOverrideActionPtrOutput
- type WebAclRuleOverrideActionInput
- type WebAclRuleOverrideActionOutput
- func (WebAclRuleOverrideActionOutput) ElementType() reflect.Type
- func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionOutput() WebAclRuleOverrideActionOutput
- func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionOutputWithContext(ctx context.Context) WebAclRuleOverrideActionOutput
- func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionPtrOutput() WebAclRuleOverrideActionPtrOutput
- func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionPtrOutputWithContext(ctx context.Context) WebAclRuleOverrideActionPtrOutput
- func (o WebAclRuleOverrideActionOutput) Type() pulumi.StringOutput
- type WebAclRuleOverrideActionPtrInput
- type WebAclRuleOverrideActionPtrOutput
- func (o WebAclRuleOverrideActionPtrOutput) Elem() WebAclRuleOverrideActionOutput
- func (WebAclRuleOverrideActionPtrOutput) ElementType() reflect.Type
- func (o WebAclRuleOverrideActionPtrOutput) ToWebAclRuleOverrideActionPtrOutput() WebAclRuleOverrideActionPtrOutput
- func (o WebAclRuleOverrideActionPtrOutput) ToWebAclRuleOverrideActionPtrOutputWithContext(ctx context.Context) WebAclRuleOverrideActionPtrOutput
- func (o WebAclRuleOverrideActionPtrOutput) Type() pulumi.StringPtrOutput
- type WebAclState
- type XssMatchSet
- type XssMatchSetArgs
- type XssMatchSetArray
- type XssMatchSetArrayInput
- type XssMatchSetArrayOutput
- func (XssMatchSetArrayOutput) ElementType() reflect.Type
- func (o XssMatchSetArrayOutput) Index(i pulumi.IntInput) XssMatchSetOutput
- func (o XssMatchSetArrayOutput) ToXssMatchSetArrayOutput() XssMatchSetArrayOutput
- func (o XssMatchSetArrayOutput) ToXssMatchSetArrayOutputWithContext(ctx context.Context) XssMatchSetArrayOutput
- type XssMatchSetInput
- type XssMatchSetMap
- type XssMatchSetMapInput
- type XssMatchSetMapOutput
- func (XssMatchSetMapOutput) ElementType() reflect.Type
- func (o XssMatchSetMapOutput) MapIndex(k pulumi.StringInput) XssMatchSetOutput
- func (o XssMatchSetMapOutput) ToXssMatchSetMapOutput() XssMatchSetMapOutput
- func (o XssMatchSetMapOutput) ToXssMatchSetMapOutputWithContext(ctx context.Context) XssMatchSetMapOutput
- type XssMatchSetOutput
- func (o XssMatchSetOutput) Arn() pulumi.StringOutput
- func (XssMatchSetOutput) ElementType() reflect.Type
- func (o XssMatchSetOutput) Name() pulumi.StringOutput
- func (o XssMatchSetOutput) ToXssMatchSetOutput() XssMatchSetOutput
- func (o XssMatchSetOutput) ToXssMatchSetOutputWithContext(ctx context.Context) XssMatchSetOutput
- func (o XssMatchSetOutput) XssMatchTuples() XssMatchSetXssMatchTupleArrayOutput
- type XssMatchSetState
- type XssMatchSetXssMatchTuple
- type XssMatchSetXssMatchTupleArgs
- func (XssMatchSetXssMatchTupleArgs) ElementType() reflect.Type
- func (i XssMatchSetXssMatchTupleArgs) ToXssMatchSetXssMatchTupleOutput() XssMatchSetXssMatchTupleOutput
- func (i XssMatchSetXssMatchTupleArgs) ToXssMatchSetXssMatchTupleOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleOutput
- type XssMatchSetXssMatchTupleArray
- func (XssMatchSetXssMatchTupleArray) ElementType() reflect.Type
- func (i XssMatchSetXssMatchTupleArray) ToXssMatchSetXssMatchTupleArrayOutput() XssMatchSetXssMatchTupleArrayOutput
- func (i XssMatchSetXssMatchTupleArray) ToXssMatchSetXssMatchTupleArrayOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleArrayOutput
- type XssMatchSetXssMatchTupleArrayInput
- type XssMatchSetXssMatchTupleArrayOutput
- func (XssMatchSetXssMatchTupleArrayOutput) ElementType() reflect.Type
- func (o XssMatchSetXssMatchTupleArrayOutput) Index(i pulumi.IntInput) XssMatchSetXssMatchTupleOutput
- func (o XssMatchSetXssMatchTupleArrayOutput) ToXssMatchSetXssMatchTupleArrayOutput() XssMatchSetXssMatchTupleArrayOutput
- func (o XssMatchSetXssMatchTupleArrayOutput) ToXssMatchSetXssMatchTupleArrayOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleArrayOutput
- type XssMatchSetXssMatchTupleFieldToMatch
- type XssMatchSetXssMatchTupleFieldToMatchArgs
- func (XssMatchSetXssMatchTupleFieldToMatchArgs) ElementType() reflect.Type
- func (i XssMatchSetXssMatchTupleFieldToMatchArgs) ToXssMatchSetXssMatchTupleFieldToMatchOutput() XssMatchSetXssMatchTupleFieldToMatchOutput
- func (i XssMatchSetXssMatchTupleFieldToMatchArgs) ToXssMatchSetXssMatchTupleFieldToMatchOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleFieldToMatchOutput
- type XssMatchSetXssMatchTupleFieldToMatchInput
- type XssMatchSetXssMatchTupleFieldToMatchOutput
- func (o XssMatchSetXssMatchTupleFieldToMatchOutput) Data() pulumi.StringPtrOutput
- func (XssMatchSetXssMatchTupleFieldToMatchOutput) ElementType() reflect.Type
- func (o XssMatchSetXssMatchTupleFieldToMatchOutput) ToXssMatchSetXssMatchTupleFieldToMatchOutput() XssMatchSetXssMatchTupleFieldToMatchOutput
- func (o XssMatchSetXssMatchTupleFieldToMatchOutput) ToXssMatchSetXssMatchTupleFieldToMatchOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleFieldToMatchOutput
- func (o XssMatchSetXssMatchTupleFieldToMatchOutput) Type() pulumi.StringOutput
- type XssMatchSetXssMatchTupleInput
- type XssMatchSetXssMatchTupleOutput
- func (XssMatchSetXssMatchTupleOutput) ElementType() reflect.Type
- func (o XssMatchSetXssMatchTupleOutput) FieldToMatch() XssMatchSetXssMatchTupleFieldToMatchOutput
- func (o XssMatchSetXssMatchTupleOutput) TextTransformation() pulumi.StringOutput
- func (o XssMatchSetXssMatchTupleOutput) ToXssMatchSetXssMatchTupleOutput() XssMatchSetXssMatchTupleOutput
- func (o XssMatchSetXssMatchTupleOutput) ToXssMatchSetXssMatchTupleOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteMatchSet ¶
type ByteMatchSet struct { pulumi.CustomResourceState // Specifies the bytes (typically a string that corresponds // with ASCII characters) that you want to search for in web requests, // the location in requests that you want to search, and other settings. ByteMatchTuples ByteMatchSetByteMatchTupleArrayOutput `pulumi:"byteMatchTuples"` // The name or description of the Byte Match Set. Name pulumi.StringOutput `pulumi:"name"` }
Provides a WAF Byte Match Set Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewByteMatchSet(ctx, "byte_set", &waf.ByteMatchSetArgs{ Name: pulumi.String("my_waf_byte_match_set"), ByteMatchTuples: waf.ByteMatchSetByteMatchTupleArray{ &waf.ByteMatchSetByteMatchTupleArgs{ TextTransformation: pulumi.String("NONE"), TargetString: pulumi.String("badrefer1"), PositionalConstraint: pulumi.String("CONTAINS"), FieldToMatch: &waf.ByteMatchSetByteMatchTupleFieldToMatchArgs{ Type: pulumi.String("HEADER"), Data: pulumi.String("referer"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF Byte Match Set using the id. For example:
```sh $ pulumi import aws:waf/byteMatchSet:ByteMatchSet byte_set a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetByteMatchSet ¶
func GetByteMatchSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ByteMatchSetState, opts ...pulumi.ResourceOption) (*ByteMatchSet, error)
GetByteMatchSet gets an existing ByteMatchSet 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 NewByteMatchSet ¶
func NewByteMatchSet(ctx *pulumi.Context, name string, args *ByteMatchSetArgs, opts ...pulumi.ResourceOption) (*ByteMatchSet, error)
NewByteMatchSet registers a new resource with the given unique name, arguments, and options.
func (*ByteMatchSet) ElementType ¶
func (*ByteMatchSet) ElementType() reflect.Type
func (*ByteMatchSet) ToByteMatchSetOutput ¶
func (i *ByteMatchSet) ToByteMatchSetOutput() ByteMatchSetOutput
func (*ByteMatchSet) ToByteMatchSetOutputWithContext ¶
func (i *ByteMatchSet) ToByteMatchSetOutputWithContext(ctx context.Context) ByteMatchSetOutput
type ByteMatchSetArgs ¶
type ByteMatchSetArgs struct { // Specifies the bytes (typically a string that corresponds // with ASCII characters) that you want to search for in web requests, // the location in requests that you want to search, and other settings. ByteMatchTuples ByteMatchSetByteMatchTupleArrayInput // The name or description of the Byte Match Set. Name pulumi.StringPtrInput }
The set of arguments for constructing a ByteMatchSet resource.
func (ByteMatchSetArgs) ElementType ¶
func (ByteMatchSetArgs) ElementType() reflect.Type
type ByteMatchSetArray ¶
type ByteMatchSetArray []ByteMatchSetInput
func (ByteMatchSetArray) ElementType ¶
func (ByteMatchSetArray) ElementType() reflect.Type
func (ByteMatchSetArray) ToByteMatchSetArrayOutput ¶
func (i ByteMatchSetArray) ToByteMatchSetArrayOutput() ByteMatchSetArrayOutput
func (ByteMatchSetArray) ToByteMatchSetArrayOutputWithContext ¶
func (i ByteMatchSetArray) ToByteMatchSetArrayOutputWithContext(ctx context.Context) ByteMatchSetArrayOutput
type ByteMatchSetArrayInput ¶
type ByteMatchSetArrayInput interface { pulumi.Input ToByteMatchSetArrayOutput() ByteMatchSetArrayOutput ToByteMatchSetArrayOutputWithContext(context.Context) ByteMatchSetArrayOutput }
ByteMatchSetArrayInput is an input type that accepts ByteMatchSetArray and ByteMatchSetArrayOutput values. You can construct a concrete instance of `ByteMatchSetArrayInput` via:
ByteMatchSetArray{ ByteMatchSetArgs{...} }
type ByteMatchSetArrayOutput ¶
type ByteMatchSetArrayOutput struct{ *pulumi.OutputState }
func (ByteMatchSetArrayOutput) ElementType ¶
func (ByteMatchSetArrayOutput) ElementType() reflect.Type
func (ByteMatchSetArrayOutput) Index ¶
func (o ByteMatchSetArrayOutput) Index(i pulumi.IntInput) ByteMatchSetOutput
func (ByteMatchSetArrayOutput) ToByteMatchSetArrayOutput ¶
func (o ByteMatchSetArrayOutput) ToByteMatchSetArrayOutput() ByteMatchSetArrayOutput
func (ByteMatchSetArrayOutput) ToByteMatchSetArrayOutputWithContext ¶
func (o ByteMatchSetArrayOutput) ToByteMatchSetArrayOutputWithContext(ctx context.Context) ByteMatchSetArrayOutput
type ByteMatchSetByteMatchTuple ¶
type ByteMatchSetByteMatchTuple struct { FieldToMatch ByteMatchSetByteMatchTupleFieldToMatch `pulumi:"fieldToMatch"` PositionalConstraint string `pulumi:"positionalConstraint"` TargetString *string `pulumi:"targetString"` TextTransformation string `pulumi:"textTransformation"` }
type ByteMatchSetByteMatchTupleArgs ¶
type ByteMatchSetByteMatchTupleArgs struct { FieldToMatch ByteMatchSetByteMatchTupleFieldToMatchInput `pulumi:"fieldToMatch"` PositionalConstraint pulumi.StringInput `pulumi:"positionalConstraint"` TargetString pulumi.StringPtrInput `pulumi:"targetString"` TextTransformation pulumi.StringInput `pulumi:"textTransformation"` }
func (ByteMatchSetByteMatchTupleArgs) ElementType ¶
func (ByteMatchSetByteMatchTupleArgs) ElementType() reflect.Type
func (ByteMatchSetByteMatchTupleArgs) ToByteMatchSetByteMatchTupleOutput ¶
func (i ByteMatchSetByteMatchTupleArgs) ToByteMatchSetByteMatchTupleOutput() ByteMatchSetByteMatchTupleOutput
func (ByteMatchSetByteMatchTupleArgs) ToByteMatchSetByteMatchTupleOutputWithContext ¶
func (i ByteMatchSetByteMatchTupleArgs) ToByteMatchSetByteMatchTupleOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleOutput
type ByteMatchSetByteMatchTupleArray ¶
type ByteMatchSetByteMatchTupleArray []ByteMatchSetByteMatchTupleInput
func (ByteMatchSetByteMatchTupleArray) ElementType ¶
func (ByteMatchSetByteMatchTupleArray) ElementType() reflect.Type
func (ByteMatchSetByteMatchTupleArray) ToByteMatchSetByteMatchTupleArrayOutput ¶
func (i ByteMatchSetByteMatchTupleArray) ToByteMatchSetByteMatchTupleArrayOutput() ByteMatchSetByteMatchTupleArrayOutput
func (ByteMatchSetByteMatchTupleArray) ToByteMatchSetByteMatchTupleArrayOutputWithContext ¶
func (i ByteMatchSetByteMatchTupleArray) ToByteMatchSetByteMatchTupleArrayOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleArrayOutput
type ByteMatchSetByteMatchTupleArrayInput ¶
type ByteMatchSetByteMatchTupleArrayInput interface { pulumi.Input ToByteMatchSetByteMatchTupleArrayOutput() ByteMatchSetByteMatchTupleArrayOutput ToByteMatchSetByteMatchTupleArrayOutputWithContext(context.Context) ByteMatchSetByteMatchTupleArrayOutput }
ByteMatchSetByteMatchTupleArrayInput is an input type that accepts ByteMatchSetByteMatchTupleArray and ByteMatchSetByteMatchTupleArrayOutput values. You can construct a concrete instance of `ByteMatchSetByteMatchTupleArrayInput` via:
ByteMatchSetByteMatchTupleArray{ ByteMatchSetByteMatchTupleArgs{...} }
type ByteMatchSetByteMatchTupleArrayOutput ¶
type ByteMatchSetByteMatchTupleArrayOutput struct{ *pulumi.OutputState }
func (ByteMatchSetByteMatchTupleArrayOutput) ElementType ¶
func (ByteMatchSetByteMatchTupleArrayOutput) ElementType() reflect.Type
func (ByteMatchSetByteMatchTupleArrayOutput) Index ¶
func (o ByteMatchSetByteMatchTupleArrayOutput) Index(i pulumi.IntInput) ByteMatchSetByteMatchTupleOutput
func (ByteMatchSetByteMatchTupleArrayOutput) ToByteMatchSetByteMatchTupleArrayOutput ¶
func (o ByteMatchSetByteMatchTupleArrayOutput) ToByteMatchSetByteMatchTupleArrayOutput() ByteMatchSetByteMatchTupleArrayOutput
func (ByteMatchSetByteMatchTupleArrayOutput) ToByteMatchSetByteMatchTupleArrayOutputWithContext ¶
func (o ByteMatchSetByteMatchTupleArrayOutput) ToByteMatchSetByteMatchTupleArrayOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleArrayOutput
type ByteMatchSetByteMatchTupleFieldToMatchArgs ¶
type ByteMatchSetByteMatchTupleFieldToMatchArgs struct { Data pulumi.StringPtrInput `pulumi:"data"` Type pulumi.StringInput `pulumi:"type"` }
func (ByteMatchSetByteMatchTupleFieldToMatchArgs) ElementType ¶
func (ByteMatchSetByteMatchTupleFieldToMatchArgs) ElementType() reflect.Type
func (ByteMatchSetByteMatchTupleFieldToMatchArgs) ToByteMatchSetByteMatchTupleFieldToMatchOutput ¶
func (i ByteMatchSetByteMatchTupleFieldToMatchArgs) ToByteMatchSetByteMatchTupleFieldToMatchOutput() ByteMatchSetByteMatchTupleFieldToMatchOutput
func (ByteMatchSetByteMatchTupleFieldToMatchArgs) ToByteMatchSetByteMatchTupleFieldToMatchOutputWithContext ¶
func (i ByteMatchSetByteMatchTupleFieldToMatchArgs) ToByteMatchSetByteMatchTupleFieldToMatchOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleFieldToMatchOutput
type ByteMatchSetByteMatchTupleFieldToMatchInput ¶
type ByteMatchSetByteMatchTupleFieldToMatchInput interface { pulumi.Input ToByteMatchSetByteMatchTupleFieldToMatchOutput() ByteMatchSetByteMatchTupleFieldToMatchOutput ToByteMatchSetByteMatchTupleFieldToMatchOutputWithContext(context.Context) ByteMatchSetByteMatchTupleFieldToMatchOutput }
ByteMatchSetByteMatchTupleFieldToMatchInput is an input type that accepts ByteMatchSetByteMatchTupleFieldToMatchArgs and ByteMatchSetByteMatchTupleFieldToMatchOutput values. You can construct a concrete instance of `ByteMatchSetByteMatchTupleFieldToMatchInput` via:
ByteMatchSetByteMatchTupleFieldToMatchArgs{...}
type ByteMatchSetByteMatchTupleFieldToMatchOutput ¶
type ByteMatchSetByteMatchTupleFieldToMatchOutput struct{ *pulumi.OutputState }
func (ByteMatchSetByteMatchTupleFieldToMatchOutput) Data ¶
func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) Data() pulumi.StringPtrOutput
func (ByteMatchSetByteMatchTupleFieldToMatchOutput) ElementType ¶
func (ByteMatchSetByteMatchTupleFieldToMatchOutput) ElementType() reflect.Type
func (ByteMatchSetByteMatchTupleFieldToMatchOutput) ToByteMatchSetByteMatchTupleFieldToMatchOutput ¶
func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) ToByteMatchSetByteMatchTupleFieldToMatchOutput() ByteMatchSetByteMatchTupleFieldToMatchOutput
func (ByteMatchSetByteMatchTupleFieldToMatchOutput) ToByteMatchSetByteMatchTupleFieldToMatchOutputWithContext ¶
func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) ToByteMatchSetByteMatchTupleFieldToMatchOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleFieldToMatchOutput
func (ByteMatchSetByteMatchTupleFieldToMatchOutput) Type ¶
func (o ByteMatchSetByteMatchTupleFieldToMatchOutput) Type() pulumi.StringOutput
type ByteMatchSetByteMatchTupleInput ¶
type ByteMatchSetByteMatchTupleInput interface { pulumi.Input ToByteMatchSetByteMatchTupleOutput() ByteMatchSetByteMatchTupleOutput ToByteMatchSetByteMatchTupleOutputWithContext(context.Context) ByteMatchSetByteMatchTupleOutput }
ByteMatchSetByteMatchTupleInput is an input type that accepts ByteMatchSetByteMatchTupleArgs and ByteMatchSetByteMatchTupleOutput values. You can construct a concrete instance of `ByteMatchSetByteMatchTupleInput` via:
ByteMatchSetByteMatchTupleArgs{...}
type ByteMatchSetByteMatchTupleOutput ¶
type ByteMatchSetByteMatchTupleOutput struct{ *pulumi.OutputState }
func (ByteMatchSetByteMatchTupleOutput) ElementType ¶
func (ByteMatchSetByteMatchTupleOutput) ElementType() reflect.Type
func (ByteMatchSetByteMatchTupleOutput) FieldToMatch ¶
func (o ByteMatchSetByteMatchTupleOutput) FieldToMatch() ByteMatchSetByteMatchTupleFieldToMatchOutput
func (ByteMatchSetByteMatchTupleOutput) PositionalConstraint ¶
func (o ByteMatchSetByteMatchTupleOutput) PositionalConstraint() pulumi.StringOutput
func (ByteMatchSetByteMatchTupleOutput) TargetString ¶
func (o ByteMatchSetByteMatchTupleOutput) TargetString() pulumi.StringPtrOutput
func (ByteMatchSetByteMatchTupleOutput) TextTransformation ¶
func (o ByteMatchSetByteMatchTupleOutput) TextTransformation() pulumi.StringOutput
func (ByteMatchSetByteMatchTupleOutput) ToByteMatchSetByteMatchTupleOutput ¶
func (o ByteMatchSetByteMatchTupleOutput) ToByteMatchSetByteMatchTupleOutput() ByteMatchSetByteMatchTupleOutput
func (ByteMatchSetByteMatchTupleOutput) ToByteMatchSetByteMatchTupleOutputWithContext ¶
func (o ByteMatchSetByteMatchTupleOutput) ToByteMatchSetByteMatchTupleOutputWithContext(ctx context.Context) ByteMatchSetByteMatchTupleOutput
type ByteMatchSetInput ¶
type ByteMatchSetInput interface { pulumi.Input ToByteMatchSetOutput() ByteMatchSetOutput ToByteMatchSetOutputWithContext(ctx context.Context) ByteMatchSetOutput }
type ByteMatchSetMap ¶
type ByteMatchSetMap map[string]ByteMatchSetInput
func (ByteMatchSetMap) ElementType ¶
func (ByteMatchSetMap) ElementType() reflect.Type
func (ByteMatchSetMap) ToByteMatchSetMapOutput ¶
func (i ByteMatchSetMap) ToByteMatchSetMapOutput() ByteMatchSetMapOutput
func (ByteMatchSetMap) ToByteMatchSetMapOutputWithContext ¶
func (i ByteMatchSetMap) ToByteMatchSetMapOutputWithContext(ctx context.Context) ByteMatchSetMapOutput
type ByteMatchSetMapInput ¶
type ByteMatchSetMapInput interface { pulumi.Input ToByteMatchSetMapOutput() ByteMatchSetMapOutput ToByteMatchSetMapOutputWithContext(context.Context) ByteMatchSetMapOutput }
ByteMatchSetMapInput is an input type that accepts ByteMatchSetMap and ByteMatchSetMapOutput values. You can construct a concrete instance of `ByteMatchSetMapInput` via:
ByteMatchSetMap{ "key": ByteMatchSetArgs{...} }
type ByteMatchSetMapOutput ¶
type ByteMatchSetMapOutput struct{ *pulumi.OutputState }
func (ByteMatchSetMapOutput) ElementType ¶
func (ByteMatchSetMapOutput) ElementType() reflect.Type
func (ByteMatchSetMapOutput) MapIndex ¶
func (o ByteMatchSetMapOutput) MapIndex(k pulumi.StringInput) ByteMatchSetOutput
func (ByteMatchSetMapOutput) ToByteMatchSetMapOutput ¶
func (o ByteMatchSetMapOutput) ToByteMatchSetMapOutput() ByteMatchSetMapOutput
func (ByteMatchSetMapOutput) ToByteMatchSetMapOutputWithContext ¶
func (o ByteMatchSetMapOutput) ToByteMatchSetMapOutputWithContext(ctx context.Context) ByteMatchSetMapOutput
type ByteMatchSetOutput ¶
type ByteMatchSetOutput struct{ *pulumi.OutputState }
func (ByteMatchSetOutput) ByteMatchTuples ¶
func (o ByteMatchSetOutput) ByteMatchTuples() ByteMatchSetByteMatchTupleArrayOutput
Specifies the bytes (typically a string that corresponds with ASCII characters) that you want to search for in web requests, the location in requests that you want to search, and other settings.
func (ByteMatchSetOutput) ElementType ¶
func (ByteMatchSetOutput) ElementType() reflect.Type
func (ByteMatchSetOutput) Name ¶
func (o ByteMatchSetOutput) Name() pulumi.StringOutput
The name or description of the Byte Match Set.
func (ByteMatchSetOutput) ToByteMatchSetOutput ¶
func (o ByteMatchSetOutput) ToByteMatchSetOutput() ByteMatchSetOutput
func (ByteMatchSetOutput) ToByteMatchSetOutputWithContext ¶
func (o ByteMatchSetOutput) ToByteMatchSetOutputWithContext(ctx context.Context) ByteMatchSetOutput
type ByteMatchSetState ¶
type ByteMatchSetState struct { // Specifies the bytes (typically a string that corresponds // with ASCII characters) that you want to search for in web requests, // the location in requests that you want to search, and other settings. ByteMatchTuples ByteMatchSetByteMatchTupleArrayInput // The name or description of the Byte Match Set. Name pulumi.StringPtrInput }
func (ByteMatchSetState) ElementType ¶
func (ByteMatchSetState) ElementType() reflect.Type
type GeoMatchSet ¶
type GeoMatchSet struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) Arn pulumi.StringOutput `pulumi:"arn"` // The GeoMatchConstraint objects which contain the country that you want AWS WAF to search for. GeoMatchConstraints GeoMatchSetGeoMatchConstraintArrayOutput `pulumi:"geoMatchConstraints"` // The name or description of the GeoMatchSet. Name pulumi.StringOutput `pulumi:"name"` }
Provides a WAF Geo Match Set Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewGeoMatchSet(ctx, "geo_match_set", &waf.GeoMatchSetArgs{ Name: pulumi.String("geo_match_set"), GeoMatchConstraints: waf.GeoMatchSetGeoMatchConstraintArray{ &waf.GeoMatchSetGeoMatchConstraintArgs{ Type: pulumi.String("Country"), Value: pulumi.String("US"), }, &waf.GeoMatchSetGeoMatchConstraintArgs{ Type: pulumi.String("Country"), Value: pulumi.String("CA"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF Geo Match Set using their ID. For example:
```sh $ pulumi import aws:waf/geoMatchSet:GeoMatchSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetGeoMatchSet ¶
func GetGeoMatchSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GeoMatchSetState, opts ...pulumi.ResourceOption) (*GeoMatchSet, error)
GetGeoMatchSet gets an existing GeoMatchSet 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 NewGeoMatchSet ¶
func NewGeoMatchSet(ctx *pulumi.Context, name string, args *GeoMatchSetArgs, opts ...pulumi.ResourceOption) (*GeoMatchSet, error)
NewGeoMatchSet registers a new resource with the given unique name, arguments, and options.
func (*GeoMatchSet) ElementType ¶
func (*GeoMatchSet) ElementType() reflect.Type
func (*GeoMatchSet) ToGeoMatchSetOutput ¶
func (i *GeoMatchSet) ToGeoMatchSetOutput() GeoMatchSetOutput
func (*GeoMatchSet) ToGeoMatchSetOutputWithContext ¶
func (i *GeoMatchSet) ToGeoMatchSetOutputWithContext(ctx context.Context) GeoMatchSetOutput
type GeoMatchSetArgs ¶
type GeoMatchSetArgs struct { // The GeoMatchConstraint objects which contain the country that you want AWS WAF to search for. GeoMatchConstraints GeoMatchSetGeoMatchConstraintArrayInput // The name or description of the GeoMatchSet. Name pulumi.StringPtrInput }
The set of arguments for constructing a GeoMatchSet resource.
func (GeoMatchSetArgs) ElementType ¶
func (GeoMatchSetArgs) ElementType() reflect.Type
type GeoMatchSetArray ¶
type GeoMatchSetArray []GeoMatchSetInput
func (GeoMatchSetArray) ElementType ¶
func (GeoMatchSetArray) ElementType() reflect.Type
func (GeoMatchSetArray) ToGeoMatchSetArrayOutput ¶
func (i GeoMatchSetArray) ToGeoMatchSetArrayOutput() GeoMatchSetArrayOutput
func (GeoMatchSetArray) ToGeoMatchSetArrayOutputWithContext ¶
func (i GeoMatchSetArray) ToGeoMatchSetArrayOutputWithContext(ctx context.Context) GeoMatchSetArrayOutput
type GeoMatchSetArrayInput ¶
type GeoMatchSetArrayInput interface { pulumi.Input ToGeoMatchSetArrayOutput() GeoMatchSetArrayOutput ToGeoMatchSetArrayOutputWithContext(context.Context) GeoMatchSetArrayOutput }
GeoMatchSetArrayInput is an input type that accepts GeoMatchSetArray and GeoMatchSetArrayOutput values. You can construct a concrete instance of `GeoMatchSetArrayInput` via:
GeoMatchSetArray{ GeoMatchSetArgs{...} }
type GeoMatchSetArrayOutput ¶
type GeoMatchSetArrayOutput struct{ *pulumi.OutputState }
func (GeoMatchSetArrayOutput) ElementType ¶
func (GeoMatchSetArrayOutput) ElementType() reflect.Type
func (GeoMatchSetArrayOutput) Index ¶
func (o GeoMatchSetArrayOutput) Index(i pulumi.IntInput) GeoMatchSetOutput
func (GeoMatchSetArrayOutput) ToGeoMatchSetArrayOutput ¶
func (o GeoMatchSetArrayOutput) ToGeoMatchSetArrayOutput() GeoMatchSetArrayOutput
func (GeoMatchSetArrayOutput) ToGeoMatchSetArrayOutputWithContext ¶
func (o GeoMatchSetArrayOutput) ToGeoMatchSetArrayOutputWithContext(ctx context.Context) GeoMatchSetArrayOutput
type GeoMatchSetGeoMatchConstraintArgs ¶
type GeoMatchSetGeoMatchConstraintArgs struct { Type pulumi.StringInput `pulumi:"type"` Value pulumi.StringInput `pulumi:"value"` }
func (GeoMatchSetGeoMatchConstraintArgs) ElementType ¶
func (GeoMatchSetGeoMatchConstraintArgs) ElementType() reflect.Type
func (GeoMatchSetGeoMatchConstraintArgs) ToGeoMatchSetGeoMatchConstraintOutput ¶
func (i GeoMatchSetGeoMatchConstraintArgs) ToGeoMatchSetGeoMatchConstraintOutput() GeoMatchSetGeoMatchConstraintOutput
func (GeoMatchSetGeoMatchConstraintArgs) ToGeoMatchSetGeoMatchConstraintOutputWithContext ¶
func (i GeoMatchSetGeoMatchConstraintArgs) ToGeoMatchSetGeoMatchConstraintOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintOutput
type GeoMatchSetGeoMatchConstraintArray ¶
type GeoMatchSetGeoMatchConstraintArray []GeoMatchSetGeoMatchConstraintInput
func (GeoMatchSetGeoMatchConstraintArray) ElementType ¶
func (GeoMatchSetGeoMatchConstraintArray) ElementType() reflect.Type
func (GeoMatchSetGeoMatchConstraintArray) ToGeoMatchSetGeoMatchConstraintArrayOutput ¶
func (i GeoMatchSetGeoMatchConstraintArray) ToGeoMatchSetGeoMatchConstraintArrayOutput() GeoMatchSetGeoMatchConstraintArrayOutput
func (GeoMatchSetGeoMatchConstraintArray) ToGeoMatchSetGeoMatchConstraintArrayOutputWithContext ¶
func (i GeoMatchSetGeoMatchConstraintArray) ToGeoMatchSetGeoMatchConstraintArrayOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintArrayOutput
type GeoMatchSetGeoMatchConstraintArrayInput ¶
type GeoMatchSetGeoMatchConstraintArrayInput interface { pulumi.Input ToGeoMatchSetGeoMatchConstraintArrayOutput() GeoMatchSetGeoMatchConstraintArrayOutput ToGeoMatchSetGeoMatchConstraintArrayOutputWithContext(context.Context) GeoMatchSetGeoMatchConstraintArrayOutput }
GeoMatchSetGeoMatchConstraintArrayInput is an input type that accepts GeoMatchSetGeoMatchConstraintArray and GeoMatchSetGeoMatchConstraintArrayOutput values. You can construct a concrete instance of `GeoMatchSetGeoMatchConstraintArrayInput` via:
GeoMatchSetGeoMatchConstraintArray{ GeoMatchSetGeoMatchConstraintArgs{...} }
type GeoMatchSetGeoMatchConstraintArrayOutput ¶
type GeoMatchSetGeoMatchConstraintArrayOutput struct{ *pulumi.OutputState }
func (GeoMatchSetGeoMatchConstraintArrayOutput) ElementType ¶
func (GeoMatchSetGeoMatchConstraintArrayOutput) ElementType() reflect.Type
func (GeoMatchSetGeoMatchConstraintArrayOutput) ToGeoMatchSetGeoMatchConstraintArrayOutput ¶
func (o GeoMatchSetGeoMatchConstraintArrayOutput) ToGeoMatchSetGeoMatchConstraintArrayOutput() GeoMatchSetGeoMatchConstraintArrayOutput
func (GeoMatchSetGeoMatchConstraintArrayOutput) ToGeoMatchSetGeoMatchConstraintArrayOutputWithContext ¶
func (o GeoMatchSetGeoMatchConstraintArrayOutput) ToGeoMatchSetGeoMatchConstraintArrayOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintArrayOutput
type GeoMatchSetGeoMatchConstraintInput ¶
type GeoMatchSetGeoMatchConstraintInput interface { pulumi.Input ToGeoMatchSetGeoMatchConstraintOutput() GeoMatchSetGeoMatchConstraintOutput ToGeoMatchSetGeoMatchConstraintOutputWithContext(context.Context) GeoMatchSetGeoMatchConstraintOutput }
GeoMatchSetGeoMatchConstraintInput is an input type that accepts GeoMatchSetGeoMatchConstraintArgs and GeoMatchSetGeoMatchConstraintOutput values. You can construct a concrete instance of `GeoMatchSetGeoMatchConstraintInput` via:
GeoMatchSetGeoMatchConstraintArgs{...}
type GeoMatchSetGeoMatchConstraintOutput ¶
type GeoMatchSetGeoMatchConstraintOutput struct{ *pulumi.OutputState }
func (GeoMatchSetGeoMatchConstraintOutput) ElementType ¶
func (GeoMatchSetGeoMatchConstraintOutput) ElementType() reflect.Type
func (GeoMatchSetGeoMatchConstraintOutput) ToGeoMatchSetGeoMatchConstraintOutput ¶
func (o GeoMatchSetGeoMatchConstraintOutput) ToGeoMatchSetGeoMatchConstraintOutput() GeoMatchSetGeoMatchConstraintOutput
func (GeoMatchSetGeoMatchConstraintOutput) ToGeoMatchSetGeoMatchConstraintOutputWithContext ¶
func (o GeoMatchSetGeoMatchConstraintOutput) ToGeoMatchSetGeoMatchConstraintOutputWithContext(ctx context.Context) GeoMatchSetGeoMatchConstraintOutput
func (GeoMatchSetGeoMatchConstraintOutput) Type ¶
func (o GeoMatchSetGeoMatchConstraintOutput) Type() pulumi.StringOutput
func (GeoMatchSetGeoMatchConstraintOutput) Value ¶
func (o GeoMatchSetGeoMatchConstraintOutput) Value() pulumi.StringOutput
type GeoMatchSetInput ¶
type GeoMatchSetInput interface { pulumi.Input ToGeoMatchSetOutput() GeoMatchSetOutput ToGeoMatchSetOutputWithContext(ctx context.Context) GeoMatchSetOutput }
type GeoMatchSetMap ¶
type GeoMatchSetMap map[string]GeoMatchSetInput
func (GeoMatchSetMap) ElementType ¶
func (GeoMatchSetMap) ElementType() reflect.Type
func (GeoMatchSetMap) ToGeoMatchSetMapOutput ¶
func (i GeoMatchSetMap) ToGeoMatchSetMapOutput() GeoMatchSetMapOutput
func (GeoMatchSetMap) ToGeoMatchSetMapOutputWithContext ¶
func (i GeoMatchSetMap) ToGeoMatchSetMapOutputWithContext(ctx context.Context) GeoMatchSetMapOutput
type GeoMatchSetMapInput ¶
type GeoMatchSetMapInput interface { pulumi.Input ToGeoMatchSetMapOutput() GeoMatchSetMapOutput ToGeoMatchSetMapOutputWithContext(context.Context) GeoMatchSetMapOutput }
GeoMatchSetMapInput is an input type that accepts GeoMatchSetMap and GeoMatchSetMapOutput values. You can construct a concrete instance of `GeoMatchSetMapInput` via:
GeoMatchSetMap{ "key": GeoMatchSetArgs{...} }
type GeoMatchSetMapOutput ¶
type GeoMatchSetMapOutput struct{ *pulumi.OutputState }
func (GeoMatchSetMapOutput) ElementType ¶
func (GeoMatchSetMapOutput) ElementType() reflect.Type
func (GeoMatchSetMapOutput) MapIndex ¶
func (o GeoMatchSetMapOutput) MapIndex(k pulumi.StringInput) GeoMatchSetOutput
func (GeoMatchSetMapOutput) ToGeoMatchSetMapOutput ¶
func (o GeoMatchSetMapOutput) ToGeoMatchSetMapOutput() GeoMatchSetMapOutput
func (GeoMatchSetMapOutput) ToGeoMatchSetMapOutputWithContext ¶
func (o GeoMatchSetMapOutput) ToGeoMatchSetMapOutputWithContext(ctx context.Context) GeoMatchSetMapOutput
type GeoMatchSetOutput ¶
type GeoMatchSetOutput struct{ *pulumi.OutputState }
func (GeoMatchSetOutput) Arn ¶
func (o GeoMatchSetOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN)
func (GeoMatchSetOutput) ElementType ¶
func (GeoMatchSetOutput) ElementType() reflect.Type
func (GeoMatchSetOutput) GeoMatchConstraints ¶
func (o GeoMatchSetOutput) GeoMatchConstraints() GeoMatchSetGeoMatchConstraintArrayOutput
The GeoMatchConstraint objects which contain the country that you want AWS WAF to search for.
func (GeoMatchSetOutput) Name ¶
func (o GeoMatchSetOutput) Name() pulumi.StringOutput
The name or description of the GeoMatchSet.
func (GeoMatchSetOutput) ToGeoMatchSetOutput ¶
func (o GeoMatchSetOutput) ToGeoMatchSetOutput() GeoMatchSetOutput
func (GeoMatchSetOutput) ToGeoMatchSetOutputWithContext ¶
func (o GeoMatchSetOutput) ToGeoMatchSetOutputWithContext(ctx context.Context) GeoMatchSetOutput
type GeoMatchSetState ¶
type GeoMatchSetState struct { // Amazon Resource Name (ARN) Arn pulumi.StringPtrInput // The GeoMatchConstraint objects which contain the country that you want AWS WAF to search for. GeoMatchConstraints GeoMatchSetGeoMatchConstraintArrayInput // The name or description of the GeoMatchSet. Name pulumi.StringPtrInput }
func (GeoMatchSetState) ElementType ¶
func (GeoMatchSetState) ElementType() reflect.Type
type GetIpsetArgs ¶
type GetIpsetArgs struct { // Name of the WAF IP set. Name string `pulumi:"name"` }
A collection of arguments for invoking getIpset.
type GetIpsetOutputArgs ¶
type GetIpsetOutputArgs struct { // Name of the WAF IP set. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getIpset.
func (GetIpsetOutputArgs) ElementType ¶
func (GetIpsetOutputArgs) ElementType() reflect.Type
type GetIpsetResult ¶
type GetIpsetResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getIpset.
func GetIpset ¶
func GetIpset(ctx *pulumi.Context, args *GetIpsetArgs, opts ...pulumi.InvokeOption) (*GetIpsetResult, error)
`waf.IpSet` Retrieves a WAF IP Set Resource Id.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.GetIpset(ctx, &waf.GetIpsetArgs{ Name: "tfWAFIPSet", }, nil) if err != nil { return err } return nil }) }
```
type GetIpsetResultOutput ¶
type GetIpsetResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getIpset.
func GetIpsetOutput ¶
func GetIpsetOutput(ctx *pulumi.Context, args GetIpsetOutputArgs, opts ...pulumi.InvokeOption) GetIpsetResultOutput
func (GetIpsetResultOutput) ElementType ¶
func (GetIpsetResultOutput) ElementType() reflect.Type
func (GetIpsetResultOutput) Id ¶
func (o GetIpsetResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetIpsetResultOutput) Name ¶
func (o GetIpsetResultOutput) Name() pulumi.StringOutput
func (GetIpsetResultOutput) ToGetIpsetResultOutput ¶
func (o GetIpsetResultOutput) ToGetIpsetResultOutput() GetIpsetResultOutput
func (GetIpsetResultOutput) ToGetIpsetResultOutputWithContext ¶
func (o GetIpsetResultOutput) ToGetIpsetResultOutputWithContext(ctx context.Context) GetIpsetResultOutput
type GetSubscribedRuleGroupArgs ¶
type GetSubscribedRuleGroupArgs struct { // Name of the WAF rule group. MetricName *string `pulumi:"metricName"` // Name of the WAF rule group. Name *string `pulumi:"name"` }
A collection of arguments for invoking getSubscribedRuleGroup.
type GetSubscribedRuleGroupOutputArgs ¶
type GetSubscribedRuleGroupOutputArgs struct { // Name of the WAF rule group. MetricName pulumi.StringPtrInput `pulumi:"metricName"` // Name of the WAF rule group. Name pulumi.StringPtrInput `pulumi:"name"` }
A collection of arguments for invoking getSubscribedRuleGroup.
func (GetSubscribedRuleGroupOutputArgs) ElementType ¶
func (GetSubscribedRuleGroupOutputArgs) ElementType() reflect.Type
type GetSubscribedRuleGroupResult ¶
type GetSubscribedRuleGroupResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` MetricName *string `pulumi:"metricName"` Name *string `pulumi:"name"` }
A collection of values returned by getSubscribedRuleGroup.
func GetSubscribedRuleGroup ¶
func GetSubscribedRuleGroup(ctx *pulumi.Context, args *GetSubscribedRuleGroupArgs, opts ...pulumi.InvokeOption) (*GetSubscribedRuleGroupResult, error)
`waf.getSubscribedRuleGroup` retrieves information about a Managed WAF Rule Group from AWS Marketplace (needs to be subscribed to first).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { byName, err := waf.GetSubscribedRuleGroup(ctx, &waf.GetSubscribedRuleGroupArgs{ Name: pulumi.StringRef("F5 Bot Detection Signatures For AWS WAF"), }, nil) if err != nil { return err } byMetricName, err := waf.GetSubscribedRuleGroup(ctx, &waf.GetSubscribedRuleGroupArgs{ MetricName: pulumi.StringRef("F5BotDetectionSignatures"), }, nil) if err != nil { return err } _, err = waf.NewWebAcl(ctx, "acl", &waf.WebAclArgs{ Rules: waf.WebAclRuleArray{ &waf.WebAclRuleArgs{ Priority: pulumi.Int(1), RuleId: pulumi.String(byName.Id), Type: pulumi.String("GROUP"), }, &waf.WebAclRuleArgs{ Priority: pulumi.Int(2), RuleId: pulumi.String(byMetricName.Id), Type: pulumi.String("GROUP"), }, }, }) if err != nil { return err } return nil }) }
```
type GetSubscribedRuleGroupResultOutput ¶
type GetSubscribedRuleGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubscribedRuleGroup.
func GetSubscribedRuleGroupOutput ¶
func GetSubscribedRuleGroupOutput(ctx *pulumi.Context, args GetSubscribedRuleGroupOutputArgs, opts ...pulumi.InvokeOption) GetSubscribedRuleGroupResultOutput
func (GetSubscribedRuleGroupResultOutput) ElementType ¶
func (GetSubscribedRuleGroupResultOutput) ElementType() reflect.Type
func (GetSubscribedRuleGroupResultOutput) Id ¶
func (o GetSubscribedRuleGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSubscribedRuleGroupResultOutput) MetricName ¶
func (o GetSubscribedRuleGroupResultOutput) MetricName() pulumi.StringPtrOutput
func (GetSubscribedRuleGroupResultOutput) Name ¶
func (o GetSubscribedRuleGroupResultOutput) Name() pulumi.StringPtrOutput
func (GetSubscribedRuleGroupResultOutput) ToGetSubscribedRuleGroupResultOutput ¶
func (o GetSubscribedRuleGroupResultOutput) ToGetSubscribedRuleGroupResultOutput() GetSubscribedRuleGroupResultOutput
func (GetSubscribedRuleGroupResultOutput) ToGetSubscribedRuleGroupResultOutputWithContext ¶
func (o GetSubscribedRuleGroupResultOutput) ToGetSubscribedRuleGroupResultOutputWithContext(ctx context.Context) GetSubscribedRuleGroupResultOutput
type IpSet ¶
type IpSet struct { pulumi.CustomResourceState // The ARN of the WAF IPSet. Arn pulumi.StringOutput `pulumi:"arn"` // One or more pairs specifying the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) from which web requests originate. IpSetDescriptors IpSetIpSetDescriptorArrayOutput `pulumi:"ipSetDescriptors"` // The name or description of the IPSet. Name pulumi.StringOutput `pulumi:"name"` }
Provides a WAF IPSet Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewIpSet(ctx, "ipset", &waf.IpSetArgs{ Name: pulumi.String("tfIPSet"), IpSetDescriptors: waf.IpSetIpSetDescriptorArray{ &waf.IpSetIpSetDescriptorArgs{ Type: pulumi.String("IPV4"), Value: pulumi.String("192.0.7.0/24"), }, &waf.IpSetIpSetDescriptorArgs{ Type: pulumi.String("IPV4"), Value: pulumi.String("10.16.16.0/16"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF IPSets using their ID. For example:
```sh $ pulumi import aws:waf/ipSet:IpSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetIpSet ¶
func GetIpSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *IpSetState, opts ...pulumi.ResourceOption) (*IpSet, error)
GetIpSet gets an existing IpSet 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 NewIpSet ¶
func NewIpSet(ctx *pulumi.Context, name string, args *IpSetArgs, opts ...pulumi.ResourceOption) (*IpSet, error)
NewIpSet registers a new resource with the given unique name, arguments, and options.
func (*IpSet) ElementType ¶
func (*IpSet) ToIpSetOutput ¶
func (i *IpSet) ToIpSetOutput() IpSetOutput
func (*IpSet) ToIpSetOutputWithContext ¶
func (i *IpSet) ToIpSetOutputWithContext(ctx context.Context) IpSetOutput
type IpSetArgs ¶
type IpSetArgs struct { // One or more pairs specifying the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) from which web requests originate. IpSetDescriptors IpSetIpSetDescriptorArrayInput // The name or description of the IPSet. Name pulumi.StringPtrInput }
The set of arguments for constructing a IpSet resource.
func (IpSetArgs) ElementType ¶
type IpSetArray ¶
type IpSetArray []IpSetInput
func (IpSetArray) ElementType ¶
func (IpSetArray) ElementType() reflect.Type
func (IpSetArray) ToIpSetArrayOutput ¶
func (i IpSetArray) ToIpSetArrayOutput() IpSetArrayOutput
func (IpSetArray) ToIpSetArrayOutputWithContext ¶
func (i IpSetArray) ToIpSetArrayOutputWithContext(ctx context.Context) IpSetArrayOutput
type IpSetArrayInput ¶
type IpSetArrayInput interface { pulumi.Input ToIpSetArrayOutput() IpSetArrayOutput ToIpSetArrayOutputWithContext(context.Context) IpSetArrayOutput }
IpSetArrayInput is an input type that accepts IpSetArray and IpSetArrayOutput values. You can construct a concrete instance of `IpSetArrayInput` via:
IpSetArray{ IpSetArgs{...} }
type IpSetArrayOutput ¶
type IpSetArrayOutput struct{ *pulumi.OutputState }
func (IpSetArrayOutput) ElementType ¶
func (IpSetArrayOutput) ElementType() reflect.Type
func (IpSetArrayOutput) Index ¶
func (o IpSetArrayOutput) Index(i pulumi.IntInput) IpSetOutput
func (IpSetArrayOutput) ToIpSetArrayOutput ¶
func (o IpSetArrayOutput) ToIpSetArrayOutput() IpSetArrayOutput
func (IpSetArrayOutput) ToIpSetArrayOutputWithContext ¶
func (o IpSetArrayOutput) ToIpSetArrayOutputWithContext(ctx context.Context) IpSetArrayOutput
type IpSetInput ¶
type IpSetInput interface { pulumi.Input ToIpSetOutput() IpSetOutput ToIpSetOutputWithContext(ctx context.Context) IpSetOutput }
type IpSetIpSetDescriptor ¶
type IpSetIpSetDescriptorArgs ¶
type IpSetIpSetDescriptorArgs struct { Type pulumi.StringInput `pulumi:"type"` Value pulumi.StringInput `pulumi:"value"` }
func (IpSetIpSetDescriptorArgs) ElementType ¶
func (IpSetIpSetDescriptorArgs) ElementType() reflect.Type
func (IpSetIpSetDescriptorArgs) ToIpSetIpSetDescriptorOutput ¶
func (i IpSetIpSetDescriptorArgs) ToIpSetIpSetDescriptorOutput() IpSetIpSetDescriptorOutput
func (IpSetIpSetDescriptorArgs) ToIpSetIpSetDescriptorOutputWithContext ¶
func (i IpSetIpSetDescriptorArgs) ToIpSetIpSetDescriptorOutputWithContext(ctx context.Context) IpSetIpSetDescriptorOutput
type IpSetIpSetDescriptorArray ¶
type IpSetIpSetDescriptorArray []IpSetIpSetDescriptorInput
func (IpSetIpSetDescriptorArray) ElementType ¶
func (IpSetIpSetDescriptorArray) ElementType() reflect.Type
func (IpSetIpSetDescriptorArray) ToIpSetIpSetDescriptorArrayOutput ¶
func (i IpSetIpSetDescriptorArray) ToIpSetIpSetDescriptorArrayOutput() IpSetIpSetDescriptorArrayOutput
func (IpSetIpSetDescriptorArray) ToIpSetIpSetDescriptorArrayOutputWithContext ¶
func (i IpSetIpSetDescriptorArray) ToIpSetIpSetDescriptorArrayOutputWithContext(ctx context.Context) IpSetIpSetDescriptorArrayOutput
type IpSetIpSetDescriptorArrayInput ¶
type IpSetIpSetDescriptorArrayInput interface { pulumi.Input ToIpSetIpSetDescriptorArrayOutput() IpSetIpSetDescriptorArrayOutput ToIpSetIpSetDescriptorArrayOutputWithContext(context.Context) IpSetIpSetDescriptorArrayOutput }
IpSetIpSetDescriptorArrayInput is an input type that accepts IpSetIpSetDescriptorArray and IpSetIpSetDescriptorArrayOutput values. You can construct a concrete instance of `IpSetIpSetDescriptorArrayInput` via:
IpSetIpSetDescriptorArray{ IpSetIpSetDescriptorArgs{...} }
type IpSetIpSetDescriptorArrayOutput ¶
type IpSetIpSetDescriptorArrayOutput struct{ *pulumi.OutputState }
func (IpSetIpSetDescriptorArrayOutput) ElementType ¶
func (IpSetIpSetDescriptorArrayOutput) ElementType() reflect.Type
func (IpSetIpSetDescriptorArrayOutput) Index ¶
func (o IpSetIpSetDescriptorArrayOutput) Index(i pulumi.IntInput) IpSetIpSetDescriptorOutput
func (IpSetIpSetDescriptorArrayOutput) ToIpSetIpSetDescriptorArrayOutput ¶
func (o IpSetIpSetDescriptorArrayOutput) ToIpSetIpSetDescriptorArrayOutput() IpSetIpSetDescriptorArrayOutput
func (IpSetIpSetDescriptorArrayOutput) ToIpSetIpSetDescriptorArrayOutputWithContext ¶
func (o IpSetIpSetDescriptorArrayOutput) ToIpSetIpSetDescriptorArrayOutputWithContext(ctx context.Context) IpSetIpSetDescriptorArrayOutput
type IpSetIpSetDescriptorInput ¶
type IpSetIpSetDescriptorInput interface { pulumi.Input ToIpSetIpSetDescriptorOutput() IpSetIpSetDescriptorOutput ToIpSetIpSetDescriptorOutputWithContext(context.Context) IpSetIpSetDescriptorOutput }
IpSetIpSetDescriptorInput is an input type that accepts IpSetIpSetDescriptorArgs and IpSetIpSetDescriptorOutput values. You can construct a concrete instance of `IpSetIpSetDescriptorInput` via:
IpSetIpSetDescriptorArgs{...}
type IpSetIpSetDescriptorOutput ¶
type IpSetIpSetDescriptorOutput struct{ *pulumi.OutputState }
func (IpSetIpSetDescriptorOutput) ElementType ¶
func (IpSetIpSetDescriptorOutput) ElementType() reflect.Type
func (IpSetIpSetDescriptorOutput) ToIpSetIpSetDescriptorOutput ¶
func (o IpSetIpSetDescriptorOutput) ToIpSetIpSetDescriptorOutput() IpSetIpSetDescriptorOutput
func (IpSetIpSetDescriptorOutput) ToIpSetIpSetDescriptorOutputWithContext ¶
func (o IpSetIpSetDescriptorOutput) ToIpSetIpSetDescriptorOutputWithContext(ctx context.Context) IpSetIpSetDescriptorOutput
func (IpSetIpSetDescriptorOutput) Type ¶
func (o IpSetIpSetDescriptorOutput) Type() pulumi.StringOutput
func (IpSetIpSetDescriptorOutput) Value ¶
func (o IpSetIpSetDescriptorOutput) Value() pulumi.StringOutput
type IpSetMap ¶
type IpSetMap map[string]IpSetInput
func (IpSetMap) ElementType ¶
func (IpSetMap) ToIpSetMapOutput ¶
func (i IpSetMap) ToIpSetMapOutput() IpSetMapOutput
func (IpSetMap) ToIpSetMapOutputWithContext ¶
func (i IpSetMap) ToIpSetMapOutputWithContext(ctx context.Context) IpSetMapOutput
type IpSetMapInput ¶
type IpSetMapInput interface { pulumi.Input ToIpSetMapOutput() IpSetMapOutput ToIpSetMapOutputWithContext(context.Context) IpSetMapOutput }
IpSetMapInput is an input type that accepts IpSetMap and IpSetMapOutput values. You can construct a concrete instance of `IpSetMapInput` via:
IpSetMap{ "key": IpSetArgs{...} }
type IpSetMapOutput ¶
type IpSetMapOutput struct{ *pulumi.OutputState }
func (IpSetMapOutput) ElementType ¶
func (IpSetMapOutput) ElementType() reflect.Type
func (IpSetMapOutput) MapIndex ¶
func (o IpSetMapOutput) MapIndex(k pulumi.StringInput) IpSetOutput
func (IpSetMapOutput) ToIpSetMapOutput ¶
func (o IpSetMapOutput) ToIpSetMapOutput() IpSetMapOutput
func (IpSetMapOutput) ToIpSetMapOutputWithContext ¶
func (o IpSetMapOutput) ToIpSetMapOutputWithContext(ctx context.Context) IpSetMapOutput
type IpSetOutput ¶
type IpSetOutput struct{ *pulumi.OutputState }
func (IpSetOutput) ElementType ¶
func (IpSetOutput) ElementType() reflect.Type
func (IpSetOutput) IpSetDescriptors ¶
func (o IpSetOutput) IpSetDescriptors() IpSetIpSetDescriptorArrayOutput
One or more pairs specifying the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) from which web requests originate.
func (IpSetOutput) Name ¶
func (o IpSetOutput) Name() pulumi.StringOutput
The name or description of the IPSet.
func (IpSetOutput) ToIpSetOutput ¶
func (o IpSetOutput) ToIpSetOutput() IpSetOutput
func (IpSetOutput) ToIpSetOutputWithContext ¶
func (o IpSetOutput) ToIpSetOutputWithContext(ctx context.Context) IpSetOutput
type IpSetState ¶
type IpSetState struct { // The ARN of the WAF IPSet. Arn pulumi.StringPtrInput // One or more pairs specifying the IP address type (IPV4 or IPV6) and the IP address range (in CIDR format) from which web requests originate. IpSetDescriptors IpSetIpSetDescriptorArrayInput // The name or description of the IPSet. Name pulumi.StringPtrInput }
func (IpSetState) ElementType ¶
func (IpSetState) ElementType() reflect.Type
type LookupRateBasedRuleArgs ¶
type LookupRateBasedRuleArgs struct { // Name of the WAF rate based rule. Name string `pulumi:"name"` }
A collection of arguments for invoking getRateBasedRule.
type LookupRateBasedRuleOutputArgs ¶
type LookupRateBasedRuleOutputArgs struct { // Name of the WAF rate based rule. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getRateBasedRule.
func (LookupRateBasedRuleOutputArgs) ElementType ¶
func (LookupRateBasedRuleOutputArgs) ElementType() reflect.Type
type LookupRateBasedRuleResult ¶
type LookupRateBasedRuleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getRateBasedRule.
func LookupRateBasedRule ¶
func LookupRateBasedRule(ctx *pulumi.Context, args *LookupRateBasedRuleArgs, opts ...pulumi.InvokeOption) (*LookupRateBasedRuleResult, error)
`waf.RateBasedRule` Retrieves a WAF Rate Based Rule Resource Id.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.LookupRateBasedRule(ctx, &waf.LookupRateBasedRuleArgs{ Name: "tfWAFRateBasedRule", }, nil) if err != nil { return err } return nil }) }
```
type LookupRateBasedRuleResultOutput ¶
type LookupRateBasedRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRateBasedRule.
func LookupRateBasedRuleOutput ¶
func LookupRateBasedRuleOutput(ctx *pulumi.Context, args LookupRateBasedRuleOutputArgs, opts ...pulumi.InvokeOption) LookupRateBasedRuleResultOutput
func (LookupRateBasedRuleResultOutput) ElementType ¶
func (LookupRateBasedRuleResultOutput) ElementType() reflect.Type
func (LookupRateBasedRuleResultOutput) Id ¶
func (o LookupRateBasedRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRateBasedRuleResultOutput) Name ¶
func (o LookupRateBasedRuleResultOutput) Name() pulumi.StringOutput
func (LookupRateBasedRuleResultOutput) ToLookupRateBasedRuleResultOutput ¶
func (o LookupRateBasedRuleResultOutput) ToLookupRateBasedRuleResultOutput() LookupRateBasedRuleResultOutput
func (LookupRateBasedRuleResultOutput) ToLookupRateBasedRuleResultOutputWithContext ¶
func (o LookupRateBasedRuleResultOutput) ToLookupRateBasedRuleResultOutputWithContext(ctx context.Context) LookupRateBasedRuleResultOutput
type LookupRuleArgs ¶
type LookupRuleArgs struct { // Name of the WAF rule. Name string `pulumi:"name"` }
A collection of arguments for invoking getRule.
type LookupRuleOutputArgs ¶
type LookupRuleOutputArgs struct { // Name of the WAF rule. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getRule.
func (LookupRuleOutputArgs) ElementType ¶
func (LookupRuleOutputArgs) ElementType() reflect.Type
type LookupRuleResult ¶
type LookupRuleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getRule.
func LookupRule ¶
func LookupRule(ctx *pulumi.Context, args *LookupRuleArgs, opts ...pulumi.InvokeOption) (*LookupRuleResult, error)
`waf.Rule` Retrieves a WAF Rule Resource Id.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.LookupRule(ctx, &waf.LookupRuleArgs{ Name: "tfWAFRule", }, nil) if err != nil { return err } return nil }) }
```
type LookupRuleResultOutput ¶
type LookupRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRule.
func LookupRuleOutput ¶
func LookupRuleOutput(ctx *pulumi.Context, args LookupRuleOutputArgs, opts ...pulumi.InvokeOption) LookupRuleResultOutput
func (LookupRuleResultOutput) ElementType ¶
func (LookupRuleResultOutput) ElementType() reflect.Type
func (LookupRuleResultOutput) Id ¶
func (o LookupRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRuleResultOutput) Name ¶
func (o LookupRuleResultOutput) Name() pulumi.StringOutput
func (LookupRuleResultOutput) ToLookupRuleResultOutput ¶
func (o LookupRuleResultOutput) ToLookupRuleResultOutput() LookupRuleResultOutput
func (LookupRuleResultOutput) ToLookupRuleResultOutputWithContext ¶
func (o LookupRuleResultOutput) ToLookupRuleResultOutputWithContext(ctx context.Context) LookupRuleResultOutput
type LookupWebAclArgs ¶
type LookupWebAclArgs struct { // Name of the WAF Web ACL. Name string `pulumi:"name"` }
A collection of arguments for invoking getWebAcl.
type LookupWebAclOutputArgs ¶
type LookupWebAclOutputArgs struct { // Name of the WAF Web ACL. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getWebAcl.
func (LookupWebAclOutputArgs) ElementType ¶
func (LookupWebAclOutputArgs) ElementType() reflect.Type
type LookupWebAclResult ¶
type LookupWebAclResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getWebAcl.
func LookupWebAcl ¶
func LookupWebAcl(ctx *pulumi.Context, args *LookupWebAclArgs, opts ...pulumi.InvokeOption) (*LookupWebAclResult, error)
`waf.WebAcl` Retrieves a WAF Web ACL Resource Id.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.LookupWebAcl(ctx, &waf.LookupWebAclArgs{ Name: "tfWAFWebACL", }, nil) if err != nil { return err } return nil }) }
```
type LookupWebAclResultOutput ¶
type LookupWebAclResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWebAcl.
func LookupWebAclOutput ¶
func LookupWebAclOutput(ctx *pulumi.Context, args LookupWebAclOutputArgs, opts ...pulumi.InvokeOption) LookupWebAclResultOutput
func (LookupWebAclResultOutput) ElementType ¶
func (LookupWebAclResultOutput) ElementType() reflect.Type
func (LookupWebAclResultOutput) Id ¶
func (o LookupWebAclResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupWebAclResultOutput) Name ¶
func (o LookupWebAclResultOutput) Name() pulumi.StringOutput
func (LookupWebAclResultOutput) ToLookupWebAclResultOutput ¶
func (o LookupWebAclResultOutput) ToLookupWebAclResultOutput() LookupWebAclResultOutput
func (LookupWebAclResultOutput) ToLookupWebAclResultOutputWithContext ¶
func (o LookupWebAclResultOutput) ToLookupWebAclResultOutputWithContext(ctx context.Context) LookupWebAclResultOutput
type RateBasedRule ¶
type RateBasedRule struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) Arn pulumi.StringOutput `pulumi:"arn"` // The name or description for the Amazon CloudWatch metric of this rule. MetricName pulumi.StringOutput `pulumi:"metricName"` // The name or description of the rule. Name pulumi.StringOutput `pulumi:"name"` // The objects to include in a rule (documented below). Predicates RateBasedRulePredicateArrayOutput `pulumi:"predicates"` // Valid value is IP. RateKey pulumi.StringOutput `pulumi:"rateKey"` // The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. Minimum value is 100. RateLimit pulumi.IntOutput `pulumi:"rateLimit"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a WAF Rate Based Rule Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ipset, err := waf.NewIpSet(ctx, "ipset", &waf.IpSetArgs{ Name: pulumi.String("tfIPSet"), IpSetDescriptors: waf.IpSetIpSetDescriptorArray{ &waf.IpSetIpSetDescriptorArgs{ Type: pulumi.String("IPV4"), Value: pulumi.String("192.0.7.0/24"), }, }, }) if err != nil { return err } _, err = waf.NewRateBasedRule(ctx, "wafrule", &waf.RateBasedRuleArgs{ Name: pulumi.String("tfWAFRule"), MetricName: pulumi.String("tfWAFRule"), RateKey: pulumi.String("IP"), RateLimit: pulumi.Int(100), Predicates: waf.RateBasedRulePredicateArray{ &waf.RateBasedRulePredicateArgs{ DataId: ipset.ID(), Negated: pulumi.Bool(false), Type: pulumi.String("IPMatch"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ ipset, })) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF Rated Based Rule using the id. For example:
```sh $ pulumi import aws:waf/rateBasedRule:RateBasedRule wafrule a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetRateBasedRule ¶
func GetRateBasedRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RateBasedRuleState, opts ...pulumi.ResourceOption) (*RateBasedRule, error)
GetRateBasedRule gets an existing RateBasedRule 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 NewRateBasedRule ¶
func NewRateBasedRule(ctx *pulumi.Context, name string, args *RateBasedRuleArgs, opts ...pulumi.ResourceOption) (*RateBasedRule, error)
NewRateBasedRule registers a new resource with the given unique name, arguments, and options.
func (*RateBasedRule) ElementType ¶
func (*RateBasedRule) ElementType() reflect.Type
func (*RateBasedRule) ToRateBasedRuleOutput ¶
func (i *RateBasedRule) ToRateBasedRuleOutput() RateBasedRuleOutput
func (*RateBasedRule) ToRateBasedRuleOutputWithContext ¶
func (i *RateBasedRule) ToRateBasedRuleOutputWithContext(ctx context.Context) RateBasedRuleOutput
type RateBasedRuleArgs ¶
type RateBasedRuleArgs struct { // The name or description for the Amazon CloudWatch metric of this rule. MetricName pulumi.StringInput // The name or description of the rule. Name pulumi.StringPtrInput // The objects to include in a rule (documented below). Predicates RateBasedRulePredicateArrayInput // Valid value is IP. RateKey pulumi.StringInput // The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. Minimum value is 100. RateLimit pulumi.IntInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a RateBasedRule resource.
func (RateBasedRuleArgs) ElementType ¶
func (RateBasedRuleArgs) ElementType() reflect.Type
type RateBasedRuleArray ¶
type RateBasedRuleArray []RateBasedRuleInput
func (RateBasedRuleArray) ElementType ¶
func (RateBasedRuleArray) ElementType() reflect.Type
func (RateBasedRuleArray) ToRateBasedRuleArrayOutput ¶
func (i RateBasedRuleArray) ToRateBasedRuleArrayOutput() RateBasedRuleArrayOutput
func (RateBasedRuleArray) ToRateBasedRuleArrayOutputWithContext ¶
func (i RateBasedRuleArray) ToRateBasedRuleArrayOutputWithContext(ctx context.Context) RateBasedRuleArrayOutput
type RateBasedRuleArrayInput ¶
type RateBasedRuleArrayInput interface { pulumi.Input ToRateBasedRuleArrayOutput() RateBasedRuleArrayOutput ToRateBasedRuleArrayOutputWithContext(context.Context) RateBasedRuleArrayOutput }
RateBasedRuleArrayInput is an input type that accepts RateBasedRuleArray and RateBasedRuleArrayOutput values. You can construct a concrete instance of `RateBasedRuleArrayInput` via:
RateBasedRuleArray{ RateBasedRuleArgs{...} }
type RateBasedRuleArrayOutput ¶
type RateBasedRuleArrayOutput struct{ *pulumi.OutputState }
func (RateBasedRuleArrayOutput) ElementType ¶
func (RateBasedRuleArrayOutput) ElementType() reflect.Type
func (RateBasedRuleArrayOutput) Index ¶
func (o RateBasedRuleArrayOutput) Index(i pulumi.IntInput) RateBasedRuleOutput
func (RateBasedRuleArrayOutput) ToRateBasedRuleArrayOutput ¶
func (o RateBasedRuleArrayOutput) ToRateBasedRuleArrayOutput() RateBasedRuleArrayOutput
func (RateBasedRuleArrayOutput) ToRateBasedRuleArrayOutputWithContext ¶
func (o RateBasedRuleArrayOutput) ToRateBasedRuleArrayOutputWithContext(ctx context.Context) RateBasedRuleArrayOutput
type RateBasedRuleInput ¶
type RateBasedRuleInput interface { pulumi.Input ToRateBasedRuleOutput() RateBasedRuleOutput ToRateBasedRuleOutputWithContext(ctx context.Context) RateBasedRuleOutput }
type RateBasedRuleMap ¶
type RateBasedRuleMap map[string]RateBasedRuleInput
func (RateBasedRuleMap) ElementType ¶
func (RateBasedRuleMap) ElementType() reflect.Type
func (RateBasedRuleMap) ToRateBasedRuleMapOutput ¶
func (i RateBasedRuleMap) ToRateBasedRuleMapOutput() RateBasedRuleMapOutput
func (RateBasedRuleMap) ToRateBasedRuleMapOutputWithContext ¶
func (i RateBasedRuleMap) ToRateBasedRuleMapOutputWithContext(ctx context.Context) RateBasedRuleMapOutput
type RateBasedRuleMapInput ¶
type RateBasedRuleMapInput interface { pulumi.Input ToRateBasedRuleMapOutput() RateBasedRuleMapOutput ToRateBasedRuleMapOutputWithContext(context.Context) RateBasedRuleMapOutput }
RateBasedRuleMapInput is an input type that accepts RateBasedRuleMap and RateBasedRuleMapOutput values. You can construct a concrete instance of `RateBasedRuleMapInput` via:
RateBasedRuleMap{ "key": RateBasedRuleArgs{...} }
type RateBasedRuleMapOutput ¶
type RateBasedRuleMapOutput struct{ *pulumi.OutputState }
func (RateBasedRuleMapOutput) ElementType ¶
func (RateBasedRuleMapOutput) ElementType() reflect.Type
func (RateBasedRuleMapOutput) MapIndex ¶
func (o RateBasedRuleMapOutput) MapIndex(k pulumi.StringInput) RateBasedRuleOutput
func (RateBasedRuleMapOutput) ToRateBasedRuleMapOutput ¶
func (o RateBasedRuleMapOutput) ToRateBasedRuleMapOutput() RateBasedRuleMapOutput
func (RateBasedRuleMapOutput) ToRateBasedRuleMapOutputWithContext ¶
func (o RateBasedRuleMapOutput) ToRateBasedRuleMapOutputWithContext(ctx context.Context) RateBasedRuleMapOutput
type RateBasedRuleOutput ¶
type RateBasedRuleOutput struct{ *pulumi.OutputState }
func (RateBasedRuleOutput) Arn ¶
func (o RateBasedRuleOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN)
func (RateBasedRuleOutput) ElementType ¶
func (RateBasedRuleOutput) ElementType() reflect.Type
func (RateBasedRuleOutput) MetricName ¶
func (o RateBasedRuleOutput) MetricName() pulumi.StringOutput
The name or description for the Amazon CloudWatch metric of this rule.
func (RateBasedRuleOutput) Name ¶
func (o RateBasedRuleOutput) Name() pulumi.StringOutput
The name or description of the rule.
func (RateBasedRuleOutput) Predicates ¶
func (o RateBasedRuleOutput) Predicates() RateBasedRulePredicateArrayOutput
The objects to include in a rule (documented below).
func (RateBasedRuleOutput) RateKey ¶
func (o RateBasedRuleOutput) RateKey() pulumi.StringOutput
Valid value is IP.
func (RateBasedRuleOutput) RateLimit ¶
func (o RateBasedRuleOutput) RateLimit() pulumi.IntOutput
The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. Minimum value is 100.
func (RateBasedRuleOutput) Tags ¶
func (o RateBasedRuleOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (RateBasedRuleOutput) TagsAll
deprecated
func (o RateBasedRuleOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (RateBasedRuleOutput) ToRateBasedRuleOutput ¶
func (o RateBasedRuleOutput) ToRateBasedRuleOutput() RateBasedRuleOutput
func (RateBasedRuleOutput) ToRateBasedRuleOutputWithContext ¶
func (o RateBasedRuleOutput) ToRateBasedRuleOutputWithContext(ctx context.Context) RateBasedRuleOutput
type RateBasedRulePredicate ¶
type RateBasedRulePredicateArgs ¶
type RateBasedRulePredicateArgs struct { DataId pulumi.StringInput `pulumi:"dataId"` Negated pulumi.BoolInput `pulumi:"negated"` Type pulumi.StringInput `pulumi:"type"` }
func (RateBasedRulePredicateArgs) ElementType ¶
func (RateBasedRulePredicateArgs) ElementType() reflect.Type
func (RateBasedRulePredicateArgs) ToRateBasedRulePredicateOutput ¶
func (i RateBasedRulePredicateArgs) ToRateBasedRulePredicateOutput() RateBasedRulePredicateOutput
func (RateBasedRulePredicateArgs) ToRateBasedRulePredicateOutputWithContext ¶
func (i RateBasedRulePredicateArgs) ToRateBasedRulePredicateOutputWithContext(ctx context.Context) RateBasedRulePredicateOutput
type RateBasedRulePredicateArray ¶
type RateBasedRulePredicateArray []RateBasedRulePredicateInput
func (RateBasedRulePredicateArray) ElementType ¶
func (RateBasedRulePredicateArray) ElementType() reflect.Type
func (RateBasedRulePredicateArray) ToRateBasedRulePredicateArrayOutput ¶
func (i RateBasedRulePredicateArray) ToRateBasedRulePredicateArrayOutput() RateBasedRulePredicateArrayOutput
func (RateBasedRulePredicateArray) ToRateBasedRulePredicateArrayOutputWithContext ¶
func (i RateBasedRulePredicateArray) ToRateBasedRulePredicateArrayOutputWithContext(ctx context.Context) RateBasedRulePredicateArrayOutput
type RateBasedRulePredicateArrayInput ¶
type RateBasedRulePredicateArrayInput interface { pulumi.Input ToRateBasedRulePredicateArrayOutput() RateBasedRulePredicateArrayOutput ToRateBasedRulePredicateArrayOutputWithContext(context.Context) RateBasedRulePredicateArrayOutput }
RateBasedRulePredicateArrayInput is an input type that accepts RateBasedRulePredicateArray and RateBasedRulePredicateArrayOutput values. You can construct a concrete instance of `RateBasedRulePredicateArrayInput` via:
RateBasedRulePredicateArray{ RateBasedRulePredicateArgs{...} }
type RateBasedRulePredicateArrayOutput ¶
type RateBasedRulePredicateArrayOutput struct{ *pulumi.OutputState }
func (RateBasedRulePredicateArrayOutput) ElementType ¶
func (RateBasedRulePredicateArrayOutput) ElementType() reflect.Type
func (RateBasedRulePredicateArrayOutput) Index ¶
func (o RateBasedRulePredicateArrayOutput) Index(i pulumi.IntInput) RateBasedRulePredicateOutput
func (RateBasedRulePredicateArrayOutput) ToRateBasedRulePredicateArrayOutput ¶
func (o RateBasedRulePredicateArrayOutput) ToRateBasedRulePredicateArrayOutput() RateBasedRulePredicateArrayOutput
func (RateBasedRulePredicateArrayOutput) ToRateBasedRulePredicateArrayOutputWithContext ¶
func (o RateBasedRulePredicateArrayOutput) ToRateBasedRulePredicateArrayOutputWithContext(ctx context.Context) RateBasedRulePredicateArrayOutput
type RateBasedRulePredicateInput ¶
type RateBasedRulePredicateInput interface { pulumi.Input ToRateBasedRulePredicateOutput() RateBasedRulePredicateOutput ToRateBasedRulePredicateOutputWithContext(context.Context) RateBasedRulePredicateOutput }
RateBasedRulePredicateInput is an input type that accepts RateBasedRulePredicateArgs and RateBasedRulePredicateOutput values. You can construct a concrete instance of `RateBasedRulePredicateInput` via:
RateBasedRulePredicateArgs{...}
type RateBasedRulePredicateOutput ¶
type RateBasedRulePredicateOutput struct{ *pulumi.OutputState }
func (RateBasedRulePredicateOutput) DataId ¶
func (o RateBasedRulePredicateOutput) DataId() pulumi.StringOutput
func (RateBasedRulePredicateOutput) ElementType ¶
func (RateBasedRulePredicateOutput) ElementType() reflect.Type
func (RateBasedRulePredicateOutput) Negated ¶
func (o RateBasedRulePredicateOutput) Negated() pulumi.BoolOutput
func (RateBasedRulePredicateOutput) ToRateBasedRulePredicateOutput ¶
func (o RateBasedRulePredicateOutput) ToRateBasedRulePredicateOutput() RateBasedRulePredicateOutput
func (RateBasedRulePredicateOutput) ToRateBasedRulePredicateOutputWithContext ¶
func (o RateBasedRulePredicateOutput) ToRateBasedRulePredicateOutputWithContext(ctx context.Context) RateBasedRulePredicateOutput
func (RateBasedRulePredicateOutput) Type ¶
func (o RateBasedRulePredicateOutput) Type() pulumi.StringOutput
type RateBasedRuleState ¶
type RateBasedRuleState struct { // Amazon Resource Name (ARN) Arn pulumi.StringPtrInput // The name or description for the Amazon CloudWatch metric of this rule. MetricName pulumi.StringPtrInput // The name or description of the rule. Name pulumi.StringPtrInput // The objects to include in a rule (documented below). Predicates RateBasedRulePredicateArrayInput // Valid value is IP. RateKey pulumi.StringPtrInput // The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. Minimum value is 100. RateLimit pulumi.IntPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (RateBasedRuleState) ElementType ¶
func (RateBasedRuleState) ElementType() reflect.Type
type RegexMatchSet ¶
type RegexMatchSet struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) Arn pulumi.StringOutput `pulumi:"arn"` // The name or description of the Regex Match Set. Name pulumi.StringOutput `pulumi:"name"` // The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below. RegexMatchTuples RegexMatchSetRegexMatchTupleArrayOutput `pulumi:"regexMatchTuples"` }
Provides a WAF Regex Match Set Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRegexPatternSet, err := waf.NewRegexPatternSet(ctx, "example", &waf.RegexPatternSetArgs{ Name: pulumi.String("example"), RegexPatternStrings: pulumi.StringArray{ pulumi.String("one"), pulumi.String("two"), }, }) if err != nil { return err } _, err = waf.NewRegexMatchSet(ctx, "example", &waf.RegexMatchSetArgs{ Name: pulumi.String("example"), RegexMatchTuples: waf.RegexMatchSetRegexMatchTupleArray{ &waf.RegexMatchSetRegexMatchTupleArgs{ FieldToMatch: &waf.RegexMatchSetRegexMatchTupleFieldToMatchArgs{ Data: pulumi.String("User-Agent"), Type: pulumi.String("HEADER"), }, RegexPatternSetId: exampleRegexPatternSet.ID(), TextTransformation: pulumi.String("NONE"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF Regex Match Set using their ID. For example:
```sh $ pulumi import aws:waf/regexMatchSet:RegexMatchSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetRegexMatchSet ¶
func GetRegexMatchSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegexMatchSetState, opts ...pulumi.ResourceOption) (*RegexMatchSet, error)
GetRegexMatchSet gets an existing RegexMatchSet 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 NewRegexMatchSet ¶
func NewRegexMatchSet(ctx *pulumi.Context, name string, args *RegexMatchSetArgs, opts ...pulumi.ResourceOption) (*RegexMatchSet, error)
NewRegexMatchSet registers a new resource with the given unique name, arguments, and options.
func (*RegexMatchSet) ElementType ¶
func (*RegexMatchSet) ElementType() reflect.Type
func (*RegexMatchSet) ToRegexMatchSetOutput ¶
func (i *RegexMatchSet) ToRegexMatchSetOutput() RegexMatchSetOutput
func (*RegexMatchSet) ToRegexMatchSetOutputWithContext ¶
func (i *RegexMatchSet) ToRegexMatchSetOutputWithContext(ctx context.Context) RegexMatchSetOutput
type RegexMatchSetArgs ¶
type RegexMatchSetArgs struct { // The name or description of the Regex Match Set. Name pulumi.StringPtrInput // The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below. RegexMatchTuples RegexMatchSetRegexMatchTupleArrayInput }
The set of arguments for constructing a RegexMatchSet resource.
func (RegexMatchSetArgs) ElementType ¶
func (RegexMatchSetArgs) ElementType() reflect.Type
type RegexMatchSetArray ¶
type RegexMatchSetArray []RegexMatchSetInput
func (RegexMatchSetArray) ElementType ¶
func (RegexMatchSetArray) ElementType() reflect.Type
func (RegexMatchSetArray) ToRegexMatchSetArrayOutput ¶
func (i RegexMatchSetArray) ToRegexMatchSetArrayOutput() RegexMatchSetArrayOutput
func (RegexMatchSetArray) ToRegexMatchSetArrayOutputWithContext ¶
func (i RegexMatchSetArray) ToRegexMatchSetArrayOutputWithContext(ctx context.Context) RegexMatchSetArrayOutput
type RegexMatchSetArrayInput ¶
type RegexMatchSetArrayInput interface { pulumi.Input ToRegexMatchSetArrayOutput() RegexMatchSetArrayOutput ToRegexMatchSetArrayOutputWithContext(context.Context) RegexMatchSetArrayOutput }
RegexMatchSetArrayInput is an input type that accepts RegexMatchSetArray and RegexMatchSetArrayOutput values. You can construct a concrete instance of `RegexMatchSetArrayInput` via:
RegexMatchSetArray{ RegexMatchSetArgs{...} }
type RegexMatchSetArrayOutput ¶
type RegexMatchSetArrayOutput struct{ *pulumi.OutputState }
func (RegexMatchSetArrayOutput) ElementType ¶
func (RegexMatchSetArrayOutput) ElementType() reflect.Type
func (RegexMatchSetArrayOutput) Index ¶
func (o RegexMatchSetArrayOutput) Index(i pulumi.IntInput) RegexMatchSetOutput
func (RegexMatchSetArrayOutput) ToRegexMatchSetArrayOutput ¶
func (o RegexMatchSetArrayOutput) ToRegexMatchSetArrayOutput() RegexMatchSetArrayOutput
func (RegexMatchSetArrayOutput) ToRegexMatchSetArrayOutputWithContext ¶
func (o RegexMatchSetArrayOutput) ToRegexMatchSetArrayOutputWithContext(ctx context.Context) RegexMatchSetArrayOutput
type RegexMatchSetInput ¶
type RegexMatchSetInput interface { pulumi.Input ToRegexMatchSetOutput() RegexMatchSetOutput ToRegexMatchSetOutputWithContext(ctx context.Context) RegexMatchSetOutput }
type RegexMatchSetMap ¶
type RegexMatchSetMap map[string]RegexMatchSetInput
func (RegexMatchSetMap) ElementType ¶
func (RegexMatchSetMap) ElementType() reflect.Type
func (RegexMatchSetMap) ToRegexMatchSetMapOutput ¶
func (i RegexMatchSetMap) ToRegexMatchSetMapOutput() RegexMatchSetMapOutput
func (RegexMatchSetMap) ToRegexMatchSetMapOutputWithContext ¶
func (i RegexMatchSetMap) ToRegexMatchSetMapOutputWithContext(ctx context.Context) RegexMatchSetMapOutput
type RegexMatchSetMapInput ¶
type RegexMatchSetMapInput interface { pulumi.Input ToRegexMatchSetMapOutput() RegexMatchSetMapOutput ToRegexMatchSetMapOutputWithContext(context.Context) RegexMatchSetMapOutput }
RegexMatchSetMapInput is an input type that accepts RegexMatchSetMap and RegexMatchSetMapOutput values. You can construct a concrete instance of `RegexMatchSetMapInput` via:
RegexMatchSetMap{ "key": RegexMatchSetArgs{...} }
type RegexMatchSetMapOutput ¶
type RegexMatchSetMapOutput struct{ *pulumi.OutputState }
func (RegexMatchSetMapOutput) ElementType ¶
func (RegexMatchSetMapOutput) ElementType() reflect.Type
func (RegexMatchSetMapOutput) MapIndex ¶
func (o RegexMatchSetMapOutput) MapIndex(k pulumi.StringInput) RegexMatchSetOutput
func (RegexMatchSetMapOutput) ToRegexMatchSetMapOutput ¶
func (o RegexMatchSetMapOutput) ToRegexMatchSetMapOutput() RegexMatchSetMapOutput
func (RegexMatchSetMapOutput) ToRegexMatchSetMapOutputWithContext ¶
func (o RegexMatchSetMapOutput) ToRegexMatchSetMapOutputWithContext(ctx context.Context) RegexMatchSetMapOutput
type RegexMatchSetOutput ¶
type RegexMatchSetOutput struct{ *pulumi.OutputState }
func (RegexMatchSetOutput) Arn ¶
func (o RegexMatchSetOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN)
func (RegexMatchSetOutput) ElementType ¶
func (RegexMatchSetOutput) ElementType() reflect.Type
func (RegexMatchSetOutput) Name ¶
func (o RegexMatchSetOutput) Name() pulumi.StringOutput
The name or description of the Regex Match Set.
func (RegexMatchSetOutput) RegexMatchTuples ¶
func (o RegexMatchSetOutput) RegexMatchTuples() RegexMatchSetRegexMatchTupleArrayOutput
The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below.
func (RegexMatchSetOutput) ToRegexMatchSetOutput ¶
func (o RegexMatchSetOutput) ToRegexMatchSetOutput() RegexMatchSetOutput
func (RegexMatchSetOutput) ToRegexMatchSetOutputWithContext ¶
func (o RegexMatchSetOutput) ToRegexMatchSetOutputWithContext(ctx context.Context) RegexMatchSetOutput
type RegexMatchSetRegexMatchTuple ¶
type RegexMatchSetRegexMatchTuple struct { // The part of a web request that you want to search, such as a specified header or a query string. FieldToMatch RegexMatchSetRegexMatchTupleFieldToMatch `pulumi:"fieldToMatch"` // The ID of a Regex Pattern Set. RegexPatternSetId string `pulumi:"regexPatternSetId"` // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-TextTransformation) // for all supported values. TextTransformation string `pulumi:"textTransformation"` }
type RegexMatchSetRegexMatchTupleArgs ¶
type RegexMatchSetRegexMatchTupleArgs struct { // The part of a web request that you want to search, such as a specified header or a query string. FieldToMatch RegexMatchSetRegexMatchTupleFieldToMatchInput `pulumi:"fieldToMatch"` // The ID of a Regex Pattern Set. RegexPatternSetId pulumi.StringInput `pulumi:"regexPatternSetId"` // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-TextTransformation) // for all supported values. TextTransformation pulumi.StringInput `pulumi:"textTransformation"` }
func (RegexMatchSetRegexMatchTupleArgs) ElementType ¶
func (RegexMatchSetRegexMatchTupleArgs) ElementType() reflect.Type
func (RegexMatchSetRegexMatchTupleArgs) ToRegexMatchSetRegexMatchTupleOutput ¶
func (i RegexMatchSetRegexMatchTupleArgs) ToRegexMatchSetRegexMatchTupleOutput() RegexMatchSetRegexMatchTupleOutput
func (RegexMatchSetRegexMatchTupleArgs) ToRegexMatchSetRegexMatchTupleOutputWithContext ¶
func (i RegexMatchSetRegexMatchTupleArgs) ToRegexMatchSetRegexMatchTupleOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleOutput
type RegexMatchSetRegexMatchTupleArray ¶
type RegexMatchSetRegexMatchTupleArray []RegexMatchSetRegexMatchTupleInput
func (RegexMatchSetRegexMatchTupleArray) ElementType ¶
func (RegexMatchSetRegexMatchTupleArray) ElementType() reflect.Type
func (RegexMatchSetRegexMatchTupleArray) ToRegexMatchSetRegexMatchTupleArrayOutput ¶
func (i RegexMatchSetRegexMatchTupleArray) ToRegexMatchSetRegexMatchTupleArrayOutput() RegexMatchSetRegexMatchTupleArrayOutput
func (RegexMatchSetRegexMatchTupleArray) ToRegexMatchSetRegexMatchTupleArrayOutputWithContext ¶
func (i RegexMatchSetRegexMatchTupleArray) ToRegexMatchSetRegexMatchTupleArrayOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleArrayOutput
type RegexMatchSetRegexMatchTupleArrayInput ¶
type RegexMatchSetRegexMatchTupleArrayInput interface { pulumi.Input ToRegexMatchSetRegexMatchTupleArrayOutput() RegexMatchSetRegexMatchTupleArrayOutput ToRegexMatchSetRegexMatchTupleArrayOutputWithContext(context.Context) RegexMatchSetRegexMatchTupleArrayOutput }
RegexMatchSetRegexMatchTupleArrayInput is an input type that accepts RegexMatchSetRegexMatchTupleArray and RegexMatchSetRegexMatchTupleArrayOutput values. You can construct a concrete instance of `RegexMatchSetRegexMatchTupleArrayInput` via:
RegexMatchSetRegexMatchTupleArray{ RegexMatchSetRegexMatchTupleArgs{...} }
type RegexMatchSetRegexMatchTupleArrayOutput ¶
type RegexMatchSetRegexMatchTupleArrayOutput struct{ *pulumi.OutputState }
func (RegexMatchSetRegexMatchTupleArrayOutput) ElementType ¶
func (RegexMatchSetRegexMatchTupleArrayOutput) ElementType() reflect.Type
func (RegexMatchSetRegexMatchTupleArrayOutput) ToRegexMatchSetRegexMatchTupleArrayOutput ¶
func (o RegexMatchSetRegexMatchTupleArrayOutput) ToRegexMatchSetRegexMatchTupleArrayOutput() RegexMatchSetRegexMatchTupleArrayOutput
func (RegexMatchSetRegexMatchTupleArrayOutput) ToRegexMatchSetRegexMatchTupleArrayOutputWithContext ¶
func (o RegexMatchSetRegexMatchTupleArrayOutput) ToRegexMatchSetRegexMatchTupleArrayOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleArrayOutput
type RegexMatchSetRegexMatchTupleFieldToMatch ¶
type RegexMatchSetRegexMatchTupleFieldToMatch struct { // When `type` is `HEADER`, enter the name of the header that you want to search, e.g., `User-Agent` or `Referer`. // If `type` is any other value, omit this field. Data *string `pulumi:"data"` // The part of the web request that you want AWS WAF to search for a specified string. // e.g., `HEADER`, `METHOD` or `BODY`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_FieldToMatch.html) // for all supported values. Type string `pulumi:"type"` }
type RegexMatchSetRegexMatchTupleFieldToMatchArgs ¶
type RegexMatchSetRegexMatchTupleFieldToMatchArgs struct { // When `type` is `HEADER`, enter the name of the header that you want to search, e.g., `User-Agent` or `Referer`. // If `type` is any other value, omit this field. Data pulumi.StringPtrInput `pulumi:"data"` // The part of the web request that you want AWS WAF to search for a specified string. // e.g., `HEADER`, `METHOD` or `BODY`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_FieldToMatch.html) // for all supported values. Type pulumi.StringInput `pulumi:"type"` }
func (RegexMatchSetRegexMatchTupleFieldToMatchArgs) ElementType ¶
func (RegexMatchSetRegexMatchTupleFieldToMatchArgs) ElementType() reflect.Type
func (RegexMatchSetRegexMatchTupleFieldToMatchArgs) ToRegexMatchSetRegexMatchTupleFieldToMatchOutput ¶
func (i RegexMatchSetRegexMatchTupleFieldToMatchArgs) ToRegexMatchSetRegexMatchTupleFieldToMatchOutput() RegexMatchSetRegexMatchTupleFieldToMatchOutput
func (RegexMatchSetRegexMatchTupleFieldToMatchArgs) ToRegexMatchSetRegexMatchTupleFieldToMatchOutputWithContext ¶
func (i RegexMatchSetRegexMatchTupleFieldToMatchArgs) ToRegexMatchSetRegexMatchTupleFieldToMatchOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleFieldToMatchOutput
type RegexMatchSetRegexMatchTupleFieldToMatchInput ¶
type RegexMatchSetRegexMatchTupleFieldToMatchInput interface { pulumi.Input ToRegexMatchSetRegexMatchTupleFieldToMatchOutput() RegexMatchSetRegexMatchTupleFieldToMatchOutput ToRegexMatchSetRegexMatchTupleFieldToMatchOutputWithContext(context.Context) RegexMatchSetRegexMatchTupleFieldToMatchOutput }
RegexMatchSetRegexMatchTupleFieldToMatchInput is an input type that accepts RegexMatchSetRegexMatchTupleFieldToMatchArgs and RegexMatchSetRegexMatchTupleFieldToMatchOutput values. You can construct a concrete instance of `RegexMatchSetRegexMatchTupleFieldToMatchInput` via:
RegexMatchSetRegexMatchTupleFieldToMatchArgs{...}
type RegexMatchSetRegexMatchTupleFieldToMatchOutput ¶
type RegexMatchSetRegexMatchTupleFieldToMatchOutput struct{ *pulumi.OutputState }
func (RegexMatchSetRegexMatchTupleFieldToMatchOutput) Data ¶
func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) Data() pulumi.StringPtrOutput
When `type` is `HEADER`, enter the name of the header that you want to search, e.g., `User-Agent` or `Referer`. If `type` is any other value, omit this field.
func (RegexMatchSetRegexMatchTupleFieldToMatchOutput) ElementType ¶
func (RegexMatchSetRegexMatchTupleFieldToMatchOutput) ElementType() reflect.Type
func (RegexMatchSetRegexMatchTupleFieldToMatchOutput) ToRegexMatchSetRegexMatchTupleFieldToMatchOutput ¶
func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) ToRegexMatchSetRegexMatchTupleFieldToMatchOutput() RegexMatchSetRegexMatchTupleFieldToMatchOutput
func (RegexMatchSetRegexMatchTupleFieldToMatchOutput) ToRegexMatchSetRegexMatchTupleFieldToMatchOutputWithContext ¶
func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) ToRegexMatchSetRegexMatchTupleFieldToMatchOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleFieldToMatchOutput
func (RegexMatchSetRegexMatchTupleFieldToMatchOutput) Type ¶
func (o RegexMatchSetRegexMatchTupleFieldToMatchOutput) Type() pulumi.StringOutput
The part of the web request that you want AWS WAF to search for a specified string. e.g., `HEADER`, `METHOD` or `BODY`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_FieldToMatch.html) for all supported values.
type RegexMatchSetRegexMatchTupleInput ¶
type RegexMatchSetRegexMatchTupleInput interface { pulumi.Input ToRegexMatchSetRegexMatchTupleOutput() RegexMatchSetRegexMatchTupleOutput ToRegexMatchSetRegexMatchTupleOutputWithContext(context.Context) RegexMatchSetRegexMatchTupleOutput }
RegexMatchSetRegexMatchTupleInput is an input type that accepts RegexMatchSetRegexMatchTupleArgs and RegexMatchSetRegexMatchTupleOutput values. You can construct a concrete instance of `RegexMatchSetRegexMatchTupleInput` via:
RegexMatchSetRegexMatchTupleArgs{...}
type RegexMatchSetRegexMatchTupleOutput ¶
type RegexMatchSetRegexMatchTupleOutput struct{ *pulumi.OutputState }
func (RegexMatchSetRegexMatchTupleOutput) ElementType ¶
func (RegexMatchSetRegexMatchTupleOutput) ElementType() reflect.Type
func (RegexMatchSetRegexMatchTupleOutput) FieldToMatch ¶
func (o RegexMatchSetRegexMatchTupleOutput) FieldToMatch() RegexMatchSetRegexMatchTupleFieldToMatchOutput
The part of a web request that you want to search, such as a specified header or a query string.
func (RegexMatchSetRegexMatchTupleOutput) RegexPatternSetId ¶
func (o RegexMatchSetRegexMatchTupleOutput) RegexPatternSetId() pulumi.StringOutput
The ID of a Regex Pattern Set.
func (RegexMatchSetRegexMatchTupleOutput) TextTransformation ¶
func (o RegexMatchSetRegexMatchTupleOutput) TextTransformation() pulumi.StringOutput
Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-TextTransformation) for all supported values.
func (RegexMatchSetRegexMatchTupleOutput) ToRegexMatchSetRegexMatchTupleOutput ¶
func (o RegexMatchSetRegexMatchTupleOutput) ToRegexMatchSetRegexMatchTupleOutput() RegexMatchSetRegexMatchTupleOutput
func (RegexMatchSetRegexMatchTupleOutput) ToRegexMatchSetRegexMatchTupleOutputWithContext ¶
func (o RegexMatchSetRegexMatchTupleOutput) ToRegexMatchSetRegexMatchTupleOutputWithContext(ctx context.Context) RegexMatchSetRegexMatchTupleOutput
type RegexMatchSetState ¶
type RegexMatchSetState struct { // Amazon Resource Name (ARN) Arn pulumi.StringPtrInput // The name or description of the Regex Match Set. Name pulumi.StringPtrInput // The regular expression pattern that you want AWS WAF to search for in web requests, the location in requests that you want AWS WAF to search, and other settings. See below. RegexMatchTuples RegexMatchSetRegexMatchTupleArrayInput }
func (RegexMatchSetState) ElementType ¶
func (RegexMatchSetState) ElementType() reflect.Type
type RegexPatternSet ¶
type RegexPatternSet struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) Arn pulumi.StringOutput `pulumi:"arn"` // The name or description of the Regex Pattern Set. Name pulumi.StringOutput `pulumi:"name"` // A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. RegexPatternStrings pulumi.StringArrayOutput `pulumi:"regexPatternStrings"` }
Provides a WAF Regex Pattern Set Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewRegexPatternSet(ctx, "example", &waf.RegexPatternSetArgs{ Name: pulumi.String("my_waf_regex_pattern_set"), RegexPatternStrings: pulumi.StringArray{ pulumi.String("one"), pulumi.String("two"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import AWS WAF Regex Pattern Set using their ID. For example:
```sh $ pulumi import aws:waf/regexPatternSet:RegexPatternSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetRegexPatternSet ¶
func GetRegexPatternSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegexPatternSetState, opts ...pulumi.ResourceOption) (*RegexPatternSet, error)
GetRegexPatternSet gets an existing RegexPatternSet 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 NewRegexPatternSet ¶
func NewRegexPatternSet(ctx *pulumi.Context, name string, args *RegexPatternSetArgs, opts ...pulumi.ResourceOption) (*RegexPatternSet, error)
NewRegexPatternSet registers a new resource with the given unique name, arguments, and options.
func (*RegexPatternSet) ElementType ¶
func (*RegexPatternSet) ElementType() reflect.Type
func (*RegexPatternSet) ToRegexPatternSetOutput ¶
func (i *RegexPatternSet) ToRegexPatternSetOutput() RegexPatternSetOutput
func (*RegexPatternSet) ToRegexPatternSetOutputWithContext ¶
func (i *RegexPatternSet) ToRegexPatternSetOutputWithContext(ctx context.Context) RegexPatternSetOutput
type RegexPatternSetArgs ¶
type RegexPatternSetArgs struct { // The name or description of the Regex Pattern Set. Name pulumi.StringPtrInput // A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. RegexPatternStrings pulumi.StringArrayInput }
The set of arguments for constructing a RegexPatternSet resource.
func (RegexPatternSetArgs) ElementType ¶
func (RegexPatternSetArgs) ElementType() reflect.Type
type RegexPatternSetArray ¶
type RegexPatternSetArray []RegexPatternSetInput
func (RegexPatternSetArray) ElementType ¶
func (RegexPatternSetArray) ElementType() reflect.Type
func (RegexPatternSetArray) ToRegexPatternSetArrayOutput ¶
func (i RegexPatternSetArray) ToRegexPatternSetArrayOutput() RegexPatternSetArrayOutput
func (RegexPatternSetArray) ToRegexPatternSetArrayOutputWithContext ¶
func (i RegexPatternSetArray) ToRegexPatternSetArrayOutputWithContext(ctx context.Context) RegexPatternSetArrayOutput
type RegexPatternSetArrayInput ¶
type RegexPatternSetArrayInput interface { pulumi.Input ToRegexPatternSetArrayOutput() RegexPatternSetArrayOutput ToRegexPatternSetArrayOutputWithContext(context.Context) RegexPatternSetArrayOutput }
RegexPatternSetArrayInput is an input type that accepts RegexPatternSetArray and RegexPatternSetArrayOutput values. You can construct a concrete instance of `RegexPatternSetArrayInput` via:
RegexPatternSetArray{ RegexPatternSetArgs{...} }
type RegexPatternSetArrayOutput ¶
type RegexPatternSetArrayOutput struct{ *pulumi.OutputState }
func (RegexPatternSetArrayOutput) ElementType ¶
func (RegexPatternSetArrayOutput) ElementType() reflect.Type
func (RegexPatternSetArrayOutput) Index ¶
func (o RegexPatternSetArrayOutput) Index(i pulumi.IntInput) RegexPatternSetOutput
func (RegexPatternSetArrayOutput) ToRegexPatternSetArrayOutput ¶
func (o RegexPatternSetArrayOutput) ToRegexPatternSetArrayOutput() RegexPatternSetArrayOutput
func (RegexPatternSetArrayOutput) ToRegexPatternSetArrayOutputWithContext ¶
func (o RegexPatternSetArrayOutput) ToRegexPatternSetArrayOutputWithContext(ctx context.Context) RegexPatternSetArrayOutput
type RegexPatternSetInput ¶
type RegexPatternSetInput interface { pulumi.Input ToRegexPatternSetOutput() RegexPatternSetOutput ToRegexPatternSetOutputWithContext(ctx context.Context) RegexPatternSetOutput }
type RegexPatternSetMap ¶
type RegexPatternSetMap map[string]RegexPatternSetInput
func (RegexPatternSetMap) ElementType ¶
func (RegexPatternSetMap) ElementType() reflect.Type
func (RegexPatternSetMap) ToRegexPatternSetMapOutput ¶
func (i RegexPatternSetMap) ToRegexPatternSetMapOutput() RegexPatternSetMapOutput
func (RegexPatternSetMap) ToRegexPatternSetMapOutputWithContext ¶
func (i RegexPatternSetMap) ToRegexPatternSetMapOutputWithContext(ctx context.Context) RegexPatternSetMapOutput
type RegexPatternSetMapInput ¶
type RegexPatternSetMapInput interface { pulumi.Input ToRegexPatternSetMapOutput() RegexPatternSetMapOutput ToRegexPatternSetMapOutputWithContext(context.Context) RegexPatternSetMapOutput }
RegexPatternSetMapInput is an input type that accepts RegexPatternSetMap and RegexPatternSetMapOutput values. You can construct a concrete instance of `RegexPatternSetMapInput` via:
RegexPatternSetMap{ "key": RegexPatternSetArgs{...} }
type RegexPatternSetMapOutput ¶
type RegexPatternSetMapOutput struct{ *pulumi.OutputState }
func (RegexPatternSetMapOutput) ElementType ¶
func (RegexPatternSetMapOutput) ElementType() reflect.Type
func (RegexPatternSetMapOutput) MapIndex ¶
func (o RegexPatternSetMapOutput) MapIndex(k pulumi.StringInput) RegexPatternSetOutput
func (RegexPatternSetMapOutput) ToRegexPatternSetMapOutput ¶
func (o RegexPatternSetMapOutput) ToRegexPatternSetMapOutput() RegexPatternSetMapOutput
func (RegexPatternSetMapOutput) ToRegexPatternSetMapOutputWithContext ¶
func (o RegexPatternSetMapOutput) ToRegexPatternSetMapOutputWithContext(ctx context.Context) RegexPatternSetMapOutput
type RegexPatternSetOutput ¶
type RegexPatternSetOutput struct{ *pulumi.OutputState }
func (RegexPatternSetOutput) Arn ¶
func (o RegexPatternSetOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN)
func (RegexPatternSetOutput) ElementType ¶
func (RegexPatternSetOutput) ElementType() reflect.Type
func (RegexPatternSetOutput) Name ¶
func (o RegexPatternSetOutput) Name() pulumi.StringOutput
The name or description of the Regex Pattern Set.
func (RegexPatternSetOutput) RegexPatternStrings ¶
func (o RegexPatternSetOutput) RegexPatternStrings() pulumi.StringArrayOutput
A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`.
func (RegexPatternSetOutput) ToRegexPatternSetOutput ¶
func (o RegexPatternSetOutput) ToRegexPatternSetOutput() RegexPatternSetOutput
func (RegexPatternSetOutput) ToRegexPatternSetOutputWithContext ¶
func (o RegexPatternSetOutput) ToRegexPatternSetOutputWithContext(ctx context.Context) RegexPatternSetOutput
type RegexPatternSetState ¶
type RegexPatternSetState struct { // Amazon Resource Name (ARN) Arn pulumi.StringPtrInput // The name or description of the Regex Pattern Set. Name pulumi.StringPtrInput // A list of regular expression (regex) patterns that you want AWS WAF to search for, such as `B[a@]dB[o0]t`. RegexPatternStrings pulumi.StringArrayInput }
func (RegexPatternSetState) ElementType ¶
func (RegexPatternSetState) ElementType() reflect.Type
type Rule ¶
type Rule struct { pulumi.CustomResourceState // The ARN of the WAF rule. Arn pulumi.StringOutput `pulumi:"arn"` // The name or description for the Amazon CloudWatch metric of this rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. MetricName pulumi.StringOutput `pulumi:"metricName"` // The name or description of the rule. Name pulumi.StringOutput `pulumi:"name"` // The objects to include in a rule (documented below). Predicates RulePredicateArrayOutput `pulumi:"predicates"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a WAF Rule Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ipset, err := waf.NewIpSet(ctx, "ipset", &waf.IpSetArgs{ Name: pulumi.String("tfIPSet"), IpSetDescriptors: waf.IpSetIpSetDescriptorArray{ &waf.IpSetIpSetDescriptorArgs{ Type: pulumi.String("IPV4"), Value: pulumi.String("192.0.7.0/24"), }, }, }) if err != nil { return err } _, err = waf.NewRule(ctx, "wafrule", &waf.RuleArgs{ Name: pulumi.String("tfWAFRule"), MetricName: pulumi.String("tfWAFRule"), Predicates: waf.RulePredicateArray{ &waf.RulePredicateArgs{ DataId: ipset.ID(), Negated: pulumi.Bool(false), Type: pulumi.String("IPMatch"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ ipset, })) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF rules using the id. For example:
```sh $ pulumi import aws:waf/rule:Rule example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetRule ¶
func GetRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleState, opts ...pulumi.ResourceOption) (*Rule, error)
GetRule gets an existing Rule 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 NewRule ¶
func NewRule(ctx *pulumi.Context, name string, args *RuleArgs, opts ...pulumi.ResourceOption) (*Rule, error)
NewRule registers a new resource with the given unique name, arguments, and options.
func (*Rule) ElementType ¶
func (*Rule) ToRuleOutput ¶
func (i *Rule) ToRuleOutput() RuleOutput
func (*Rule) ToRuleOutputWithContext ¶
func (i *Rule) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RuleArgs ¶
type RuleArgs struct { // The name or description for the Amazon CloudWatch metric of this rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. MetricName pulumi.StringInput // The name or description of the rule. Name pulumi.StringPtrInput // The objects to include in a rule (documented below). Predicates RulePredicateArrayInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Rule resource.
func (RuleArgs) ElementType ¶
type RuleArray ¶
type RuleArray []RuleInput
func (RuleArray) ElementType ¶
func (RuleArray) ToRuleArrayOutput ¶
func (i RuleArray) ToRuleArrayOutput() RuleArrayOutput
func (RuleArray) ToRuleArrayOutputWithContext ¶
func (i RuleArray) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleArrayInput ¶
type RuleArrayInput interface { pulumi.Input ToRuleArrayOutput() RuleArrayOutput ToRuleArrayOutputWithContext(context.Context) RuleArrayOutput }
RuleArrayInput is an input type that accepts RuleArray and RuleArrayOutput values. You can construct a concrete instance of `RuleArrayInput` via:
RuleArray{ RuleArgs{...} }
type RuleArrayOutput ¶
type RuleArrayOutput struct{ *pulumi.OutputState }
func (RuleArrayOutput) ElementType ¶
func (RuleArrayOutput) ElementType() reflect.Type
func (RuleArrayOutput) Index ¶
func (o RuleArrayOutput) Index(i pulumi.IntInput) RuleOutput
func (RuleArrayOutput) ToRuleArrayOutput ¶
func (o RuleArrayOutput) ToRuleArrayOutput() RuleArrayOutput
func (RuleArrayOutput) ToRuleArrayOutputWithContext ¶
func (o RuleArrayOutput) ToRuleArrayOutputWithContext(ctx context.Context) RuleArrayOutput
type RuleGroup ¶
type RuleGroup struct { pulumi.CustomResourceState // A list of activated rules, see below ActivatedRules RuleGroupActivatedRuleArrayOutput `pulumi:"activatedRules"` // The ARN of the WAF rule group. Arn pulumi.StringOutput `pulumi:"arn"` // A friendly name for the metrics from the rule group MetricName pulumi.StringOutput `pulumi:"metricName"` // Name of the rule group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a WAF Rule Group Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := waf.NewRule(ctx, "example", &waf.RuleArgs{ Name: pulumi.String("example"), MetricName: pulumi.String("example"), }) if err != nil { return err } _, err = waf.NewRuleGroup(ctx, "example", &waf.RuleGroupArgs{ Name: pulumi.String("example"), MetricName: pulumi.String("example"), ActivatedRules: waf.RuleGroupActivatedRuleArray{ &waf.RuleGroupActivatedRuleArgs{ Action: &waf.RuleGroupActivatedRuleActionArgs{ Type: pulumi.String("COUNT"), }, Priority: pulumi.Int(50), RuleId: example.ID(), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF Rule Group using the id. For example:
```sh $ pulumi import aws:waf/ruleGroup:RuleGroup example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetRuleGroup ¶
func GetRuleGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuleGroupState, opts ...pulumi.ResourceOption) (*RuleGroup, error)
GetRuleGroup gets an existing RuleGroup 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 NewRuleGroup ¶
func NewRuleGroup(ctx *pulumi.Context, name string, args *RuleGroupArgs, opts ...pulumi.ResourceOption) (*RuleGroup, error)
NewRuleGroup registers a new resource with the given unique name, arguments, and options.
func (*RuleGroup) ElementType ¶
func (*RuleGroup) ToRuleGroupOutput ¶
func (i *RuleGroup) ToRuleGroupOutput() RuleGroupOutput
func (*RuleGroup) ToRuleGroupOutputWithContext ¶
func (i *RuleGroup) ToRuleGroupOutputWithContext(ctx context.Context) RuleGroupOutput
type RuleGroupActivatedRule ¶
type RuleGroupActivatedRule struct { Action RuleGroupActivatedRuleAction `pulumi:"action"` Priority int `pulumi:"priority"` RuleId string `pulumi:"ruleId"` Type *string `pulumi:"type"` }
type RuleGroupActivatedRuleAction ¶
type RuleGroupActivatedRuleAction struct {
Type string `pulumi:"type"`
}
type RuleGroupActivatedRuleActionArgs ¶
type RuleGroupActivatedRuleActionArgs struct {
Type pulumi.StringInput `pulumi:"type"`
}
func (RuleGroupActivatedRuleActionArgs) ElementType ¶
func (RuleGroupActivatedRuleActionArgs) ElementType() reflect.Type
func (RuleGroupActivatedRuleActionArgs) ToRuleGroupActivatedRuleActionOutput ¶
func (i RuleGroupActivatedRuleActionArgs) ToRuleGroupActivatedRuleActionOutput() RuleGroupActivatedRuleActionOutput
func (RuleGroupActivatedRuleActionArgs) ToRuleGroupActivatedRuleActionOutputWithContext ¶
func (i RuleGroupActivatedRuleActionArgs) ToRuleGroupActivatedRuleActionOutputWithContext(ctx context.Context) RuleGroupActivatedRuleActionOutput
type RuleGroupActivatedRuleActionInput ¶
type RuleGroupActivatedRuleActionInput interface { pulumi.Input ToRuleGroupActivatedRuleActionOutput() RuleGroupActivatedRuleActionOutput ToRuleGroupActivatedRuleActionOutputWithContext(context.Context) RuleGroupActivatedRuleActionOutput }
RuleGroupActivatedRuleActionInput is an input type that accepts RuleGroupActivatedRuleActionArgs and RuleGroupActivatedRuleActionOutput values. You can construct a concrete instance of `RuleGroupActivatedRuleActionInput` via:
RuleGroupActivatedRuleActionArgs{...}
type RuleGroupActivatedRuleActionOutput ¶
type RuleGroupActivatedRuleActionOutput struct{ *pulumi.OutputState }
func (RuleGroupActivatedRuleActionOutput) ElementType ¶
func (RuleGroupActivatedRuleActionOutput) ElementType() reflect.Type
func (RuleGroupActivatedRuleActionOutput) ToRuleGroupActivatedRuleActionOutput ¶
func (o RuleGroupActivatedRuleActionOutput) ToRuleGroupActivatedRuleActionOutput() RuleGroupActivatedRuleActionOutput
func (RuleGroupActivatedRuleActionOutput) ToRuleGroupActivatedRuleActionOutputWithContext ¶
func (o RuleGroupActivatedRuleActionOutput) ToRuleGroupActivatedRuleActionOutputWithContext(ctx context.Context) RuleGroupActivatedRuleActionOutput
func (RuleGroupActivatedRuleActionOutput) Type ¶
func (o RuleGroupActivatedRuleActionOutput) Type() pulumi.StringOutput
type RuleGroupActivatedRuleArgs ¶
type RuleGroupActivatedRuleArgs struct { Action RuleGroupActivatedRuleActionInput `pulumi:"action"` Priority pulumi.IntInput `pulumi:"priority"` RuleId pulumi.StringInput `pulumi:"ruleId"` Type pulumi.StringPtrInput `pulumi:"type"` }
func (RuleGroupActivatedRuleArgs) ElementType ¶
func (RuleGroupActivatedRuleArgs) ElementType() reflect.Type
func (RuleGroupActivatedRuleArgs) ToRuleGroupActivatedRuleOutput ¶
func (i RuleGroupActivatedRuleArgs) ToRuleGroupActivatedRuleOutput() RuleGroupActivatedRuleOutput
func (RuleGroupActivatedRuleArgs) ToRuleGroupActivatedRuleOutputWithContext ¶
func (i RuleGroupActivatedRuleArgs) ToRuleGroupActivatedRuleOutputWithContext(ctx context.Context) RuleGroupActivatedRuleOutput
type RuleGroupActivatedRuleArray ¶
type RuleGroupActivatedRuleArray []RuleGroupActivatedRuleInput
func (RuleGroupActivatedRuleArray) ElementType ¶
func (RuleGroupActivatedRuleArray) ElementType() reflect.Type
func (RuleGroupActivatedRuleArray) ToRuleGroupActivatedRuleArrayOutput ¶
func (i RuleGroupActivatedRuleArray) ToRuleGroupActivatedRuleArrayOutput() RuleGroupActivatedRuleArrayOutput
func (RuleGroupActivatedRuleArray) ToRuleGroupActivatedRuleArrayOutputWithContext ¶
func (i RuleGroupActivatedRuleArray) ToRuleGroupActivatedRuleArrayOutputWithContext(ctx context.Context) RuleGroupActivatedRuleArrayOutput
type RuleGroupActivatedRuleArrayInput ¶
type RuleGroupActivatedRuleArrayInput interface { pulumi.Input ToRuleGroupActivatedRuleArrayOutput() RuleGroupActivatedRuleArrayOutput ToRuleGroupActivatedRuleArrayOutputWithContext(context.Context) RuleGroupActivatedRuleArrayOutput }
RuleGroupActivatedRuleArrayInput is an input type that accepts RuleGroupActivatedRuleArray and RuleGroupActivatedRuleArrayOutput values. You can construct a concrete instance of `RuleGroupActivatedRuleArrayInput` via:
RuleGroupActivatedRuleArray{ RuleGroupActivatedRuleArgs{...} }
type RuleGroupActivatedRuleArrayOutput ¶
type RuleGroupActivatedRuleArrayOutput struct{ *pulumi.OutputState }
func (RuleGroupActivatedRuleArrayOutput) ElementType ¶
func (RuleGroupActivatedRuleArrayOutput) ElementType() reflect.Type
func (RuleGroupActivatedRuleArrayOutput) Index ¶
func (o RuleGroupActivatedRuleArrayOutput) Index(i pulumi.IntInput) RuleGroupActivatedRuleOutput
func (RuleGroupActivatedRuleArrayOutput) ToRuleGroupActivatedRuleArrayOutput ¶
func (o RuleGroupActivatedRuleArrayOutput) ToRuleGroupActivatedRuleArrayOutput() RuleGroupActivatedRuleArrayOutput
func (RuleGroupActivatedRuleArrayOutput) ToRuleGroupActivatedRuleArrayOutputWithContext ¶
func (o RuleGroupActivatedRuleArrayOutput) ToRuleGroupActivatedRuleArrayOutputWithContext(ctx context.Context) RuleGroupActivatedRuleArrayOutput
type RuleGroupActivatedRuleInput ¶
type RuleGroupActivatedRuleInput interface { pulumi.Input ToRuleGroupActivatedRuleOutput() RuleGroupActivatedRuleOutput ToRuleGroupActivatedRuleOutputWithContext(context.Context) RuleGroupActivatedRuleOutput }
RuleGroupActivatedRuleInput is an input type that accepts RuleGroupActivatedRuleArgs and RuleGroupActivatedRuleOutput values. You can construct a concrete instance of `RuleGroupActivatedRuleInput` via:
RuleGroupActivatedRuleArgs{...}
type RuleGroupActivatedRuleOutput ¶
type RuleGroupActivatedRuleOutput struct{ *pulumi.OutputState }
func (RuleGroupActivatedRuleOutput) Action ¶
func (o RuleGroupActivatedRuleOutput) Action() RuleGroupActivatedRuleActionOutput
func (RuleGroupActivatedRuleOutput) ElementType ¶
func (RuleGroupActivatedRuleOutput) ElementType() reflect.Type
func (RuleGroupActivatedRuleOutput) Priority ¶
func (o RuleGroupActivatedRuleOutput) Priority() pulumi.IntOutput
func (RuleGroupActivatedRuleOutput) RuleId ¶
func (o RuleGroupActivatedRuleOutput) RuleId() pulumi.StringOutput
func (RuleGroupActivatedRuleOutput) ToRuleGroupActivatedRuleOutput ¶
func (o RuleGroupActivatedRuleOutput) ToRuleGroupActivatedRuleOutput() RuleGroupActivatedRuleOutput
func (RuleGroupActivatedRuleOutput) ToRuleGroupActivatedRuleOutputWithContext ¶
func (o RuleGroupActivatedRuleOutput) ToRuleGroupActivatedRuleOutputWithContext(ctx context.Context) RuleGroupActivatedRuleOutput
func (RuleGroupActivatedRuleOutput) Type ¶
func (o RuleGroupActivatedRuleOutput) Type() pulumi.StringPtrOutput
type RuleGroupArgs ¶
type RuleGroupArgs struct { // A list of activated rules, see below ActivatedRules RuleGroupActivatedRuleArrayInput // A friendly name for the metrics from the rule group MetricName pulumi.StringInput // Name of the rule group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a RuleGroup resource.
func (RuleGroupArgs) ElementType ¶
func (RuleGroupArgs) ElementType() reflect.Type
type RuleGroupArray ¶
type RuleGroupArray []RuleGroupInput
func (RuleGroupArray) ElementType ¶
func (RuleGroupArray) ElementType() reflect.Type
func (RuleGroupArray) ToRuleGroupArrayOutput ¶
func (i RuleGroupArray) ToRuleGroupArrayOutput() RuleGroupArrayOutput
func (RuleGroupArray) ToRuleGroupArrayOutputWithContext ¶
func (i RuleGroupArray) ToRuleGroupArrayOutputWithContext(ctx context.Context) RuleGroupArrayOutput
type RuleGroupArrayInput ¶
type RuleGroupArrayInput interface { pulumi.Input ToRuleGroupArrayOutput() RuleGroupArrayOutput ToRuleGroupArrayOutputWithContext(context.Context) RuleGroupArrayOutput }
RuleGroupArrayInput is an input type that accepts RuleGroupArray and RuleGroupArrayOutput values. You can construct a concrete instance of `RuleGroupArrayInput` via:
RuleGroupArray{ RuleGroupArgs{...} }
type RuleGroupArrayOutput ¶
type RuleGroupArrayOutput struct{ *pulumi.OutputState }
func (RuleGroupArrayOutput) ElementType ¶
func (RuleGroupArrayOutput) ElementType() reflect.Type
func (RuleGroupArrayOutput) Index ¶
func (o RuleGroupArrayOutput) Index(i pulumi.IntInput) RuleGroupOutput
func (RuleGroupArrayOutput) ToRuleGroupArrayOutput ¶
func (o RuleGroupArrayOutput) ToRuleGroupArrayOutput() RuleGroupArrayOutput
func (RuleGroupArrayOutput) ToRuleGroupArrayOutputWithContext ¶
func (o RuleGroupArrayOutput) ToRuleGroupArrayOutputWithContext(ctx context.Context) RuleGroupArrayOutput
type RuleGroupInput ¶
type RuleGroupInput interface { pulumi.Input ToRuleGroupOutput() RuleGroupOutput ToRuleGroupOutputWithContext(ctx context.Context) RuleGroupOutput }
type RuleGroupMap ¶
type RuleGroupMap map[string]RuleGroupInput
func (RuleGroupMap) ElementType ¶
func (RuleGroupMap) ElementType() reflect.Type
func (RuleGroupMap) ToRuleGroupMapOutput ¶
func (i RuleGroupMap) ToRuleGroupMapOutput() RuleGroupMapOutput
func (RuleGroupMap) ToRuleGroupMapOutputWithContext ¶
func (i RuleGroupMap) ToRuleGroupMapOutputWithContext(ctx context.Context) RuleGroupMapOutput
type RuleGroupMapInput ¶
type RuleGroupMapInput interface { pulumi.Input ToRuleGroupMapOutput() RuleGroupMapOutput ToRuleGroupMapOutputWithContext(context.Context) RuleGroupMapOutput }
RuleGroupMapInput is an input type that accepts RuleGroupMap and RuleGroupMapOutput values. You can construct a concrete instance of `RuleGroupMapInput` via:
RuleGroupMap{ "key": RuleGroupArgs{...} }
type RuleGroupMapOutput ¶
type RuleGroupMapOutput struct{ *pulumi.OutputState }
func (RuleGroupMapOutput) ElementType ¶
func (RuleGroupMapOutput) ElementType() reflect.Type
func (RuleGroupMapOutput) MapIndex ¶
func (o RuleGroupMapOutput) MapIndex(k pulumi.StringInput) RuleGroupOutput
func (RuleGroupMapOutput) ToRuleGroupMapOutput ¶
func (o RuleGroupMapOutput) ToRuleGroupMapOutput() RuleGroupMapOutput
func (RuleGroupMapOutput) ToRuleGroupMapOutputWithContext ¶
func (o RuleGroupMapOutput) ToRuleGroupMapOutputWithContext(ctx context.Context) RuleGroupMapOutput
type RuleGroupOutput ¶
type RuleGroupOutput struct{ *pulumi.OutputState }
func (RuleGroupOutput) ActivatedRules ¶
func (o RuleGroupOutput) ActivatedRules() RuleGroupActivatedRuleArrayOutput
A list of activated rules, see below
func (RuleGroupOutput) Arn ¶
func (o RuleGroupOutput) Arn() pulumi.StringOutput
The ARN of the WAF rule group.
func (RuleGroupOutput) ElementType ¶
func (RuleGroupOutput) ElementType() reflect.Type
func (RuleGroupOutput) MetricName ¶
func (o RuleGroupOutput) MetricName() pulumi.StringOutput
A friendly name for the metrics from the rule group
func (RuleGroupOutput) Name ¶
func (o RuleGroupOutput) Name() pulumi.StringOutput
Name of the rule group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (RuleGroupOutput) Tags ¶
func (o RuleGroupOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (RuleGroupOutput) TagsAll
deprecated
func (o RuleGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (RuleGroupOutput) ToRuleGroupOutput ¶
func (o RuleGroupOutput) ToRuleGroupOutput() RuleGroupOutput
func (RuleGroupOutput) ToRuleGroupOutputWithContext ¶
func (o RuleGroupOutput) ToRuleGroupOutputWithContext(ctx context.Context) RuleGroupOutput
type RuleGroupState ¶
type RuleGroupState struct { // A list of activated rules, see below ActivatedRules RuleGroupActivatedRuleArrayInput // The ARN of the WAF rule group. Arn pulumi.StringPtrInput // A friendly name for the metrics from the rule group MetricName pulumi.StringPtrInput // Name of the rule group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (RuleGroupState) ElementType ¶
func (RuleGroupState) ElementType() reflect.Type
type RuleInput ¶
type RuleInput interface { pulumi.Input ToRuleOutput() RuleOutput ToRuleOutputWithContext(ctx context.Context) RuleOutput }
type RuleMap ¶
func (RuleMap) ElementType ¶
func (RuleMap) ToRuleMapOutput ¶
func (i RuleMap) ToRuleMapOutput() RuleMapOutput
func (RuleMap) ToRuleMapOutputWithContext ¶
func (i RuleMap) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleMapInput ¶
type RuleMapInput interface { pulumi.Input ToRuleMapOutput() RuleMapOutput ToRuleMapOutputWithContext(context.Context) RuleMapOutput }
RuleMapInput is an input type that accepts RuleMap and RuleMapOutput values. You can construct a concrete instance of `RuleMapInput` via:
RuleMap{ "key": RuleArgs{...} }
type RuleMapOutput ¶
type RuleMapOutput struct{ *pulumi.OutputState }
func (RuleMapOutput) ElementType ¶
func (RuleMapOutput) ElementType() reflect.Type
func (RuleMapOutput) MapIndex ¶
func (o RuleMapOutput) MapIndex(k pulumi.StringInput) RuleOutput
func (RuleMapOutput) ToRuleMapOutput ¶
func (o RuleMapOutput) ToRuleMapOutput() RuleMapOutput
func (RuleMapOutput) ToRuleMapOutputWithContext ¶
func (o RuleMapOutput) ToRuleMapOutputWithContext(ctx context.Context) RuleMapOutput
type RuleOutput ¶
type RuleOutput struct{ *pulumi.OutputState }
func (RuleOutput) ElementType ¶
func (RuleOutput) ElementType() reflect.Type
func (RuleOutput) MetricName ¶
func (o RuleOutput) MetricName() pulumi.StringOutput
The name or description for the Amazon CloudWatch metric of this rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace.
func (RuleOutput) Name ¶
func (o RuleOutput) Name() pulumi.StringOutput
The name or description of the rule.
func (RuleOutput) Predicates ¶
func (o RuleOutput) Predicates() RulePredicateArrayOutput
The objects to include in a rule (documented below).
func (RuleOutput) Tags ¶
func (o RuleOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (RuleOutput) TagsAll
deprecated
func (o RuleOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (RuleOutput) ToRuleOutput ¶
func (o RuleOutput) ToRuleOutput() RuleOutput
func (RuleOutput) ToRuleOutputWithContext ¶
func (o RuleOutput) ToRuleOutputWithContext(ctx context.Context) RuleOutput
type RulePredicate ¶
type RulePredicateArgs ¶
type RulePredicateArgs struct { DataId pulumi.StringInput `pulumi:"dataId"` Negated pulumi.BoolInput `pulumi:"negated"` Type pulumi.StringInput `pulumi:"type"` }
func (RulePredicateArgs) ElementType ¶
func (RulePredicateArgs) ElementType() reflect.Type
func (RulePredicateArgs) ToRulePredicateOutput ¶
func (i RulePredicateArgs) ToRulePredicateOutput() RulePredicateOutput
func (RulePredicateArgs) ToRulePredicateOutputWithContext ¶
func (i RulePredicateArgs) ToRulePredicateOutputWithContext(ctx context.Context) RulePredicateOutput
type RulePredicateArray ¶
type RulePredicateArray []RulePredicateInput
func (RulePredicateArray) ElementType ¶
func (RulePredicateArray) ElementType() reflect.Type
func (RulePredicateArray) ToRulePredicateArrayOutput ¶
func (i RulePredicateArray) ToRulePredicateArrayOutput() RulePredicateArrayOutput
func (RulePredicateArray) ToRulePredicateArrayOutputWithContext ¶
func (i RulePredicateArray) ToRulePredicateArrayOutputWithContext(ctx context.Context) RulePredicateArrayOutput
type RulePredicateArrayInput ¶
type RulePredicateArrayInput interface { pulumi.Input ToRulePredicateArrayOutput() RulePredicateArrayOutput ToRulePredicateArrayOutputWithContext(context.Context) RulePredicateArrayOutput }
RulePredicateArrayInput is an input type that accepts RulePredicateArray and RulePredicateArrayOutput values. You can construct a concrete instance of `RulePredicateArrayInput` via:
RulePredicateArray{ RulePredicateArgs{...} }
type RulePredicateArrayOutput ¶
type RulePredicateArrayOutput struct{ *pulumi.OutputState }
func (RulePredicateArrayOutput) ElementType ¶
func (RulePredicateArrayOutput) ElementType() reflect.Type
func (RulePredicateArrayOutput) Index ¶
func (o RulePredicateArrayOutput) Index(i pulumi.IntInput) RulePredicateOutput
func (RulePredicateArrayOutput) ToRulePredicateArrayOutput ¶
func (o RulePredicateArrayOutput) ToRulePredicateArrayOutput() RulePredicateArrayOutput
func (RulePredicateArrayOutput) ToRulePredicateArrayOutputWithContext ¶
func (o RulePredicateArrayOutput) ToRulePredicateArrayOutputWithContext(ctx context.Context) RulePredicateArrayOutput
type RulePredicateInput ¶
type RulePredicateInput interface { pulumi.Input ToRulePredicateOutput() RulePredicateOutput ToRulePredicateOutputWithContext(context.Context) RulePredicateOutput }
RulePredicateInput is an input type that accepts RulePredicateArgs and RulePredicateOutput values. You can construct a concrete instance of `RulePredicateInput` via:
RulePredicateArgs{...}
type RulePredicateOutput ¶
type RulePredicateOutput struct{ *pulumi.OutputState }
func (RulePredicateOutput) DataId ¶
func (o RulePredicateOutput) DataId() pulumi.StringOutput
func (RulePredicateOutput) ElementType ¶
func (RulePredicateOutput) ElementType() reflect.Type
func (RulePredicateOutput) Negated ¶
func (o RulePredicateOutput) Negated() pulumi.BoolOutput
func (RulePredicateOutput) ToRulePredicateOutput ¶
func (o RulePredicateOutput) ToRulePredicateOutput() RulePredicateOutput
func (RulePredicateOutput) ToRulePredicateOutputWithContext ¶
func (o RulePredicateOutput) ToRulePredicateOutputWithContext(ctx context.Context) RulePredicateOutput
func (RulePredicateOutput) Type ¶
func (o RulePredicateOutput) Type() pulumi.StringOutput
type RuleState ¶
type RuleState struct { // The ARN of the WAF rule. Arn pulumi.StringPtrInput // The name or description for the Amazon CloudWatch metric of this rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. MetricName pulumi.StringPtrInput // The name or description of the rule. Name pulumi.StringPtrInput // The objects to include in a rule (documented below). Predicates RulePredicateArrayInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (RuleState) ElementType ¶
type SizeConstraintSet ¶
type SizeConstraintSet struct { pulumi.CustomResourceState // Amazon Resource Name (ARN). Arn pulumi.StringOutput `pulumi:"arn"` // Name or description of the Size Constraint Set. Name pulumi.StringOutput `pulumi:"name"` // Parts of web requests that you want to inspect the size of. SizeConstraints SizeConstraintSetSizeConstraintArrayOutput `pulumi:"sizeConstraints"` }
Use the `waf.SizeConstraintSet` resource to manage WAF size constraint sets.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewSizeConstraintSet(ctx, "size_constraint_set", &waf.SizeConstraintSetArgs{ Name: pulumi.String("tfsize_constraints"), SizeConstraints: waf.SizeConstraintSetSizeConstraintArray{ &waf.SizeConstraintSetSizeConstraintArgs{ TextTransformation: pulumi.String("NONE"), ComparisonOperator: pulumi.String("EQ"), Size: pulumi.Int(4096), FieldToMatch: &waf.SizeConstraintSetSizeConstraintFieldToMatchArgs{ Type: pulumi.String("BODY"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import AWS WAF Size Constraint Set using their ID. For example:
```sh $ pulumi import aws:waf/sizeConstraintSet:SizeConstraintSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetSizeConstraintSet ¶
func GetSizeConstraintSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SizeConstraintSetState, opts ...pulumi.ResourceOption) (*SizeConstraintSet, error)
GetSizeConstraintSet gets an existing SizeConstraintSet 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 NewSizeConstraintSet ¶
func NewSizeConstraintSet(ctx *pulumi.Context, name string, args *SizeConstraintSetArgs, opts ...pulumi.ResourceOption) (*SizeConstraintSet, error)
NewSizeConstraintSet registers a new resource with the given unique name, arguments, and options.
func (*SizeConstraintSet) ElementType ¶
func (*SizeConstraintSet) ElementType() reflect.Type
func (*SizeConstraintSet) ToSizeConstraintSetOutput ¶
func (i *SizeConstraintSet) ToSizeConstraintSetOutput() SizeConstraintSetOutput
func (*SizeConstraintSet) ToSizeConstraintSetOutputWithContext ¶
func (i *SizeConstraintSet) ToSizeConstraintSetOutputWithContext(ctx context.Context) SizeConstraintSetOutput
type SizeConstraintSetArgs ¶
type SizeConstraintSetArgs struct { // Name or description of the Size Constraint Set. Name pulumi.StringPtrInput // Parts of web requests that you want to inspect the size of. SizeConstraints SizeConstraintSetSizeConstraintArrayInput }
The set of arguments for constructing a SizeConstraintSet resource.
func (SizeConstraintSetArgs) ElementType ¶
func (SizeConstraintSetArgs) ElementType() reflect.Type
type SizeConstraintSetArray ¶
type SizeConstraintSetArray []SizeConstraintSetInput
func (SizeConstraintSetArray) ElementType ¶
func (SizeConstraintSetArray) ElementType() reflect.Type
func (SizeConstraintSetArray) ToSizeConstraintSetArrayOutput ¶
func (i SizeConstraintSetArray) ToSizeConstraintSetArrayOutput() SizeConstraintSetArrayOutput
func (SizeConstraintSetArray) ToSizeConstraintSetArrayOutputWithContext ¶
func (i SizeConstraintSetArray) ToSizeConstraintSetArrayOutputWithContext(ctx context.Context) SizeConstraintSetArrayOutput
type SizeConstraintSetArrayInput ¶
type SizeConstraintSetArrayInput interface { pulumi.Input ToSizeConstraintSetArrayOutput() SizeConstraintSetArrayOutput ToSizeConstraintSetArrayOutputWithContext(context.Context) SizeConstraintSetArrayOutput }
SizeConstraintSetArrayInput is an input type that accepts SizeConstraintSetArray and SizeConstraintSetArrayOutput values. You can construct a concrete instance of `SizeConstraintSetArrayInput` via:
SizeConstraintSetArray{ SizeConstraintSetArgs{...} }
type SizeConstraintSetArrayOutput ¶
type SizeConstraintSetArrayOutput struct{ *pulumi.OutputState }
func (SizeConstraintSetArrayOutput) ElementType ¶
func (SizeConstraintSetArrayOutput) ElementType() reflect.Type
func (SizeConstraintSetArrayOutput) Index ¶
func (o SizeConstraintSetArrayOutput) Index(i pulumi.IntInput) SizeConstraintSetOutput
func (SizeConstraintSetArrayOutput) ToSizeConstraintSetArrayOutput ¶
func (o SizeConstraintSetArrayOutput) ToSizeConstraintSetArrayOutput() SizeConstraintSetArrayOutput
func (SizeConstraintSetArrayOutput) ToSizeConstraintSetArrayOutputWithContext ¶
func (o SizeConstraintSetArrayOutput) ToSizeConstraintSetArrayOutputWithContext(ctx context.Context) SizeConstraintSetArrayOutput
type SizeConstraintSetInput ¶
type SizeConstraintSetInput interface { pulumi.Input ToSizeConstraintSetOutput() SizeConstraintSetOutput ToSizeConstraintSetOutputWithContext(ctx context.Context) SizeConstraintSetOutput }
type SizeConstraintSetMap ¶
type SizeConstraintSetMap map[string]SizeConstraintSetInput
func (SizeConstraintSetMap) ElementType ¶
func (SizeConstraintSetMap) ElementType() reflect.Type
func (SizeConstraintSetMap) ToSizeConstraintSetMapOutput ¶
func (i SizeConstraintSetMap) ToSizeConstraintSetMapOutput() SizeConstraintSetMapOutput
func (SizeConstraintSetMap) ToSizeConstraintSetMapOutputWithContext ¶
func (i SizeConstraintSetMap) ToSizeConstraintSetMapOutputWithContext(ctx context.Context) SizeConstraintSetMapOutput
type SizeConstraintSetMapInput ¶
type SizeConstraintSetMapInput interface { pulumi.Input ToSizeConstraintSetMapOutput() SizeConstraintSetMapOutput ToSizeConstraintSetMapOutputWithContext(context.Context) SizeConstraintSetMapOutput }
SizeConstraintSetMapInput is an input type that accepts SizeConstraintSetMap and SizeConstraintSetMapOutput values. You can construct a concrete instance of `SizeConstraintSetMapInput` via:
SizeConstraintSetMap{ "key": SizeConstraintSetArgs{...} }
type SizeConstraintSetMapOutput ¶
type SizeConstraintSetMapOutput struct{ *pulumi.OutputState }
func (SizeConstraintSetMapOutput) ElementType ¶
func (SizeConstraintSetMapOutput) ElementType() reflect.Type
func (SizeConstraintSetMapOutput) MapIndex ¶
func (o SizeConstraintSetMapOutput) MapIndex(k pulumi.StringInput) SizeConstraintSetOutput
func (SizeConstraintSetMapOutput) ToSizeConstraintSetMapOutput ¶
func (o SizeConstraintSetMapOutput) ToSizeConstraintSetMapOutput() SizeConstraintSetMapOutput
func (SizeConstraintSetMapOutput) ToSizeConstraintSetMapOutputWithContext ¶
func (o SizeConstraintSetMapOutput) ToSizeConstraintSetMapOutputWithContext(ctx context.Context) SizeConstraintSetMapOutput
type SizeConstraintSetOutput ¶
type SizeConstraintSetOutput struct{ *pulumi.OutputState }
func (SizeConstraintSetOutput) Arn ¶
func (o SizeConstraintSetOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN).
func (SizeConstraintSetOutput) ElementType ¶
func (SizeConstraintSetOutput) ElementType() reflect.Type
func (SizeConstraintSetOutput) Name ¶
func (o SizeConstraintSetOutput) Name() pulumi.StringOutput
Name or description of the Size Constraint Set.
func (SizeConstraintSetOutput) SizeConstraints ¶
func (o SizeConstraintSetOutput) SizeConstraints() SizeConstraintSetSizeConstraintArrayOutput
Parts of web requests that you want to inspect the size of.
func (SizeConstraintSetOutput) ToSizeConstraintSetOutput ¶
func (o SizeConstraintSetOutput) ToSizeConstraintSetOutput() SizeConstraintSetOutput
func (SizeConstraintSetOutput) ToSizeConstraintSetOutputWithContext ¶
func (o SizeConstraintSetOutput) ToSizeConstraintSetOutputWithContext(ctx context.Context) SizeConstraintSetOutput
type SizeConstraintSetSizeConstraint ¶
type SizeConstraintSetSizeConstraint struct { ComparisonOperator string `pulumi:"comparisonOperator"` FieldToMatch SizeConstraintSetSizeConstraintFieldToMatch `pulumi:"fieldToMatch"` Size int `pulumi:"size"` TextTransformation string `pulumi:"textTransformation"` }
type SizeConstraintSetSizeConstraintArgs ¶
type SizeConstraintSetSizeConstraintArgs struct { ComparisonOperator pulumi.StringInput `pulumi:"comparisonOperator"` FieldToMatch SizeConstraintSetSizeConstraintFieldToMatchInput `pulumi:"fieldToMatch"` Size pulumi.IntInput `pulumi:"size"` TextTransformation pulumi.StringInput `pulumi:"textTransformation"` }
func (SizeConstraintSetSizeConstraintArgs) ElementType ¶
func (SizeConstraintSetSizeConstraintArgs) ElementType() reflect.Type
func (SizeConstraintSetSizeConstraintArgs) ToSizeConstraintSetSizeConstraintOutput ¶
func (i SizeConstraintSetSizeConstraintArgs) ToSizeConstraintSetSizeConstraintOutput() SizeConstraintSetSizeConstraintOutput
func (SizeConstraintSetSizeConstraintArgs) ToSizeConstraintSetSizeConstraintOutputWithContext ¶
func (i SizeConstraintSetSizeConstraintArgs) ToSizeConstraintSetSizeConstraintOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintOutput
type SizeConstraintSetSizeConstraintArray ¶
type SizeConstraintSetSizeConstraintArray []SizeConstraintSetSizeConstraintInput
func (SizeConstraintSetSizeConstraintArray) ElementType ¶
func (SizeConstraintSetSizeConstraintArray) ElementType() reflect.Type
func (SizeConstraintSetSizeConstraintArray) ToSizeConstraintSetSizeConstraintArrayOutput ¶
func (i SizeConstraintSetSizeConstraintArray) ToSizeConstraintSetSizeConstraintArrayOutput() SizeConstraintSetSizeConstraintArrayOutput
func (SizeConstraintSetSizeConstraintArray) ToSizeConstraintSetSizeConstraintArrayOutputWithContext ¶
func (i SizeConstraintSetSizeConstraintArray) ToSizeConstraintSetSizeConstraintArrayOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintArrayOutput
type SizeConstraintSetSizeConstraintArrayInput ¶
type SizeConstraintSetSizeConstraintArrayInput interface { pulumi.Input ToSizeConstraintSetSizeConstraintArrayOutput() SizeConstraintSetSizeConstraintArrayOutput ToSizeConstraintSetSizeConstraintArrayOutputWithContext(context.Context) SizeConstraintSetSizeConstraintArrayOutput }
SizeConstraintSetSizeConstraintArrayInput is an input type that accepts SizeConstraintSetSizeConstraintArray and SizeConstraintSetSizeConstraintArrayOutput values. You can construct a concrete instance of `SizeConstraintSetSizeConstraintArrayInput` via:
SizeConstraintSetSizeConstraintArray{ SizeConstraintSetSizeConstraintArgs{...} }
type SizeConstraintSetSizeConstraintArrayOutput ¶
type SizeConstraintSetSizeConstraintArrayOutput struct{ *pulumi.OutputState }
func (SizeConstraintSetSizeConstraintArrayOutput) ElementType ¶
func (SizeConstraintSetSizeConstraintArrayOutput) ElementType() reflect.Type
func (SizeConstraintSetSizeConstraintArrayOutput) ToSizeConstraintSetSizeConstraintArrayOutput ¶
func (o SizeConstraintSetSizeConstraintArrayOutput) ToSizeConstraintSetSizeConstraintArrayOutput() SizeConstraintSetSizeConstraintArrayOutput
func (SizeConstraintSetSizeConstraintArrayOutput) ToSizeConstraintSetSizeConstraintArrayOutputWithContext ¶
func (o SizeConstraintSetSizeConstraintArrayOutput) ToSizeConstraintSetSizeConstraintArrayOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintArrayOutput
type SizeConstraintSetSizeConstraintFieldToMatchArgs ¶
type SizeConstraintSetSizeConstraintFieldToMatchArgs struct { Data pulumi.StringPtrInput `pulumi:"data"` Type pulumi.StringInput `pulumi:"type"` }
func (SizeConstraintSetSizeConstraintFieldToMatchArgs) ElementType ¶
func (SizeConstraintSetSizeConstraintFieldToMatchArgs) ElementType() reflect.Type
func (SizeConstraintSetSizeConstraintFieldToMatchArgs) ToSizeConstraintSetSizeConstraintFieldToMatchOutput ¶
func (i SizeConstraintSetSizeConstraintFieldToMatchArgs) ToSizeConstraintSetSizeConstraintFieldToMatchOutput() SizeConstraintSetSizeConstraintFieldToMatchOutput
func (SizeConstraintSetSizeConstraintFieldToMatchArgs) ToSizeConstraintSetSizeConstraintFieldToMatchOutputWithContext ¶
func (i SizeConstraintSetSizeConstraintFieldToMatchArgs) ToSizeConstraintSetSizeConstraintFieldToMatchOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintFieldToMatchOutput
type SizeConstraintSetSizeConstraintFieldToMatchInput ¶
type SizeConstraintSetSizeConstraintFieldToMatchInput interface { pulumi.Input ToSizeConstraintSetSizeConstraintFieldToMatchOutput() SizeConstraintSetSizeConstraintFieldToMatchOutput ToSizeConstraintSetSizeConstraintFieldToMatchOutputWithContext(context.Context) SizeConstraintSetSizeConstraintFieldToMatchOutput }
SizeConstraintSetSizeConstraintFieldToMatchInput is an input type that accepts SizeConstraintSetSizeConstraintFieldToMatchArgs and SizeConstraintSetSizeConstraintFieldToMatchOutput values. You can construct a concrete instance of `SizeConstraintSetSizeConstraintFieldToMatchInput` via:
SizeConstraintSetSizeConstraintFieldToMatchArgs{...}
type SizeConstraintSetSizeConstraintFieldToMatchOutput ¶
type SizeConstraintSetSizeConstraintFieldToMatchOutput struct{ *pulumi.OutputState }
func (SizeConstraintSetSizeConstraintFieldToMatchOutput) Data ¶
func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) Data() pulumi.StringPtrOutput
func (SizeConstraintSetSizeConstraintFieldToMatchOutput) ElementType ¶
func (SizeConstraintSetSizeConstraintFieldToMatchOutput) ElementType() reflect.Type
func (SizeConstraintSetSizeConstraintFieldToMatchOutput) ToSizeConstraintSetSizeConstraintFieldToMatchOutput ¶
func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) ToSizeConstraintSetSizeConstraintFieldToMatchOutput() SizeConstraintSetSizeConstraintFieldToMatchOutput
func (SizeConstraintSetSizeConstraintFieldToMatchOutput) ToSizeConstraintSetSizeConstraintFieldToMatchOutputWithContext ¶
func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) ToSizeConstraintSetSizeConstraintFieldToMatchOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintFieldToMatchOutput
func (SizeConstraintSetSizeConstraintFieldToMatchOutput) Type ¶
func (o SizeConstraintSetSizeConstraintFieldToMatchOutput) Type() pulumi.StringOutput
type SizeConstraintSetSizeConstraintInput ¶
type SizeConstraintSetSizeConstraintInput interface { pulumi.Input ToSizeConstraintSetSizeConstraintOutput() SizeConstraintSetSizeConstraintOutput ToSizeConstraintSetSizeConstraintOutputWithContext(context.Context) SizeConstraintSetSizeConstraintOutput }
SizeConstraintSetSizeConstraintInput is an input type that accepts SizeConstraintSetSizeConstraintArgs and SizeConstraintSetSizeConstraintOutput values. You can construct a concrete instance of `SizeConstraintSetSizeConstraintInput` via:
SizeConstraintSetSizeConstraintArgs{...}
type SizeConstraintSetSizeConstraintOutput ¶
type SizeConstraintSetSizeConstraintOutput struct{ *pulumi.OutputState }
func (SizeConstraintSetSizeConstraintOutput) ComparisonOperator ¶
func (o SizeConstraintSetSizeConstraintOutput) ComparisonOperator() pulumi.StringOutput
func (SizeConstraintSetSizeConstraintOutput) ElementType ¶
func (SizeConstraintSetSizeConstraintOutput) ElementType() reflect.Type
func (SizeConstraintSetSizeConstraintOutput) FieldToMatch ¶
func (o SizeConstraintSetSizeConstraintOutput) FieldToMatch() SizeConstraintSetSizeConstraintFieldToMatchOutput
func (SizeConstraintSetSizeConstraintOutput) Size ¶
func (o SizeConstraintSetSizeConstraintOutput) Size() pulumi.IntOutput
func (SizeConstraintSetSizeConstraintOutput) TextTransformation ¶
func (o SizeConstraintSetSizeConstraintOutput) TextTransformation() pulumi.StringOutput
func (SizeConstraintSetSizeConstraintOutput) ToSizeConstraintSetSizeConstraintOutput ¶
func (o SizeConstraintSetSizeConstraintOutput) ToSizeConstraintSetSizeConstraintOutput() SizeConstraintSetSizeConstraintOutput
func (SizeConstraintSetSizeConstraintOutput) ToSizeConstraintSetSizeConstraintOutputWithContext ¶
func (o SizeConstraintSetSizeConstraintOutput) ToSizeConstraintSetSizeConstraintOutputWithContext(ctx context.Context) SizeConstraintSetSizeConstraintOutput
type SizeConstraintSetState ¶
type SizeConstraintSetState struct { // Amazon Resource Name (ARN). Arn pulumi.StringPtrInput // Name or description of the Size Constraint Set. Name pulumi.StringPtrInput // Parts of web requests that you want to inspect the size of. SizeConstraints SizeConstraintSetSizeConstraintArrayInput }
func (SizeConstraintSetState) ElementType ¶
func (SizeConstraintSetState) ElementType() reflect.Type
type SqlInjectionMatchSet ¶
type SqlInjectionMatchSet struct { pulumi.CustomResourceState // The name or description of the SQL Injection Match Set. Name pulumi.StringOutput `pulumi:"name"` // The parts of web requests that you want AWS WAF to inspect for malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. SqlInjectionMatchTuples SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput `pulumi:"sqlInjectionMatchTuples"` }
Provides a WAF SQL Injection Match Set Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewSqlInjectionMatchSet(ctx, "sql_injection_match_set", &waf.SqlInjectionMatchSetArgs{ Name: pulumi.String("tf-sql_injection_match_set"), SqlInjectionMatchTuples: waf.SqlInjectionMatchSetSqlInjectionMatchTupleArray{ &waf.SqlInjectionMatchSetSqlInjectionMatchTupleArgs{ TextTransformation: pulumi.String("URL_DECODE"), FieldToMatch: &waf.SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs{ Type: pulumi.String("QUERY_STRING"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import AWS WAF SQL Injection Match Set using their ID. For example:
```sh $ pulumi import aws:waf/sqlInjectionMatchSet:SqlInjectionMatchSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetSqlInjectionMatchSet ¶
func GetSqlInjectionMatchSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SqlInjectionMatchSetState, opts ...pulumi.ResourceOption) (*SqlInjectionMatchSet, error)
GetSqlInjectionMatchSet gets an existing SqlInjectionMatchSet 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 NewSqlInjectionMatchSet ¶
func NewSqlInjectionMatchSet(ctx *pulumi.Context, name string, args *SqlInjectionMatchSetArgs, opts ...pulumi.ResourceOption) (*SqlInjectionMatchSet, error)
NewSqlInjectionMatchSet registers a new resource with the given unique name, arguments, and options.
func (*SqlInjectionMatchSet) ElementType ¶
func (*SqlInjectionMatchSet) ElementType() reflect.Type
func (*SqlInjectionMatchSet) ToSqlInjectionMatchSetOutput ¶
func (i *SqlInjectionMatchSet) ToSqlInjectionMatchSetOutput() SqlInjectionMatchSetOutput
func (*SqlInjectionMatchSet) ToSqlInjectionMatchSetOutputWithContext ¶
func (i *SqlInjectionMatchSet) ToSqlInjectionMatchSetOutputWithContext(ctx context.Context) SqlInjectionMatchSetOutput
type SqlInjectionMatchSetArgs ¶
type SqlInjectionMatchSetArgs struct { // The name or description of the SQL Injection Match Set. Name pulumi.StringPtrInput // The parts of web requests that you want AWS WAF to inspect for malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. SqlInjectionMatchTuples SqlInjectionMatchSetSqlInjectionMatchTupleArrayInput }
The set of arguments for constructing a SqlInjectionMatchSet resource.
func (SqlInjectionMatchSetArgs) ElementType ¶
func (SqlInjectionMatchSetArgs) ElementType() reflect.Type
type SqlInjectionMatchSetArray ¶
type SqlInjectionMatchSetArray []SqlInjectionMatchSetInput
func (SqlInjectionMatchSetArray) ElementType ¶
func (SqlInjectionMatchSetArray) ElementType() reflect.Type
func (SqlInjectionMatchSetArray) ToSqlInjectionMatchSetArrayOutput ¶
func (i SqlInjectionMatchSetArray) ToSqlInjectionMatchSetArrayOutput() SqlInjectionMatchSetArrayOutput
func (SqlInjectionMatchSetArray) ToSqlInjectionMatchSetArrayOutputWithContext ¶
func (i SqlInjectionMatchSetArray) ToSqlInjectionMatchSetArrayOutputWithContext(ctx context.Context) SqlInjectionMatchSetArrayOutput
type SqlInjectionMatchSetArrayInput ¶
type SqlInjectionMatchSetArrayInput interface { pulumi.Input ToSqlInjectionMatchSetArrayOutput() SqlInjectionMatchSetArrayOutput ToSqlInjectionMatchSetArrayOutputWithContext(context.Context) SqlInjectionMatchSetArrayOutput }
SqlInjectionMatchSetArrayInput is an input type that accepts SqlInjectionMatchSetArray and SqlInjectionMatchSetArrayOutput values. You can construct a concrete instance of `SqlInjectionMatchSetArrayInput` via:
SqlInjectionMatchSetArray{ SqlInjectionMatchSetArgs{...} }
type SqlInjectionMatchSetArrayOutput ¶
type SqlInjectionMatchSetArrayOutput struct{ *pulumi.OutputState }
func (SqlInjectionMatchSetArrayOutput) ElementType ¶
func (SqlInjectionMatchSetArrayOutput) ElementType() reflect.Type
func (SqlInjectionMatchSetArrayOutput) Index ¶
func (o SqlInjectionMatchSetArrayOutput) Index(i pulumi.IntInput) SqlInjectionMatchSetOutput
func (SqlInjectionMatchSetArrayOutput) ToSqlInjectionMatchSetArrayOutput ¶
func (o SqlInjectionMatchSetArrayOutput) ToSqlInjectionMatchSetArrayOutput() SqlInjectionMatchSetArrayOutput
func (SqlInjectionMatchSetArrayOutput) ToSqlInjectionMatchSetArrayOutputWithContext ¶
func (o SqlInjectionMatchSetArrayOutput) ToSqlInjectionMatchSetArrayOutputWithContext(ctx context.Context) SqlInjectionMatchSetArrayOutput
type SqlInjectionMatchSetInput ¶
type SqlInjectionMatchSetInput interface { pulumi.Input ToSqlInjectionMatchSetOutput() SqlInjectionMatchSetOutput ToSqlInjectionMatchSetOutputWithContext(ctx context.Context) SqlInjectionMatchSetOutput }
type SqlInjectionMatchSetMap ¶
type SqlInjectionMatchSetMap map[string]SqlInjectionMatchSetInput
func (SqlInjectionMatchSetMap) ElementType ¶
func (SqlInjectionMatchSetMap) ElementType() reflect.Type
func (SqlInjectionMatchSetMap) ToSqlInjectionMatchSetMapOutput ¶
func (i SqlInjectionMatchSetMap) ToSqlInjectionMatchSetMapOutput() SqlInjectionMatchSetMapOutput
func (SqlInjectionMatchSetMap) ToSqlInjectionMatchSetMapOutputWithContext ¶
func (i SqlInjectionMatchSetMap) ToSqlInjectionMatchSetMapOutputWithContext(ctx context.Context) SqlInjectionMatchSetMapOutput
type SqlInjectionMatchSetMapInput ¶
type SqlInjectionMatchSetMapInput interface { pulumi.Input ToSqlInjectionMatchSetMapOutput() SqlInjectionMatchSetMapOutput ToSqlInjectionMatchSetMapOutputWithContext(context.Context) SqlInjectionMatchSetMapOutput }
SqlInjectionMatchSetMapInput is an input type that accepts SqlInjectionMatchSetMap and SqlInjectionMatchSetMapOutput values. You can construct a concrete instance of `SqlInjectionMatchSetMapInput` via:
SqlInjectionMatchSetMap{ "key": SqlInjectionMatchSetArgs{...} }
type SqlInjectionMatchSetMapOutput ¶
type SqlInjectionMatchSetMapOutput struct{ *pulumi.OutputState }
func (SqlInjectionMatchSetMapOutput) ElementType ¶
func (SqlInjectionMatchSetMapOutput) ElementType() reflect.Type
func (SqlInjectionMatchSetMapOutput) MapIndex ¶
func (o SqlInjectionMatchSetMapOutput) MapIndex(k pulumi.StringInput) SqlInjectionMatchSetOutput
func (SqlInjectionMatchSetMapOutput) ToSqlInjectionMatchSetMapOutput ¶
func (o SqlInjectionMatchSetMapOutput) ToSqlInjectionMatchSetMapOutput() SqlInjectionMatchSetMapOutput
func (SqlInjectionMatchSetMapOutput) ToSqlInjectionMatchSetMapOutputWithContext ¶
func (o SqlInjectionMatchSetMapOutput) ToSqlInjectionMatchSetMapOutputWithContext(ctx context.Context) SqlInjectionMatchSetMapOutput
type SqlInjectionMatchSetOutput ¶
type SqlInjectionMatchSetOutput struct{ *pulumi.OutputState }
func (SqlInjectionMatchSetOutput) ElementType ¶
func (SqlInjectionMatchSetOutput) ElementType() reflect.Type
func (SqlInjectionMatchSetOutput) Name ¶
func (o SqlInjectionMatchSetOutput) Name() pulumi.StringOutput
The name or description of the SQL Injection Match Set.
func (SqlInjectionMatchSetOutput) SqlInjectionMatchTuples ¶
func (o SqlInjectionMatchSetOutput) SqlInjectionMatchTuples() SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
The parts of web requests that you want AWS WAF to inspect for malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header.
func (SqlInjectionMatchSetOutput) ToSqlInjectionMatchSetOutput ¶
func (o SqlInjectionMatchSetOutput) ToSqlInjectionMatchSetOutput() SqlInjectionMatchSetOutput
func (SqlInjectionMatchSetOutput) ToSqlInjectionMatchSetOutputWithContext ¶
func (o SqlInjectionMatchSetOutput) ToSqlInjectionMatchSetOutputWithContext(ctx context.Context) SqlInjectionMatchSetOutput
type SqlInjectionMatchSetSqlInjectionMatchTuple ¶
type SqlInjectionMatchSetSqlInjectionMatchTuple struct { // Specifies where in a web request to look for snippets of malicious SQL code. FieldToMatch SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatch `pulumi:"fieldToMatch"` // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // If you specify a transformation, AWS WAF performs the transformation on `fieldToMatch` before inspecting a request for a match. // e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_SqlInjectionMatchTuple.html#WAF-Type-SqlInjectionMatchTuple-TextTransformation) // for all supported values. TextTransformation string `pulumi:"textTransformation"` }
type SqlInjectionMatchSetSqlInjectionMatchTupleArgs ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleArgs struct { // Specifies where in a web request to look for snippets of malicious SQL code. FieldToMatch SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchInput `pulumi:"fieldToMatch"` // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // If you specify a transformation, AWS WAF performs the transformation on `fieldToMatch` before inspecting a request for a match. // e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_SqlInjectionMatchTuple.html#WAF-Type-SqlInjectionMatchTuple-TextTransformation) // for all supported values. TextTransformation pulumi.StringInput `pulumi:"textTransformation"` }
func (SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ElementType ¶
func (SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ElementType() reflect.Type
func (SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutput ¶
func (i SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutput() SqlInjectionMatchSetSqlInjectionMatchTupleOutput
func (SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutputWithContext ¶
func (i SqlInjectionMatchSetSqlInjectionMatchTupleArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleOutput
type SqlInjectionMatchSetSqlInjectionMatchTupleArray ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleArray []SqlInjectionMatchSetSqlInjectionMatchTupleInput
func (SqlInjectionMatchSetSqlInjectionMatchTupleArray) ElementType ¶
func (SqlInjectionMatchSetSqlInjectionMatchTupleArray) ElementType() reflect.Type
func (SqlInjectionMatchSetSqlInjectionMatchTupleArray) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput ¶
func (i SqlInjectionMatchSetSqlInjectionMatchTupleArray) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput() SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
func (SqlInjectionMatchSetSqlInjectionMatchTupleArray) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutputWithContext ¶
func (i SqlInjectionMatchSetSqlInjectionMatchTupleArray) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
type SqlInjectionMatchSetSqlInjectionMatchTupleArrayInput ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleArrayInput interface { pulumi.Input ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput() SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutputWithContext(context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput }
SqlInjectionMatchSetSqlInjectionMatchTupleArrayInput is an input type that accepts SqlInjectionMatchSetSqlInjectionMatchTupleArray and SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput values. You can construct a concrete instance of `SqlInjectionMatchSetSqlInjectionMatchTupleArrayInput` via:
SqlInjectionMatchSetSqlInjectionMatchTupleArray{ SqlInjectionMatchSetSqlInjectionMatchTupleArgs{...} }
type SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput struct{ *pulumi.OutputState }
func (SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ElementType ¶
func (SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ElementType() reflect.Type
func (SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput() SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
func (SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutputWithContext ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleArrayOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleArrayOutput
type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs struct { Data pulumi.StringPtrInput `pulumi:"data"` Type pulumi.StringInput `pulumi:"type"` }
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ElementType ¶
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ElementType() reflect.Type
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput ¶
func (i SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput() SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutputWithContext ¶
func (i SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchInput ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchInput interface { pulumi.Input ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput() SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutputWithContext(context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput }
SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchInput is an input type that accepts SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs and SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput values. You can construct a concrete instance of `SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchInput` via:
SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchArgs{...}
type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput struct{ *pulumi.OutputState }
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ElementType ¶
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ElementType() reflect.Type
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput() SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
func (SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutputWithContext ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
type SqlInjectionMatchSetSqlInjectionMatchTupleInput ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleInput interface { pulumi.Input ToSqlInjectionMatchSetSqlInjectionMatchTupleOutput() SqlInjectionMatchSetSqlInjectionMatchTupleOutput ToSqlInjectionMatchSetSqlInjectionMatchTupleOutputWithContext(context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleOutput }
SqlInjectionMatchSetSqlInjectionMatchTupleInput is an input type that accepts SqlInjectionMatchSetSqlInjectionMatchTupleArgs and SqlInjectionMatchSetSqlInjectionMatchTupleOutput values. You can construct a concrete instance of `SqlInjectionMatchSetSqlInjectionMatchTupleInput` via:
SqlInjectionMatchSetSqlInjectionMatchTupleArgs{...}
type SqlInjectionMatchSetSqlInjectionMatchTupleOutput ¶
type SqlInjectionMatchSetSqlInjectionMatchTupleOutput struct{ *pulumi.OutputState }
func (SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ElementType ¶
func (SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ElementType() reflect.Type
func (SqlInjectionMatchSetSqlInjectionMatchTupleOutput) FieldToMatch ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) FieldToMatch() SqlInjectionMatchSetSqlInjectionMatchTupleFieldToMatchOutput
Specifies where in a web request to look for snippets of malicious SQL code.
func (SqlInjectionMatchSetSqlInjectionMatchTupleOutput) TextTransformation ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) TextTransformation() pulumi.StringOutput
Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on `fieldToMatch` before inspecting a request for a match. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_SqlInjectionMatchTuple.html#WAF-Type-SqlInjectionMatchTuple-TextTransformation) for all supported values.
func (SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutput ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutput() SqlInjectionMatchSetSqlInjectionMatchTupleOutput
func (SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutputWithContext ¶
func (o SqlInjectionMatchSetSqlInjectionMatchTupleOutput) ToSqlInjectionMatchSetSqlInjectionMatchTupleOutputWithContext(ctx context.Context) SqlInjectionMatchSetSqlInjectionMatchTupleOutput
type SqlInjectionMatchSetState ¶
type SqlInjectionMatchSetState struct { // The name or description of the SQL Injection Match Set. Name pulumi.StringPtrInput // The parts of web requests that you want AWS WAF to inspect for malicious SQL code and, if you want AWS WAF to inspect a header, the name of the header. SqlInjectionMatchTuples SqlInjectionMatchSetSqlInjectionMatchTupleArrayInput }
func (SqlInjectionMatchSetState) ElementType ¶
func (SqlInjectionMatchSetState) ElementType() reflect.Type
type WebAcl ¶
type WebAcl struct { pulumi.CustomResourceState // The ARN of the WAF WebACL. Arn pulumi.StringOutput `pulumi:"arn"` // Configuration block with action that you want AWS WAF to take when a request doesn't match the criteria in any of the rules that are associated with the web ACL. Detailed below. DefaultAction WebAclDefaultActionOutput `pulumi:"defaultAction"` // Configuration block to enable WAF logging. Detailed below. LoggingConfiguration WebAclLoggingConfigurationPtrOutput `pulumi:"loggingConfiguration"` // The name or description for the Amazon CloudWatch metric of this web ACL. MetricName pulumi.StringOutput `pulumi:"metricName"` // The name or description of the web ACL. Name pulumi.StringOutput `pulumi:"name"` // Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below. Rules WebAclRuleArrayOutput `pulumi:"rules"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a WAF Web ACL Resource
## Example Usage
This example blocks requests coming from `192.0.7.0/24` and allows everything else.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ipset, err := waf.NewIpSet(ctx, "ipset", &waf.IpSetArgs{ Name: pulumi.String("tfIPSet"), IpSetDescriptors: waf.IpSetIpSetDescriptorArray{ &waf.IpSetIpSetDescriptorArgs{ Type: pulumi.String("IPV4"), Value: pulumi.String("192.0.7.0/24"), }, }, }) if err != nil { return err } wafrule, err := waf.NewRule(ctx, "wafrule", &waf.RuleArgs{ Name: pulumi.String("tfWAFRule"), MetricName: pulumi.String("tfWAFRule"), Predicates: waf.RulePredicateArray{ &waf.RulePredicateArgs{ DataId: ipset.ID(), Negated: pulumi.Bool(false), Type: pulumi.String("IPMatch"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ ipset, })) if err != nil { return err } _, err = waf.NewWebAcl(ctx, "waf_acl", &waf.WebAclArgs{ Name: pulumi.String("tfWebACL"), MetricName: pulumi.String("tfWebACL"), DefaultAction: &waf.WebAclDefaultActionArgs{ Type: pulumi.String("ALLOW"), }, Rules: waf.WebAclRuleArray{ &waf.WebAclRuleArgs{ Action: &waf.WebAclRuleActionArgs{ Type: pulumi.String("BLOCK"), }, Priority: pulumi.Int(1), RuleId: wafrule.ID(), Type: pulumi.String("REGULAR"), }, }, }, pulumi.DependsOn([]pulumi.Resource{ ipset, wafrule, })) if err != nil { return err } return nil }) }
```
### Logging
> *NOTE:* The Kinesis Firehose Delivery Stream name must begin with `aws-waf-logs-` and be located in `us-east-1` region. See the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) for more information about enabling WAF logging.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewWebAcl(ctx, "example", &waf.WebAclArgs{ LoggingConfiguration: &waf.WebAclLoggingConfigurationArgs{ LogDestination: pulumi.Any(exampleAwsKinesisFirehoseDeliveryStream.Arn), RedactedFields: &waf.WebAclLoggingConfigurationRedactedFieldsArgs{ FieldToMatches: waf.WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray{ &waf.WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs{ Type: pulumi.String("URI"), }, &waf.WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs{ Data: pulumi.String("referer"), Type: pulumi.String("HEADER"), }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF Web ACL using the `id`. For example:
```sh $ pulumi import aws:waf/webAcl:WebAcl main 0c8e583e-18f3-4c13-9e2a-67c4805d2f94 ```
func GetWebAcl ¶
func GetWebAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WebAclState, opts ...pulumi.ResourceOption) (*WebAcl, error)
GetWebAcl gets an existing WebAcl 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 NewWebAcl ¶
func NewWebAcl(ctx *pulumi.Context, name string, args *WebAclArgs, opts ...pulumi.ResourceOption) (*WebAcl, error)
NewWebAcl registers a new resource with the given unique name, arguments, and options.
func (*WebAcl) ElementType ¶
func (*WebAcl) ToWebAclOutput ¶
func (i *WebAcl) ToWebAclOutput() WebAclOutput
func (*WebAcl) ToWebAclOutputWithContext ¶
func (i *WebAcl) ToWebAclOutputWithContext(ctx context.Context) WebAclOutput
type WebAclArgs ¶
type WebAclArgs struct { // Configuration block with action that you want AWS WAF to take when a request doesn't match the criteria in any of the rules that are associated with the web ACL. Detailed below. DefaultAction WebAclDefaultActionInput // Configuration block to enable WAF logging. Detailed below. LoggingConfiguration WebAclLoggingConfigurationPtrInput // The name or description for the Amazon CloudWatch metric of this web ACL. MetricName pulumi.StringInput // The name or description of the web ACL. Name pulumi.StringPtrInput // Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below. Rules WebAclRuleArrayInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a WebAcl resource.
func (WebAclArgs) ElementType ¶
func (WebAclArgs) ElementType() reflect.Type
type WebAclArray ¶
type WebAclArray []WebAclInput
func (WebAclArray) ElementType ¶
func (WebAclArray) ElementType() reflect.Type
func (WebAclArray) ToWebAclArrayOutput ¶
func (i WebAclArray) ToWebAclArrayOutput() WebAclArrayOutput
func (WebAclArray) ToWebAclArrayOutputWithContext ¶
func (i WebAclArray) ToWebAclArrayOutputWithContext(ctx context.Context) WebAclArrayOutput
type WebAclArrayInput ¶
type WebAclArrayInput interface { pulumi.Input ToWebAclArrayOutput() WebAclArrayOutput ToWebAclArrayOutputWithContext(context.Context) WebAclArrayOutput }
WebAclArrayInput is an input type that accepts WebAclArray and WebAclArrayOutput values. You can construct a concrete instance of `WebAclArrayInput` via:
WebAclArray{ WebAclArgs{...} }
type WebAclArrayOutput ¶
type WebAclArrayOutput struct{ *pulumi.OutputState }
func (WebAclArrayOutput) ElementType ¶
func (WebAclArrayOutput) ElementType() reflect.Type
func (WebAclArrayOutput) Index ¶
func (o WebAclArrayOutput) Index(i pulumi.IntInput) WebAclOutput
func (WebAclArrayOutput) ToWebAclArrayOutput ¶
func (o WebAclArrayOutput) ToWebAclArrayOutput() WebAclArrayOutput
func (WebAclArrayOutput) ToWebAclArrayOutputWithContext ¶
func (o WebAclArrayOutput) ToWebAclArrayOutputWithContext(ctx context.Context) WebAclArrayOutput
type WebAclDefaultAction ¶
type WebAclDefaultAction struct { // Specifies how you want AWS WAF to respond to requests that don't match the criteria in any of the `rules`. // e.g., `ALLOW` or `BLOCK` Type string `pulumi:"type"` }
type WebAclDefaultActionArgs ¶
type WebAclDefaultActionArgs struct { // Specifies how you want AWS WAF to respond to requests that don't match the criteria in any of the `rules`. // e.g., `ALLOW` or `BLOCK` Type pulumi.StringInput `pulumi:"type"` }
func (WebAclDefaultActionArgs) ElementType ¶
func (WebAclDefaultActionArgs) ElementType() reflect.Type
func (WebAclDefaultActionArgs) ToWebAclDefaultActionOutput ¶
func (i WebAclDefaultActionArgs) ToWebAclDefaultActionOutput() WebAclDefaultActionOutput
func (WebAclDefaultActionArgs) ToWebAclDefaultActionOutputWithContext ¶
func (i WebAclDefaultActionArgs) ToWebAclDefaultActionOutputWithContext(ctx context.Context) WebAclDefaultActionOutput
func (WebAclDefaultActionArgs) ToWebAclDefaultActionPtrOutput ¶
func (i WebAclDefaultActionArgs) ToWebAclDefaultActionPtrOutput() WebAclDefaultActionPtrOutput
func (WebAclDefaultActionArgs) ToWebAclDefaultActionPtrOutputWithContext ¶
func (i WebAclDefaultActionArgs) ToWebAclDefaultActionPtrOutputWithContext(ctx context.Context) WebAclDefaultActionPtrOutput
type WebAclDefaultActionInput ¶
type WebAclDefaultActionInput interface { pulumi.Input ToWebAclDefaultActionOutput() WebAclDefaultActionOutput ToWebAclDefaultActionOutputWithContext(context.Context) WebAclDefaultActionOutput }
WebAclDefaultActionInput is an input type that accepts WebAclDefaultActionArgs and WebAclDefaultActionOutput values. You can construct a concrete instance of `WebAclDefaultActionInput` via:
WebAclDefaultActionArgs{...}
type WebAclDefaultActionOutput ¶
type WebAclDefaultActionOutput struct{ *pulumi.OutputState }
func (WebAclDefaultActionOutput) ElementType ¶
func (WebAclDefaultActionOutput) ElementType() reflect.Type
func (WebAclDefaultActionOutput) ToWebAclDefaultActionOutput ¶
func (o WebAclDefaultActionOutput) ToWebAclDefaultActionOutput() WebAclDefaultActionOutput
func (WebAclDefaultActionOutput) ToWebAclDefaultActionOutputWithContext ¶
func (o WebAclDefaultActionOutput) ToWebAclDefaultActionOutputWithContext(ctx context.Context) WebAclDefaultActionOutput
func (WebAclDefaultActionOutput) ToWebAclDefaultActionPtrOutput ¶
func (o WebAclDefaultActionOutput) ToWebAclDefaultActionPtrOutput() WebAclDefaultActionPtrOutput
func (WebAclDefaultActionOutput) ToWebAclDefaultActionPtrOutputWithContext ¶
func (o WebAclDefaultActionOutput) ToWebAclDefaultActionPtrOutputWithContext(ctx context.Context) WebAclDefaultActionPtrOutput
func (WebAclDefaultActionOutput) Type ¶
func (o WebAclDefaultActionOutput) Type() pulumi.StringOutput
Specifies how you want AWS WAF to respond to requests that don't match the criteria in any of the `rules`. e.g., `ALLOW` or `BLOCK`
type WebAclDefaultActionPtrInput ¶
type WebAclDefaultActionPtrInput interface { pulumi.Input ToWebAclDefaultActionPtrOutput() WebAclDefaultActionPtrOutput ToWebAclDefaultActionPtrOutputWithContext(context.Context) WebAclDefaultActionPtrOutput }
WebAclDefaultActionPtrInput is an input type that accepts WebAclDefaultActionArgs, WebAclDefaultActionPtr and WebAclDefaultActionPtrOutput values. You can construct a concrete instance of `WebAclDefaultActionPtrInput` via:
WebAclDefaultActionArgs{...} or: nil
func WebAclDefaultActionPtr ¶
func WebAclDefaultActionPtr(v *WebAclDefaultActionArgs) WebAclDefaultActionPtrInput
type WebAclDefaultActionPtrOutput ¶
type WebAclDefaultActionPtrOutput struct{ *pulumi.OutputState }
func (WebAclDefaultActionPtrOutput) Elem ¶
func (o WebAclDefaultActionPtrOutput) Elem() WebAclDefaultActionOutput
func (WebAclDefaultActionPtrOutput) ElementType ¶
func (WebAclDefaultActionPtrOutput) ElementType() reflect.Type
func (WebAclDefaultActionPtrOutput) ToWebAclDefaultActionPtrOutput ¶
func (o WebAclDefaultActionPtrOutput) ToWebAclDefaultActionPtrOutput() WebAclDefaultActionPtrOutput
func (WebAclDefaultActionPtrOutput) ToWebAclDefaultActionPtrOutputWithContext ¶
func (o WebAclDefaultActionPtrOutput) ToWebAclDefaultActionPtrOutputWithContext(ctx context.Context) WebAclDefaultActionPtrOutput
func (WebAclDefaultActionPtrOutput) Type ¶
func (o WebAclDefaultActionPtrOutput) Type() pulumi.StringPtrOutput
Specifies how you want AWS WAF to respond to requests that don't match the criteria in any of the `rules`. e.g., `ALLOW` or `BLOCK`
type WebAclInput ¶
type WebAclInput interface { pulumi.Input ToWebAclOutput() WebAclOutput ToWebAclOutputWithContext(ctx context.Context) WebAclOutput }
type WebAclLoggingConfiguration ¶
type WebAclLoggingConfiguration struct { // Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream LogDestination string `pulumi:"logDestination"` // Configuration block containing parts of the request that you want redacted from the logs. Detailed below. RedactedFields *WebAclLoggingConfigurationRedactedFields `pulumi:"redactedFields"` }
type WebAclLoggingConfigurationArgs ¶
type WebAclLoggingConfigurationArgs struct { // Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream LogDestination pulumi.StringInput `pulumi:"logDestination"` // Configuration block containing parts of the request that you want redacted from the logs. Detailed below. RedactedFields WebAclLoggingConfigurationRedactedFieldsPtrInput `pulumi:"redactedFields"` }
func (WebAclLoggingConfigurationArgs) ElementType ¶
func (WebAclLoggingConfigurationArgs) ElementType() reflect.Type
func (WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationOutput ¶
func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationOutput() WebAclLoggingConfigurationOutput
func (WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationOutputWithContext ¶
func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationOutputWithContext(ctx context.Context) WebAclLoggingConfigurationOutput
func (WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationPtrOutput ¶
func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationPtrOutput() WebAclLoggingConfigurationPtrOutput
func (WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationPtrOutputWithContext ¶
func (i WebAclLoggingConfigurationArgs) ToWebAclLoggingConfigurationPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationPtrOutput
type WebAclLoggingConfigurationInput ¶
type WebAclLoggingConfigurationInput interface { pulumi.Input ToWebAclLoggingConfigurationOutput() WebAclLoggingConfigurationOutput ToWebAclLoggingConfigurationOutputWithContext(context.Context) WebAclLoggingConfigurationOutput }
WebAclLoggingConfigurationInput is an input type that accepts WebAclLoggingConfigurationArgs and WebAclLoggingConfigurationOutput values. You can construct a concrete instance of `WebAclLoggingConfigurationInput` via:
WebAclLoggingConfigurationArgs{...}
type WebAclLoggingConfigurationOutput ¶
type WebAclLoggingConfigurationOutput struct{ *pulumi.OutputState }
func (WebAclLoggingConfigurationOutput) ElementType ¶
func (WebAclLoggingConfigurationOutput) ElementType() reflect.Type
func (WebAclLoggingConfigurationOutput) LogDestination ¶
func (o WebAclLoggingConfigurationOutput) LogDestination() pulumi.StringOutput
Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
func (WebAclLoggingConfigurationOutput) RedactedFields ¶
func (o WebAclLoggingConfigurationOutput) RedactedFields() WebAclLoggingConfigurationRedactedFieldsPtrOutput
Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
func (WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationOutput ¶
func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationOutput() WebAclLoggingConfigurationOutput
func (WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationOutputWithContext ¶
func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationOutputWithContext(ctx context.Context) WebAclLoggingConfigurationOutput
func (WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationPtrOutput ¶
func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationPtrOutput() WebAclLoggingConfigurationPtrOutput
func (WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationPtrOutputWithContext ¶
func (o WebAclLoggingConfigurationOutput) ToWebAclLoggingConfigurationPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationPtrOutput
type WebAclLoggingConfigurationPtrInput ¶
type WebAclLoggingConfigurationPtrInput interface { pulumi.Input ToWebAclLoggingConfigurationPtrOutput() WebAclLoggingConfigurationPtrOutput ToWebAclLoggingConfigurationPtrOutputWithContext(context.Context) WebAclLoggingConfigurationPtrOutput }
WebAclLoggingConfigurationPtrInput is an input type that accepts WebAclLoggingConfigurationArgs, WebAclLoggingConfigurationPtr and WebAclLoggingConfigurationPtrOutput values. You can construct a concrete instance of `WebAclLoggingConfigurationPtrInput` via:
WebAclLoggingConfigurationArgs{...} or: nil
func WebAclLoggingConfigurationPtr ¶
func WebAclLoggingConfigurationPtr(v *WebAclLoggingConfigurationArgs) WebAclLoggingConfigurationPtrInput
type WebAclLoggingConfigurationPtrOutput ¶
type WebAclLoggingConfigurationPtrOutput struct{ *pulumi.OutputState }
func (WebAclLoggingConfigurationPtrOutput) Elem ¶
func (o WebAclLoggingConfigurationPtrOutput) Elem() WebAclLoggingConfigurationOutput
func (WebAclLoggingConfigurationPtrOutput) ElementType ¶
func (WebAclLoggingConfigurationPtrOutput) ElementType() reflect.Type
func (WebAclLoggingConfigurationPtrOutput) LogDestination ¶
func (o WebAclLoggingConfigurationPtrOutput) LogDestination() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of Kinesis Firehose Delivery Stream
func (WebAclLoggingConfigurationPtrOutput) RedactedFields ¶
func (o WebAclLoggingConfigurationPtrOutput) RedactedFields() WebAclLoggingConfigurationRedactedFieldsPtrOutput
Configuration block containing parts of the request that you want redacted from the logs. Detailed below.
func (WebAclLoggingConfigurationPtrOutput) ToWebAclLoggingConfigurationPtrOutput ¶
func (o WebAclLoggingConfigurationPtrOutput) ToWebAclLoggingConfigurationPtrOutput() WebAclLoggingConfigurationPtrOutput
func (WebAclLoggingConfigurationPtrOutput) ToWebAclLoggingConfigurationPtrOutputWithContext ¶
func (o WebAclLoggingConfigurationPtrOutput) ToWebAclLoggingConfigurationPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationPtrOutput
type WebAclLoggingConfigurationRedactedFields ¶
type WebAclLoggingConfigurationRedactedFields struct { // Set of configuration blocks for fields to redact. Detailed below. FieldToMatches []WebAclLoggingConfigurationRedactedFieldsFieldToMatch `pulumi:"fieldToMatches"` }
type WebAclLoggingConfigurationRedactedFieldsArgs ¶
type WebAclLoggingConfigurationRedactedFieldsArgs struct { // Set of configuration blocks for fields to redact. Detailed below. FieldToMatches WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayInput `pulumi:"fieldToMatches"` }
func (WebAclLoggingConfigurationRedactedFieldsArgs) ElementType ¶
func (WebAclLoggingConfigurationRedactedFieldsArgs) ElementType() reflect.Type
func (WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsOutput ¶
func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsOutput() WebAclLoggingConfigurationRedactedFieldsOutput
func (WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsOutputWithContext ¶
func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsOutput
func (WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput ¶
func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput() WebAclLoggingConfigurationRedactedFieldsPtrOutput
func (WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext ¶
func (i WebAclLoggingConfigurationRedactedFieldsArgs) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsPtrOutput
type WebAclLoggingConfigurationRedactedFieldsFieldToMatch ¶
type WebAclLoggingConfigurationRedactedFieldsFieldToMatch struct { // When the value of `type` is `HEADER`, enter the name of the header that you want the WAF to search, for example, `User-Agent` or `Referer`. If the value of `type` is any other value, omit `data`. Data *string `pulumi:"data"` // The part of the web request that you want AWS WAF to search for a specified stringE.g., `HEADER` or `METHOD` Type string `pulumi:"type"` }
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs ¶
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs struct { // When the value of `type` is `HEADER`, enter the name of the header that you want the WAF to search, for example, `User-Agent` or `Referer`. If the value of `type` is any other value, omit `data`. Data pulumi.StringPtrInput `pulumi:"data"` // The part of the web request that you want AWS WAF to search for a specified stringE.g., `HEADER` or `METHOD` Type pulumi.StringInput `pulumi:"type"` }
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ElementType ¶
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ElementType() reflect.Type
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput ¶
func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutputWithContext ¶
func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray ¶
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray []WebAclLoggingConfigurationRedactedFieldsFieldToMatchInput
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ElementType ¶
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ElementType() reflect.Type
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput ¶
func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutputWithContext ¶
func (i WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayInput ¶
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayInput interface { pulumi.Input ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutputWithContext(context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput }
WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayInput is an input type that accepts WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray and WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput values. You can construct a concrete instance of `WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayInput` via:
WebAclLoggingConfigurationRedactedFieldsFieldToMatchArray{ WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs{...} }
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput ¶
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput struct{ *pulumi.OutputState }
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ElementType ¶
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ElementType() reflect.Type
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput ¶
func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutputWithContext ¶
func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchInput ¶
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchInput interface { pulumi.Input ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutputWithContext(context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput }
WebAclLoggingConfigurationRedactedFieldsFieldToMatchInput is an input type that accepts WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs and WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput values. You can construct a concrete instance of `WebAclLoggingConfigurationRedactedFieldsFieldToMatchInput` via:
WebAclLoggingConfigurationRedactedFieldsFieldToMatchArgs{...}
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput ¶
type WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput struct{ *pulumi.OutputState }
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) Data ¶
When the value of `type` is `HEADER`, enter the name of the header that you want the WAF to search, for example, `User-Agent` or `Referer`. If the value of `type` is any other value, omit `data`.
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ElementType ¶
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ElementType() reflect.Type
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput ¶
func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput() WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
func (WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutputWithContext ¶
func (o WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput) ToWebAclLoggingConfigurationRedactedFieldsFieldToMatchOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsFieldToMatchOutput
type WebAclLoggingConfigurationRedactedFieldsInput ¶
type WebAclLoggingConfigurationRedactedFieldsInput interface { pulumi.Input ToWebAclLoggingConfigurationRedactedFieldsOutput() WebAclLoggingConfigurationRedactedFieldsOutput ToWebAclLoggingConfigurationRedactedFieldsOutputWithContext(context.Context) WebAclLoggingConfigurationRedactedFieldsOutput }
WebAclLoggingConfigurationRedactedFieldsInput is an input type that accepts WebAclLoggingConfigurationRedactedFieldsArgs and WebAclLoggingConfigurationRedactedFieldsOutput values. You can construct a concrete instance of `WebAclLoggingConfigurationRedactedFieldsInput` via:
WebAclLoggingConfigurationRedactedFieldsArgs{...}
type WebAclLoggingConfigurationRedactedFieldsOutput ¶
type WebAclLoggingConfigurationRedactedFieldsOutput struct{ *pulumi.OutputState }
func (WebAclLoggingConfigurationRedactedFieldsOutput) ElementType ¶
func (WebAclLoggingConfigurationRedactedFieldsOutput) ElementType() reflect.Type
func (WebAclLoggingConfigurationRedactedFieldsOutput) FieldToMatches ¶
func (o WebAclLoggingConfigurationRedactedFieldsOutput) FieldToMatches() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
Set of configuration blocks for fields to redact. Detailed below.
func (WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsOutput ¶
func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsOutput() WebAclLoggingConfigurationRedactedFieldsOutput
func (WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsOutputWithContext ¶
func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsOutput
func (WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput ¶
func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput() WebAclLoggingConfigurationRedactedFieldsPtrOutput
func (WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext ¶
func (o WebAclLoggingConfigurationRedactedFieldsOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsPtrOutput
type WebAclLoggingConfigurationRedactedFieldsPtrInput ¶
type WebAclLoggingConfigurationRedactedFieldsPtrInput interface { pulumi.Input ToWebAclLoggingConfigurationRedactedFieldsPtrOutput() WebAclLoggingConfigurationRedactedFieldsPtrOutput ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext(context.Context) WebAclLoggingConfigurationRedactedFieldsPtrOutput }
WebAclLoggingConfigurationRedactedFieldsPtrInput is an input type that accepts WebAclLoggingConfigurationRedactedFieldsArgs, WebAclLoggingConfigurationRedactedFieldsPtr and WebAclLoggingConfigurationRedactedFieldsPtrOutput values. You can construct a concrete instance of `WebAclLoggingConfigurationRedactedFieldsPtrInput` via:
WebAclLoggingConfigurationRedactedFieldsArgs{...} or: nil
func WebAclLoggingConfigurationRedactedFieldsPtr ¶
func WebAclLoggingConfigurationRedactedFieldsPtr(v *WebAclLoggingConfigurationRedactedFieldsArgs) WebAclLoggingConfigurationRedactedFieldsPtrInput
type WebAclLoggingConfigurationRedactedFieldsPtrOutput ¶
type WebAclLoggingConfigurationRedactedFieldsPtrOutput struct{ *pulumi.OutputState }
func (WebAclLoggingConfigurationRedactedFieldsPtrOutput) ElementType ¶
func (WebAclLoggingConfigurationRedactedFieldsPtrOutput) ElementType() reflect.Type
func (WebAclLoggingConfigurationRedactedFieldsPtrOutput) FieldToMatches ¶
func (o WebAclLoggingConfigurationRedactedFieldsPtrOutput) FieldToMatches() WebAclLoggingConfigurationRedactedFieldsFieldToMatchArrayOutput
Set of configuration blocks for fields to redact. Detailed below.
func (WebAclLoggingConfigurationRedactedFieldsPtrOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput ¶
func (o WebAclLoggingConfigurationRedactedFieldsPtrOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutput() WebAclLoggingConfigurationRedactedFieldsPtrOutput
func (WebAclLoggingConfigurationRedactedFieldsPtrOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext ¶
func (o WebAclLoggingConfigurationRedactedFieldsPtrOutput) ToWebAclLoggingConfigurationRedactedFieldsPtrOutputWithContext(ctx context.Context) WebAclLoggingConfigurationRedactedFieldsPtrOutput
type WebAclMap ¶
type WebAclMap map[string]WebAclInput
func (WebAclMap) ElementType ¶
func (WebAclMap) ToWebAclMapOutput ¶
func (i WebAclMap) ToWebAclMapOutput() WebAclMapOutput
func (WebAclMap) ToWebAclMapOutputWithContext ¶
func (i WebAclMap) ToWebAclMapOutputWithContext(ctx context.Context) WebAclMapOutput
type WebAclMapInput ¶
type WebAclMapInput interface { pulumi.Input ToWebAclMapOutput() WebAclMapOutput ToWebAclMapOutputWithContext(context.Context) WebAclMapOutput }
WebAclMapInput is an input type that accepts WebAclMap and WebAclMapOutput values. You can construct a concrete instance of `WebAclMapInput` via:
WebAclMap{ "key": WebAclArgs{...} }
type WebAclMapOutput ¶
type WebAclMapOutput struct{ *pulumi.OutputState }
func (WebAclMapOutput) ElementType ¶
func (WebAclMapOutput) ElementType() reflect.Type
func (WebAclMapOutput) MapIndex ¶
func (o WebAclMapOutput) MapIndex(k pulumi.StringInput) WebAclOutput
func (WebAclMapOutput) ToWebAclMapOutput ¶
func (o WebAclMapOutput) ToWebAclMapOutput() WebAclMapOutput
func (WebAclMapOutput) ToWebAclMapOutputWithContext ¶
func (o WebAclMapOutput) ToWebAclMapOutputWithContext(ctx context.Context) WebAclMapOutput
type WebAclOutput ¶
type WebAclOutput struct{ *pulumi.OutputState }
func (WebAclOutput) Arn ¶
func (o WebAclOutput) Arn() pulumi.StringOutput
The ARN of the WAF WebACL.
func (WebAclOutput) DefaultAction ¶
func (o WebAclOutput) DefaultAction() WebAclDefaultActionOutput
Configuration block with action that you want AWS WAF to take when a request doesn't match the criteria in any of the rules that are associated with the web ACL. Detailed below.
func (WebAclOutput) ElementType ¶
func (WebAclOutput) ElementType() reflect.Type
func (WebAclOutput) LoggingConfiguration ¶
func (o WebAclOutput) LoggingConfiguration() WebAclLoggingConfigurationPtrOutput
Configuration block to enable WAF logging. Detailed below.
func (WebAclOutput) MetricName ¶
func (o WebAclOutput) MetricName() pulumi.StringOutput
The name or description for the Amazon CloudWatch metric of this web ACL.
func (WebAclOutput) Name ¶
func (o WebAclOutput) Name() pulumi.StringOutput
The name or description of the web ACL.
func (WebAclOutput) Rules ¶
func (o WebAclOutput) Rules() WebAclRuleArrayOutput
Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
func (WebAclOutput) Tags ¶
func (o WebAclOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (WebAclOutput) TagsAll
deprecated
func (o WebAclOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (WebAclOutput) ToWebAclOutput ¶
func (o WebAclOutput) ToWebAclOutput() WebAclOutput
func (WebAclOutput) ToWebAclOutputWithContext ¶
func (o WebAclOutput) ToWebAclOutputWithContext(ctx context.Context) WebAclOutput
type WebAclRule ¶
type WebAclRule struct { // The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if `type` is `GROUP`. Action *WebAclRuleAction `pulumi:"action"` // Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if `type` is `GROUP`. OverrideAction *WebAclRuleOverrideAction `pulumi:"overrideAction"` // Specifies the order in which the rules in a WebACL are evaluated. // Rules with a lower value are evaluated before rules with a higher value. Priority int `pulumi:"priority"` // ID of the associated WAF (Global) rule (e.g., `waf.Rule`). WAF (Regional) rules cannot be used. RuleId string `pulumi:"ruleId"` // The rule type, either `REGULAR`, as defined by [Rule](http://docs.aws.amazon.com/waf/latest/APIReference/API_Rule.html), `RATE_BASED`, as defined by [RateBasedRule](http://docs.aws.amazon.com/waf/latest/APIReference/API_RateBasedRule.html), or `GROUP`, as defined by [RuleGroup](https://docs.aws.amazon.com/waf/latest/APIReference/API_RuleGroup.html). The default is REGULAR. If you add a RATE_BASED rule, you need to set `type` as `RATE_BASED`. If you add a GROUP rule, you need to set `type` as `GROUP`. Type *string `pulumi:"type"` }
type WebAclRuleAction ¶
type WebAclRuleAction struct { // valid values are: `BLOCK`, `ALLOW`, or `COUNT` Type string `pulumi:"type"` }
type WebAclRuleActionArgs ¶
type WebAclRuleActionArgs struct { // valid values are: `BLOCK`, `ALLOW`, or `COUNT` Type pulumi.StringInput `pulumi:"type"` }
func (WebAclRuleActionArgs) ElementType ¶
func (WebAclRuleActionArgs) ElementType() reflect.Type
func (WebAclRuleActionArgs) ToWebAclRuleActionOutput ¶
func (i WebAclRuleActionArgs) ToWebAclRuleActionOutput() WebAclRuleActionOutput
func (WebAclRuleActionArgs) ToWebAclRuleActionOutputWithContext ¶
func (i WebAclRuleActionArgs) ToWebAclRuleActionOutputWithContext(ctx context.Context) WebAclRuleActionOutput
func (WebAclRuleActionArgs) ToWebAclRuleActionPtrOutput ¶
func (i WebAclRuleActionArgs) ToWebAclRuleActionPtrOutput() WebAclRuleActionPtrOutput
func (WebAclRuleActionArgs) ToWebAclRuleActionPtrOutputWithContext ¶
func (i WebAclRuleActionArgs) ToWebAclRuleActionPtrOutputWithContext(ctx context.Context) WebAclRuleActionPtrOutput
type WebAclRuleActionInput ¶
type WebAclRuleActionInput interface { pulumi.Input ToWebAclRuleActionOutput() WebAclRuleActionOutput ToWebAclRuleActionOutputWithContext(context.Context) WebAclRuleActionOutput }
WebAclRuleActionInput is an input type that accepts WebAclRuleActionArgs and WebAclRuleActionOutput values. You can construct a concrete instance of `WebAclRuleActionInput` via:
WebAclRuleActionArgs{...}
type WebAclRuleActionOutput ¶
type WebAclRuleActionOutput struct{ *pulumi.OutputState }
func (WebAclRuleActionOutput) ElementType ¶
func (WebAclRuleActionOutput) ElementType() reflect.Type
func (WebAclRuleActionOutput) ToWebAclRuleActionOutput ¶
func (o WebAclRuleActionOutput) ToWebAclRuleActionOutput() WebAclRuleActionOutput
func (WebAclRuleActionOutput) ToWebAclRuleActionOutputWithContext ¶
func (o WebAclRuleActionOutput) ToWebAclRuleActionOutputWithContext(ctx context.Context) WebAclRuleActionOutput
func (WebAclRuleActionOutput) ToWebAclRuleActionPtrOutput ¶
func (o WebAclRuleActionOutput) ToWebAclRuleActionPtrOutput() WebAclRuleActionPtrOutput
func (WebAclRuleActionOutput) ToWebAclRuleActionPtrOutputWithContext ¶
func (o WebAclRuleActionOutput) ToWebAclRuleActionPtrOutputWithContext(ctx context.Context) WebAclRuleActionPtrOutput
func (WebAclRuleActionOutput) Type ¶
func (o WebAclRuleActionOutput) Type() pulumi.StringOutput
valid values are: `BLOCK`, `ALLOW`, or `COUNT`
type WebAclRuleActionPtrInput ¶
type WebAclRuleActionPtrInput interface { pulumi.Input ToWebAclRuleActionPtrOutput() WebAclRuleActionPtrOutput ToWebAclRuleActionPtrOutputWithContext(context.Context) WebAclRuleActionPtrOutput }
WebAclRuleActionPtrInput is an input type that accepts WebAclRuleActionArgs, WebAclRuleActionPtr and WebAclRuleActionPtrOutput values. You can construct a concrete instance of `WebAclRuleActionPtrInput` via:
WebAclRuleActionArgs{...} or: nil
func WebAclRuleActionPtr ¶
func WebAclRuleActionPtr(v *WebAclRuleActionArgs) WebAclRuleActionPtrInput
type WebAclRuleActionPtrOutput ¶
type WebAclRuleActionPtrOutput struct{ *pulumi.OutputState }
func (WebAclRuleActionPtrOutput) Elem ¶
func (o WebAclRuleActionPtrOutput) Elem() WebAclRuleActionOutput
func (WebAclRuleActionPtrOutput) ElementType ¶
func (WebAclRuleActionPtrOutput) ElementType() reflect.Type
func (WebAclRuleActionPtrOutput) ToWebAclRuleActionPtrOutput ¶
func (o WebAclRuleActionPtrOutput) ToWebAclRuleActionPtrOutput() WebAclRuleActionPtrOutput
func (WebAclRuleActionPtrOutput) ToWebAclRuleActionPtrOutputWithContext ¶
func (o WebAclRuleActionPtrOutput) ToWebAclRuleActionPtrOutputWithContext(ctx context.Context) WebAclRuleActionPtrOutput
func (WebAclRuleActionPtrOutput) Type ¶
func (o WebAclRuleActionPtrOutput) Type() pulumi.StringPtrOutput
valid values are: `BLOCK`, `ALLOW`, or `COUNT`
type WebAclRuleArgs ¶
type WebAclRuleArgs struct { // The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if `type` is `GROUP`. Action WebAclRuleActionPtrInput `pulumi:"action"` // Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if `type` is `GROUP`. OverrideAction WebAclRuleOverrideActionPtrInput `pulumi:"overrideAction"` // Specifies the order in which the rules in a WebACL are evaluated. // Rules with a lower value are evaluated before rules with a higher value. Priority pulumi.IntInput `pulumi:"priority"` // ID of the associated WAF (Global) rule (e.g., `waf.Rule`). WAF (Regional) rules cannot be used. RuleId pulumi.StringInput `pulumi:"ruleId"` // The rule type, either `REGULAR`, as defined by [Rule](http://docs.aws.amazon.com/waf/latest/APIReference/API_Rule.html), `RATE_BASED`, as defined by [RateBasedRule](http://docs.aws.amazon.com/waf/latest/APIReference/API_RateBasedRule.html), or `GROUP`, as defined by [RuleGroup](https://docs.aws.amazon.com/waf/latest/APIReference/API_RuleGroup.html). The default is REGULAR. If you add a RATE_BASED rule, you need to set `type` as `RATE_BASED`. If you add a GROUP rule, you need to set `type` as `GROUP`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (WebAclRuleArgs) ElementType ¶
func (WebAclRuleArgs) ElementType() reflect.Type
func (WebAclRuleArgs) ToWebAclRuleOutput ¶
func (i WebAclRuleArgs) ToWebAclRuleOutput() WebAclRuleOutput
func (WebAclRuleArgs) ToWebAclRuleOutputWithContext ¶
func (i WebAclRuleArgs) ToWebAclRuleOutputWithContext(ctx context.Context) WebAclRuleOutput
type WebAclRuleArray ¶
type WebAclRuleArray []WebAclRuleInput
func (WebAclRuleArray) ElementType ¶
func (WebAclRuleArray) ElementType() reflect.Type
func (WebAclRuleArray) ToWebAclRuleArrayOutput ¶
func (i WebAclRuleArray) ToWebAclRuleArrayOutput() WebAclRuleArrayOutput
func (WebAclRuleArray) ToWebAclRuleArrayOutputWithContext ¶
func (i WebAclRuleArray) ToWebAclRuleArrayOutputWithContext(ctx context.Context) WebAclRuleArrayOutput
type WebAclRuleArrayInput ¶
type WebAclRuleArrayInput interface { pulumi.Input ToWebAclRuleArrayOutput() WebAclRuleArrayOutput ToWebAclRuleArrayOutputWithContext(context.Context) WebAclRuleArrayOutput }
WebAclRuleArrayInput is an input type that accepts WebAclRuleArray and WebAclRuleArrayOutput values. You can construct a concrete instance of `WebAclRuleArrayInput` via:
WebAclRuleArray{ WebAclRuleArgs{...} }
type WebAclRuleArrayOutput ¶
type WebAclRuleArrayOutput struct{ *pulumi.OutputState }
func (WebAclRuleArrayOutput) ElementType ¶
func (WebAclRuleArrayOutput) ElementType() reflect.Type
func (WebAclRuleArrayOutput) Index ¶
func (o WebAclRuleArrayOutput) Index(i pulumi.IntInput) WebAclRuleOutput
func (WebAclRuleArrayOutput) ToWebAclRuleArrayOutput ¶
func (o WebAclRuleArrayOutput) ToWebAclRuleArrayOutput() WebAclRuleArrayOutput
func (WebAclRuleArrayOutput) ToWebAclRuleArrayOutputWithContext ¶
func (o WebAclRuleArrayOutput) ToWebAclRuleArrayOutputWithContext(ctx context.Context) WebAclRuleArrayOutput
type WebAclRuleInput ¶
type WebAclRuleInput interface { pulumi.Input ToWebAclRuleOutput() WebAclRuleOutput ToWebAclRuleOutputWithContext(context.Context) WebAclRuleOutput }
WebAclRuleInput is an input type that accepts WebAclRuleArgs and WebAclRuleOutput values. You can construct a concrete instance of `WebAclRuleInput` via:
WebAclRuleArgs{...}
type WebAclRuleOutput ¶
type WebAclRuleOutput struct{ *pulumi.OutputState }
func (WebAclRuleOutput) Action ¶
func (o WebAclRuleOutput) Action() WebAclRuleActionPtrOutput
The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if `type` is `GROUP`.
func (WebAclRuleOutput) ElementType ¶
func (WebAclRuleOutput) ElementType() reflect.Type
func (WebAclRuleOutput) OverrideAction ¶
func (o WebAclRuleOutput) OverrideAction() WebAclRuleOverrideActionPtrOutput
Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if `type` is `GROUP`.
func (WebAclRuleOutput) Priority ¶
func (o WebAclRuleOutput) Priority() pulumi.IntOutput
Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
func (WebAclRuleOutput) RuleId ¶
func (o WebAclRuleOutput) RuleId() pulumi.StringOutput
ID of the associated WAF (Global) rule (e.g., `waf.Rule`). WAF (Regional) rules cannot be used.
func (WebAclRuleOutput) ToWebAclRuleOutput ¶
func (o WebAclRuleOutput) ToWebAclRuleOutput() WebAclRuleOutput
func (WebAclRuleOutput) ToWebAclRuleOutputWithContext ¶
func (o WebAclRuleOutput) ToWebAclRuleOutputWithContext(ctx context.Context) WebAclRuleOutput
func (WebAclRuleOutput) Type ¶
func (o WebAclRuleOutput) Type() pulumi.StringPtrOutput
The rule type, either `REGULAR`, as defined by Rule(http://docs.aws.amazon.com/waf/latest/APIReference/API_Rule.html), `RATE_BASED`, as defined by RateBasedRule(http://docs.aws.amazon.com/waf/latest/APIReference/API_RateBasedRule.html), or `GROUP`, as defined by RuleGroup(https://docs.aws.amazon.com/waf/latest/APIReference/API_RuleGroup.html). The default is REGULAR. If you add a RATE_BASED rule, you need to set `type` as `RATE_BASED`. If you add a GROUP rule, you need to set `type` as `GROUP`.
type WebAclRuleOverrideAction ¶
type WebAclRuleOverrideAction struct { // valid values are: `NONE` or `COUNT` Type string `pulumi:"type"` }
type WebAclRuleOverrideActionArgs ¶
type WebAclRuleOverrideActionArgs struct { // valid values are: `NONE` or `COUNT` Type pulumi.StringInput `pulumi:"type"` }
func (WebAclRuleOverrideActionArgs) ElementType ¶
func (WebAclRuleOverrideActionArgs) ElementType() reflect.Type
func (WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionOutput ¶
func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionOutput() WebAclRuleOverrideActionOutput
func (WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionOutputWithContext ¶
func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionOutputWithContext(ctx context.Context) WebAclRuleOverrideActionOutput
func (WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionPtrOutput ¶
func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionPtrOutput() WebAclRuleOverrideActionPtrOutput
func (WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionPtrOutputWithContext ¶
func (i WebAclRuleOverrideActionArgs) ToWebAclRuleOverrideActionPtrOutputWithContext(ctx context.Context) WebAclRuleOverrideActionPtrOutput
type WebAclRuleOverrideActionInput ¶
type WebAclRuleOverrideActionInput interface { pulumi.Input ToWebAclRuleOverrideActionOutput() WebAclRuleOverrideActionOutput ToWebAclRuleOverrideActionOutputWithContext(context.Context) WebAclRuleOverrideActionOutput }
WebAclRuleOverrideActionInput is an input type that accepts WebAclRuleOverrideActionArgs and WebAclRuleOverrideActionOutput values. You can construct a concrete instance of `WebAclRuleOverrideActionInput` via:
WebAclRuleOverrideActionArgs{...}
type WebAclRuleOverrideActionOutput ¶
type WebAclRuleOverrideActionOutput struct{ *pulumi.OutputState }
func (WebAclRuleOverrideActionOutput) ElementType ¶
func (WebAclRuleOverrideActionOutput) ElementType() reflect.Type
func (WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionOutput ¶
func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionOutput() WebAclRuleOverrideActionOutput
func (WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionOutputWithContext ¶
func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionOutputWithContext(ctx context.Context) WebAclRuleOverrideActionOutput
func (WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionPtrOutput ¶
func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionPtrOutput() WebAclRuleOverrideActionPtrOutput
func (WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionPtrOutputWithContext ¶
func (o WebAclRuleOverrideActionOutput) ToWebAclRuleOverrideActionPtrOutputWithContext(ctx context.Context) WebAclRuleOverrideActionPtrOutput
func (WebAclRuleOverrideActionOutput) Type ¶
func (o WebAclRuleOverrideActionOutput) Type() pulumi.StringOutput
valid values are: `NONE` or `COUNT`
type WebAclRuleOverrideActionPtrInput ¶
type WebAclRuleOverrideActionPtrInput interface { pulumi.Input ToWebAclRuleOverrideActionPtrOutput() WebAclRuleOverrideActionPtrOutput ToWebAclRuleOverrideActionPtrOutputWithContext(context.Context) WebAclRuleOverrideActionPtrOutput }
WebAclRuleOverrideActionPtrInput is an input type that accepts WebAclRuleOverrideActionArgs, WebAclRuleOverrideActionPtr and WebAclRuleOverrideActionPtrOutput values. You can construct a concrete instance of `WebAclRuleOverrideActionPtrInput` via:
WebAclRuleOverrideActionArgs{...} or: nil
func WebAclRuleOverrideActionPtr ¶
func WebAclRuleOverrideActionPtr(v *WebAclRuleOverrideActionArgs) WebAclRuleOverrideActionPtrInput
type WebAclRuleOverrideActionPtrOutput ¶
type WebAclRuleOverrideActionPtrOutput struct{ *pulumi.OutputState }
func (WebAclRuleOverrideActionPtrOutput) Elem ¶
func (o WebAclRuleOverrideActionPtrOutput) Elem() WebAclRuleOverrideActionOutput
func (WebAclRuleOverrideActionPtrOutput) ElementType ¶
func (WebAclRuleOverrideActionPtrOutput) ElementType() reflect.Type
func (WebAclRuleOverrideActionPtrOutput) ToWebAclRuleOverrideActionPtrOutput ¶
func (o WebAclRuleOverrideActionPtrOutput) ToWebAclRuleOverrideActionPtrOutput() WebAclRuleOverrideActionPtrOutput
func (WebAclRuleOverrideActionPtrOutput) ToWebAclRuleOverrideActionPtrOutputWithContext ¶
func (o WebAclRuleOverrideActionPtrOutput) ToWebAclRuleOverrideActionPtrOutputWithContext(ctx context.Context) WebAclRuleOverrideActionPtrOutput
func (WebAclRuleOverrideActionPtrOutput) Type ¶
func (o WebAclRuleOverrideActionPtrOutput) Type() pulumi.StringPtrOutput
valid values are: `NONE` or `COUNT`
type WebAclState ¶
type WebAclState struct { // The ARN of the WAF WebACL. Arn pulumi.StringPtrInput // Configuration block with action that you want AWS WAF to take when a request doesn't match the criteria in any of the rules that are associated with the web ACL. Detailed below. DefaultAction WebAclDefaultActionPtrInput // Configuration block to enable WAF logging. Detailed below. LoggingConfiguration WebAclLoggingConfigurationPtrInput // The name or description for the Amazon CloudWatch metric of this web ACL. MetricName pulumi.StringPtrInput // The name or description of the web ACL. Name pulumi.StringPtrInput // Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below. Rules WebAclRuleArrayInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (WebAclState) ElementType ¶
func (WebAclState) ElementType() reflect.Type
type XssMatchSet ¶
type XssMatchSet struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) Arn pulumi.StringOutput `pulumi:"arn"` // The name or description of the SizeConstraintSet. Name pulumi.StringOutput `pulumi:"name"` // The parts of web requests that you want to inspect for cross-site scripting attacks. XssMatchTuples XssMatchSetXssMatchTupleArrayOutput `pulumi:"xssMatchTuples"` }
Provides a WAF XSS Match Set Resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/waf" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := waf.NewXssMatchSet(ctx, "xss_match_set", &waf.XssMatchSetArgs{ Name: pulumi.String("xss_match_set"), XssMatchTuples: waf.XssMatchSetXssMatchTupleArray{ &waf.XssMatchSetXssMatchTupleArgs{ TextTransformation: pulumi.String("NONE"), FieldToMatch: &waf.XssMatchSetXssMatchTupleFieldToMatchArgs{ Type: pulumi.String("URI"), }, }, &waf.XssMatchSetXssMatchTupleArgs{ TextTransformation: pulumi.String("NONE"), FieldToMatch: &waf.XssMatchSetXssMatchTupleFieldToMatchArgs{ Type: pulumi.String("QUERY_STRING"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import WAF XSS Match Set using their ID. For example:
```sh $ pulumi import aws:waf/xssMatchSet:XssMatchSet example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc ```
func GetXssMatchSet ¶
func GetXssMatchSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *XssMatchSetState, opts ...pulumi.ResourceOption) (*XssMatchSet, error)
GetXssMatchSet gets an existing XssMatchSet 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 NewXssMatchSet ¶
func NewXssMatchSet(ctx *pulumi.Context, name string, args *XssMatchSetArgs, opts ...pulumi.ResourceOption) (*XssMatchSet, error)
NewXssMatchSet registers a new resource with the given unique name, arguments, and options.
func (*XssMatchSet) ElementType ¶
func (*XssMatchSet) ElementType() reflect.Type
func (*XssMatchSet) ToXssMatchSetOutput ¶
func (i *XssMatchSet) ToXssMatchSetOutput() XssMatchSetOutput
func (*XssMatchSet) ToXssMatchSetOutputWithContext ¶
func (i *XssMatchSet) ToXssMatchSetOutputWithContext(ctx context.Context) XssMatchSetOutput
type XssMatchSetArgs ¶
type XssMatchSetArgs struct { // The name or description of the SizeConstraintSet. Name pulumi.StringPtrInput // The parts of web requests that you want to inspect for cross-site scripting attacks. XssMatchTuples XssMatchSetXssMatchTupleArrayInput }
The set of arguments for constructing a XssMatchSet resource.
func (XssMatchSetArgs) ElementType ¶
func (XssMatchSetArgs) ElementType() reflect.Type
type XssMatchSetArray ¶
type XssMatchSetArray []XssMatchSetInput
func (XssMatchSetArray) ElementType ¶
func (XssMatchSetArray) ElementType() reflect.Type
func (XssMatchSetArray) ToXssMatchSetArrayOutput ¶
func (i XssMatchSetArray) ToXssMatchSetArrayOutput() XssMatchSetArrayOutput
func (XssMatchSetArray) ToXssMatchSetArrayOutputWithContext ¶
func (i XssMatchSetArray) ToXssMatchSetArrayOutputWithContext(ctx context.Context) XssMatchSetArrayOutput
type XssMatchSetArrayInput ¶
type XssMatchSetArrayInput interface { pulumi.Input ToXssMatchSetArrayOutput() XssMatchSetArrayOutput ToXssMatchSetArrayOutputWithContext(context.Context) XssMatchSetArrayOutput }
XssMatchSetArrayInput is an input type that accepts XssMatchSetArray and XssMatchSetArrayOutput values. You can construct a concrete instance of `XssMatchSetArrayInput` via:
XssMatchSetArray{ XssMatchSetArgs{...} }
type XssMatchSetArrayOutput ¶
type XssMatchSetArrayOutput struct{ *pulumi.OutputState }
func (XssMatchSetArrayOutput) ElementType ¶
func (XssMatchSetArrayOutput) ElementType() reflect.Type
func (XssMatchSetArrayOutput) Index ¶
func (o XssMatchSetArrayOutput) Index(i pulumi.IntInput) XssMatchSetOutput
func (XssMatchSetArrayOutput) ToXssMatchSetArrayOutput ¶
func (o XssMatchSetArrayOutput) ToXssMatchSetArrayOutput() XssMatchSetArrayOutput
func (XssMatchSetArrayOutput) ToXssMatchSetArrayOutputWithContext ¶
func (o XssMatchSetArrayOutput) ToXssMatchSetArrayOutputWithContext(ctx context.Context) XssMatchSetArrayOutput
type XssMatchSetInput ¶
type XssMatchSetInput interface { pulumi.Input ToXssMatchSetOutput() XssMatchSetOutput ToXssMatchSetOutputWithContext(ctx context.Context) XssMatchSetOutput }
type XssMatchSetMap ¶
type XssMatchSetMap map[string]XssMatchSetInput
func (XssMatchSetMap) ElementType ¶
func (XssMatchSetMap) ElementType() reflect.Type
func (XssMatchSetMap) ToXssMatchSetMapOutput ¶
func (i XssMatchSetMap) ToXssMatchSetMapOutput() XssMatchSetMapOutput
func (XssMatchSetMap) ToXssMatchSetMapOutputWithContext ¶
func (i XssMatchSetMap) ToXssMatchSetMapOutputWithContext(ctx context.Context) XssMatchSetMapOutput
type XssMatchSetMapInput ¶
type XssMatchSetMapInput interface { pulumi.Input ToXssMatchSetMapOutput() XssMatchSetMapOutput ToXssMatchSetMapOutputWithContext(context.Context) XssMatchSetMapOutput }
XssMatchSetMapInput is an input type that accepts XssMatchSetMap and XssMatchSetMapOutput values. You can construct a concrete instance of `XssMatchSetMapInput` via:
XssMatchSetMap{ "key": XssMatchSetArgs{...} }
type XssMatchSetMapOutput ¶
type XssMatchSetMapOutput struct{ *pulumi.OutputState }
func (XssMatchSetMapOutput) ElementType ¶
func (XssMatchSetMapOutput) ElementType() reflect.Type
func (XssMatchSetMapOutput) MapIndex ¶
func (o XssMatchSetMapOutput) MapIndex(k pulumi.StringInput) XssMatchSetOutput
func (XssMatchSetMapOutput) ToXssMatchSetMapOutput ¶
func (o XssMatchSetMapOutput) ToXssMatchSetMapOutput() XssMatchSetMapOutput
func (XssMatchSetMapOutput) ToXssMatchSetMapOutputWithContext ¶
func (o XssMatchSetMapOutput) ToXssMatchSetMapOutputWithContext(ctx context.Context) XssMatchSetMapOutput
type XssMatchSetOutput ¶
type XssMatchSetOutput struct{ *pulumi.OutputState }
func (XssMatchSetOutput) Arn ¶
func (o XssMatchSetOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN)
func (XssMatchSetOutput) ElementType ¶
func (XssMatchSetOutput) ElementType() reflect.Type
func (XssMatchSetOutput) Name ¶
func (o XssMatchSetOutput) Name() pulumi.StringOutput
The name or description of the SizeConstraintSet.
func (XssMatchSetOutput) ToXssMatchSetOutput ¶
func (o XssMatchSetOutput) ToXssMatchSetOutput() XssMatchSetOutput
func (XssMatchSetOutput) ToXssMatchSetOutputWithContext ¶
func (o XssMatchSetOutput) ToXssMatchSetOutputWithContext(ctx context.Context) XssMatchSetOutput
func (XssMatchSetOutput) XssMatchTuples ¶
func (o XssMatchSetOutput) XssMatchTuples() XssMatchSetXssMatchTupleArrayOutput
The parts of web requests that you want to inspect for cross-site scripting attacks.
type XssMatchSetState ¶
type XssMatchSetState struct { // Amazon Resource Name (ARN) Arn pulumi.StringPtrInput // The name or description of the SizeConstraintSet. Name pulumi.StringPtrInput // The parts of web requests that you want to inspect for cross-site scripting attacks. XssMatchTuples XssMatchSetXssMatchTupleArrayInput }
func (XssMatchSetState) ElementType ¶
func (XssMatchSetState) ElementType() reflect.Type
type XssMatchSetXssMatchTuple ¶
type XssMatchSetXssMatchTuple struct { // Specifies where in a web request to look for cross-site scripting attacks. FieldToMatch XssMatchSetXssMatchTupleFieldToMatch `pulumi:"fieldToMatch"` // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // If you specify a transformation, AWS WAF performs the transformation on `targetString` before inspecting a request for a match. // e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_XssMatchTuple.html#WAF-Type-XssMatchTuple-TextTransformation) // for all supported values. TextTransformation string `pulumi:"textTransformation"` }
type XssMatchSetXssMatchTupleArgs ¶
type XssMatchSetXssMatchTupleArgs struct { // Specifies where in a web request to look for cross-site scripting attacks. FieldToMatch XssMatchSetXssMatchTupleFieldToMatchInput `pulumi:"fieldToMatch"` // Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. // If you specify a transformation, AWS WAF performs the transformation on `targetString` before inspecting a request for a match. // e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. // See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_XssMatchTuple.html#WAF-Type-XssMatchTuple-TextTransformation) // for all supported values. TextTransformation pulumi.StringInput `pulumi:"textTransformation"` }
func (XssMatchSetXssMatchTupleArgs) ElementType ¶
func (XssMatchSetXssMatchTupleArgs) ElementType() reflect.Type
func (XssMatchSetXssMatchTupleArgs) ToXssMatchSetXssMatchTupleOutput ¶
func (i XssMatchSetXssMatchTupleArgs) ToXssMatchSetXssMatchTupleOutput() XssMatchSetXssMatchTupleOutput
func (XssMatchSetXssMatchTupleArgs) ToXssMatchSetXssMatchTupleOutputWithContext ¶
func (i XssMatchSetXssMatchTupleArgs) ToXssMatchSetXssMatchTupleOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleOutput
type XssMatchSetXssMatchTupleArray ¶
type XssMatchSetXssMatchTupleArray []XssMatchSetXssMatchTupleInput
func (XssMatchSetXssMatchTupleArray) ElementType ¶
func (XssMatchSetXssMatchTupleArray) ElementType() reflect.Type
func (XssMatchSetXssMatchTupleArray) ToXssMatchSetXssMatchTupleArrayOutput ¶
func (i XssMatchSetXssMatchTupleArray) ToXssMatchSetXssMatchTupleArrayOutput() XssMatchSetXssMatchTupleArrayOutput
func (XssMatchSetXssMatchTupleArray) ToXssMatchSetXssMatchTupleArrayOutputWithContext ¶
func (i XssMatchSetXssMatchTupleArray) ToXssMatchSetXssMatchTupleArrayOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleArrayOutput
type XssMatchSetXssMatchTupleArrayInput ¶
type XssMatchSetXssMatchTupleArrayInput interface { pulumi.Input ToXssMatchSetXssMatchTupleArrayOutput() XssMatchSetXssMatchTupleArrayOutput ToXssMatchSetXssMatchTupleArrayOutputWithContext(context.Context) XssMatchSetXssMatchTupleArrayOutput }
XssMatchSetXssMatchTupleArrayInput is an input type that accepts XssMatchSetXssMatchTupleArray and XssMatchSetXssMatchTupleArrayOutput values. You can construct a concrete instance of `XssMatchSetXssMatchTupleArrayInput` via:
XssMatchSetXssMatchTupleArray{ XssMatchSetXssMatchTupleArgs{...} }
type XssMatchSetXssMatchTupleArrayOutput ¶
type XssMatchSetXssMatchTupleArrayOutput struct{ *pulumi.OutputState }
func (XssMatchSetXssMatchTupleArrayOutput) ElementType ¶
func (XssMatchSetXssMatchTupleArrayOutput) ElementType() reflect.Type
func (XssMatchSetXssMatchTupleArrayOutput) Index ¶
func (o XssMatchSetXssMatchTupleArrayOutput) Index(i pulumi.IntInput) XssMatchSetXssMatchTupleOutput
func (XssMatchSetXssMatchTupleArrayOutput) ToXssMatchSetXssMatchTupleArrayOutput ¶
func (o XssMatchSetXssMatchTupleArrayOutput) ToXssMatchSetXssMatchTupleArrayOutput() XssMatchSetXssMatchTupleArrayOutput
func (XssMatchSetXssMatchTupleArrayOutput) ToXssMatchSetXssMatchTupleArrayOutputWithContext ¶
func (o XssMatchSetXssMatchTupleArrayOutput) ToXssMatchSetXssMatchTupleArrayOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleArrayOutput
type XssMatchSetXssMatchTupleFieldToMatchArgs ¶
type XssMatchSetXssMatchTupleFieldToMatchArgs struct { Data pulumi.StringPtrInput `pulumi:"data"` Type pulumi.StringInput `pulumi:"type"` }
func (XssMatchSetXssMatchTupleFieldToMatchArgs) ElementType ¶
func (XssMatchSetXssMatchTupleFieldToMatchArgs) ElementType() reflect.Type
func (XssMatchSetXssMatchTupleFieldToMatchArgs) ToXssMatchSetXssMatchTupleFieldToMatchOutput ¶
func (i XssMatchSetXssMatchTupleFieldToMatchArgs) ToXssMatchSetXssMatchTupleFieldToMatchOutput() XssMatchSetXssMatchTupleFieldToMatchOutput
func (XssMatchSetXssMatchTupleFieldToMatchArgs) ToXssMatchSetXssMatchTupleFieldToMatchOutputWithContext ¶
func (i XssMatchSetXssMatchTupleFieldToMatchArgs) ToXssMatchSetXssMatchTupleFieldToMatchOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleFieldToMatchOutput
type XssMatchSetXssMatchTupleFieldToMatchInput ¶
type XssMatchSetXssMatchTupleFieldToMatchInput interface { pulumi.Input ToXssMatchSetXssMatchTupleFieldToMatchOutput() XssMatchSetXssMatchTupleFieldToMatchOutput ToXssMatchSetXssMatchTupleFieldToMatchOutputWithContext(context.Context) XssMatchSetXssMatchTupleFieldToMatchOutput }
XssMatchSetXssMatchTupleFieldToMatchInput is an input type that accepts XssMatchSetXssMatchTupleFieldToMatchArgs and XssMatchSetXssMatchTupleFieldToMatchOutput values. You can construct a concrete instance of `XssMatchSetXssMatchTupleFieldToMatchInput` via:
XssMatchSetXssMatchTupleFieldToMatchArgs{...}
type XssMatchSetXssMatchTupleFieldToMatchOutput ¶
type XssMatchSetXssMatchTupleFieldToMatchOutput struct{ *pulumi.OutputState }
func (XssMatchSetXssMatchTupleFieldToMatchOutput) Data ¶
func (o XssMatchSetXssMatchTupleFieldToMatchOutput) Data() pulumi.StringPtrOutput
func (XssMatchSetXssMatchTupleFieldToMatchOutput) ElementType ¶
func (XssMatchSetXssMatchTupleFieldToMatchOutput) ElementType() reflect.Type
func (XssMatchSetXssMatchTupleFieldToMatchOutput) ToXssMatchSetXssMatchTupleFieldToMatchOutput ¶
func (o XssMatchSetXssMatchTupleFieldToMatchOutput) ToXssMatchSetXssMatchTupleFieldToMatchOutput() XssMatchSetXssMatchTupleFieldToMatchOutput
func (XssMatchSetXssMatchTupleFieldToMatchOutput) ToXssMatchSetXssMatchTupleFieldToMatchOutputWithContext ¶
func (o XssMatchSetXssMatchTupleFieldToMatchOutput) ToXssMatchSetXssMatchTupleFieldToMatchOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleFieldToMatchOutput
func (XssMatchSetXssMatchTupleFieldToMatchOutput) Type ¶
func (o XssMatchSetXssMatchTupleFieldToMatchOutput) Type() pulumi.StringOutput
type XssMatchSetXssMatchTupleInput ¶
type XssMatchSetXssMatchTupleInput interface { pulumi.Input ToXssMatchSetXssMatchTupleOutput() XssMatchSetXssMatchTupleOutput ToXssMatchSetXssMatchTupleOutputWithContext(context.Context) XssMatchSetXssMatchTupleOutput }
XssMatchSetXssMatchTupleInput is an input type that accepts XssMatchSetXssMatchTupleArgs and XssMatchSetXssMatchTupleOutput values. You can construct a concrete instance of `XssMatchSetXssMatchTupleInput` via:
XssMatchSetXssMatchTupleArgs{...}
type XssMatchSetXssMatchTupleOutput ¶
type XssMatchSetXssMatchTupleOutput struct{ *pulumi.OutputState }
func (XssMatchSetXssMatchTupleOutput) ElementType ¶
func (XssMatchSetXssMatchTupleOutput) ElementType() reflect.Type
func (XssMatchSetXssMatchTupleOutput) FieldToMatch ¶
func (o XssMatchSetXssMatchTupleOutput) FieldToMatch() XssMatchSetXssMatchTupleFieldToMatchOutput
Specifies where in a web request to look for cross-site scripting attacks.
func (XssMatchSetXssMatchTupleOutput) TextTransformation ¶
func (o XssMatchSetXssMatchTupleOutput) TextTransformation() pulumi.StringOutput
Text transformations used to eliminate unusual formatting that attackers use in web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS WAF performs the transformation on `targetString` before inspecting a request for a match. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_XssMatchTuple.html#WAF-Type-XssMatchTuple-TextTransformation) for all supported values.
func (XssMatchSetXssMatchTupleOutput) ToXssMatchSetXssMatchTupleOutput ¶
func (o XssMatchSetXssMatchTupleOutput) ToXssMatchSetXssMatchTupleOutput() XssMatchSetXssMatchTupleOutput
func (XssMatchSetXssMatchTupleOutput) ToXssMatchSetXssMatchTupleOutputWithContext ¶
func (o XssMatchSetXssMatchTupleOutput) ToXssMatchSetXssMatchTupleOutputWithContext(ctx context.Context) XssMatchSetXssMatchTupleOutput