@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.365Z") @Stability(value=Stable) public class CfnFirewallPolicy extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
CfnFirewallPolicy cfnFirewallPolicy = CfnFirewallPolicy.Builder.create(this, "MyCfnFirewallPolicy")
.firewallPolicy(FirewallPolicyProperty.builder()
.statelessDefaultActions(List.of("statelessDefaultActions"))
.statelessFragmentDefaultActions(List.of("statelessFragmentDefaultActions"))
// the properties below are optional
.statefulDefaultActions(List.of("statefulDefaultActions"))
.statefulEngineOptions(StatefulEngineOptionsProperty.builder()
.ruleOrder("ruleOrder")
.build())
.statefulRuleGroupReferences(List.of(StatefulRuleGroupReferenceProperty.builder()
.resourceArn("resourceArn")
// the properties below are optional
.priority(123)
.build()))
.statelessCustomActions(List.of(CustomActionProperty.builder()
.actionDefinition(ActionDefinitionProperty.builder()
.publishMetricAction(PublishMetricActionProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.value("value")
.build()))
.build())
.build())
.actionName("actionName")
.build()))
.statelessRuleGroupReferences(List.of(StatelessRuleGroupReferenceProperty.builder()
.priority(123)
.resourceArn("resourceArn")
.build()))
.build())
.firewallPolicyName("firewallPolicyName")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnFirewallPolicy.ActionDefinitionProperty
Example:
|
static class |
CfnFirewallPolicy.Builder
A fluent builder for
CfnFirewallPolicy. |
static interface |
CfnFirewallPolicy.CustomActionProperty
Example:
|
static interface |
CfnFirewallPolicy.DimensionProperty
Example:
|
static interface |
CfnFirewallPolicy.FirewallPolicyProperty
Example:
|
static interface |
CfnFirewallPolicy.PublishMetricActionProperty
Example:
|
static interface |
CfnFirewallPolicy.StatefulEngineOptionsProperty
Example:
|
static interface |
CfnFirewallPolicy.StatefulRuleGroupReferenceProperty
Example:
|
static interface |
CfnFirewallPolicy.StatelessRuleGroupReferenceProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFirewallPolicy(software.constructs.Construct scope,
String id,
CfnFirewallPolicyProps props)
Create a new `AWS::NetworkFirewall::FirewallPolicy`.
|
protected |
CfnFirewallPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFirewallPolicy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrFirewallPolicyArn() |
String |
getAttrFirewallPolicyId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::NetworkFirewall::FirewallPolicy.Description`.
|
Object |
getFirewallPolicy()
`AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy`.
|
String |
getFirewallPolicyName()
`AWS::NetworkFirewall::FirewallPolicy.FirewallPolicyName`.
|
TagManager |
getTags()
`AWS::NetworkFirewall::FirewallPolicy.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
`AWS::NetworkFirewall::FirewallPolicy.Description`.
|
void |
setFirewallPolicy(CfnFirewallPolicy.FirewallPolicyProperty value)
`AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy`.
|
void |
setFirewallPolicy(IResolvable value)
`AWS::NetworkFirewall::FirewallPolicy.FirewallPolicy`.
|
void |
setFirewallPolicyName(String value)
`AWS::NetworkFirewall::FirewallPolicy.FirewallPolicyName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFirewallPolicy(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFirewallPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFirewallPolicy(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFirewallPolicyProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrFirewallPolicyArn()
@Stability(value=Stable) @NotNull public String getAttrFirewallPolicyId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getFirewallPolicy()
@Stability(value=Stable)
public void setFirewallPolicy(@NotNull
CfnFirewallPolicy.FirewallPolicyProperty value)
@Stability(value=Stable)
public void setFirewallPolicy(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getFirewallPolicyName()
@Stability(value=Stable)
public void setFirewallPolicyName(@NotNull
String value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.