Class CfnProtocolsList

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IProtocolsListRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-09-30T11:04:52.532Z") @Stability(Stable) public class CfnProtocolsList extends CfnResource implements IInspectable, IProtocolsListRef, ITaggableV2
Creates an AWS Firewall Manager protocols list.

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.fms.*;
 CfnProtocolsList cfnProtocolsList = CfnProtocolsList.Builder.create(this, "MyCfnProtocolsList")
         .listName("listName")
         .protocolsList(List.of("protocolsList"))
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnProtocolsList

      protected CfnProtocolsList(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnProtocolsList

      protected CfnProtocolsList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnProtocolsList

      @Stability(Stable) public CfnProtocolsList(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnProtocolsListProps props)
      Create a new AWS::FMS::ProtocolsList.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForProtocolsList

      @Stability(Stable) @NotNull public static String arnForProtocolsList(@NotNull IProtocolsListRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnProtocolsList

      @Stability(Stable) @NotNull public static Boolean isCfnProtocolsList(@NotNull Object x)
      Checks whether the given object is a CfnProtocolsList.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the protocols list.
    • getAttrCreateTime

      @Stability(Stable) @NotNull public String getAttrCreateTime()
      The time that the Firewall Manager protocols list was created.
    • getAttrLastUpdateTime

      @Stability(Stable) @NotNull public String getAttrLastUpdateTime()
      The time that the Firewall Manager protocols list was last updated.
    • getAttrListId

      @Stability(Stable) @NotNull public String getAttrListId()
      The ID of the Firewall Manager protocols list.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getProtocolsListRef

      @Stability(Stable) @NotNull public ProtocolsListReference getProtocolsListRef()
      A reference to a ProtocolsList resource.
      Specified by:
      getProtocolsListRef in interface IProtocolsListRef
    • getListName

      @Stability(Stable) @NotNull public String getListName()
      The name of the Firewall Manager protocols list.
    • setListName

      @Stability(Stable) public void setListName(@NotNull String value)
      The name of the Firewall Manager protocols list.
    • getProtocolsList

      @Stability(Stable) @NotNull public List<String> getProtocolsList()
      An array of protocols in the Firewall Manager protocols list.
    • setProtocolsList

      @Stability(Stable) public void setProtocolsList(@NotNull List<String> value)
      An array of protocols in the Firewall Manager protocols list.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to the protocols list.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to the protocols list.