AppProperty Struct
An individual Firewall Manager application.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fms as fms } from 'aws-cdk-lib';
const appProperty: fms.CfnApplicationsList.AppProperty = {
appName: 'appName',
port: 123,
protocol: 'protocol',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fms as fms
app_property = fms.CfnApplicationsList.AppProperty(
app_name="appName",
port=123,
protocol="protocol"
)
java
// 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.*;
AppProperty appProperty = AppProperty.builder()
.appName("appName")
.port(123)
.protocol("protocol")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FMS;
var appProperty = new AppProperty {
AppName = "appName",
Port = 123,
Protocol = "protocol"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
appProperty := &AppProperty{
AppName: jsii.String("appName"),
Port: jsii.Number(123),
Protocol: jsii.String("protocol"),
}
Properties
The application's name.
The application's port number, for example 80.
The IP protocol name or number.
The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).