Skip to content
v2.277.0

IPSetReference Struct ​

A reference to a IPSet resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafregional as interfaces_wafregional } from 'aws-cdk-lib/interfaces';
const iPSetReference: interfaces_wafregional.IPSetReference = {
  ipSetId: 'ipSetId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_wafregional as interfaces_wafregional

i_p_set_reference = {
    "ip_set_id": "ipSetId"
}
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.regional.*;

IPSetReference iPSetReference = Map.of(
        "ipSetId", "ipSetId");
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.Interfaces.WAFRegional;

var iPSetReference = new Dictionary<string, string> {
    { "ipSetId", "ipSetId" }
};
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"

iPSetReference := map[string]*string{
	"ipSetId": jsii.String("ipSetId"),
}

Properties ​

ipSetIdstringip_set_idstripSetIdStringIpSetIdstringIpSetId*stringrequired#
The Id of the IPSet resource.