Provides operations on Cloudflare Rule Sets
import { CommonCloudflareConstruct } from '@gradientedge/cdk-utils'class CustomConstruct extends CommonCloudflareConstruct { constructor(parent: pulumi.ComponentResource, name: string, props: CommonCloudflareStackProps) { super(parent, name, props) this.props = props this.ruleSetManager.createRuleSet('MyRule', this, props) }} Copy
import { CommonCloudflareConstruct } from '@gradientedge/cdk-utils'class CustomConstruct extends CommonCloudflareConstruct { constructor(parent: pulumi.ComponentResource, name: string, props: CommonCloudflareStackProps) { super(parent, name, props) this.props = props this.ruleSetManager.createRuleSet('MyRule', this, props) }}
scoped id of the resource
scope in which this resource is defined
rule set properties
[Pulumi Cloudflare Ruleset]https://www.pulumi.com/registry/packages//api-docs/ruleset/
Provides operations on Cloudflare Rule Sets
Example