1. Packages
  2. Akamai
  3. API Docs
  4. IamIpAllowlist
Akamai v8.1.0 published on Friday, Apr 11, 2025 by Pulumi

akamai.IamIpAllowlist

Explore with Pulumi AI

Create IamIpAllowlist Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IamIpAllowlist(name: string, args: IamIpAllowlistArgs, opts?: CustomResourceOptions);
@overload
def IamIpAllowlist(resource_name: str,
                   args: IamIpAllowlistArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def IamIpAllowlist(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   enable: Optional[bool] = None)
func NewIamIpAllowlist(ctx *Context, name string, args IamIpAllowlistArgs, opts ...ResourceOption) (*IamIpAllowlist, error)
public IamIpAllowlist(string name, IamIpAllowlistArgs args, CustomResourceOptions? opts = null)
public IamIpAllowlist(String name, IamIpAllowlistArgs args)
public IamIpAllowlist(String name, IamIpAllowlistArgs args, CustomResourceOptions options)
type: akamai:IamIpAllowlist
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IamIpAllowlistArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IamIpAllowlistArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IamIpAllowlistArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IamIpAllowlistArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IamIpAllowlistArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var iamIpAllowlistResource = new Akamai.IamIpAllowlist("iamIpAllowlistResource", new()
{
    Enable = false,
});
Copy
example, err := akamai.NewIamIpAllowlist(ctx, "iamIpAllowlistResource", &akamai.IamIpAllowlistArgs{
	Enable: pulumi.Bool(false),
})
Copy
var iamIpAllowlistResource = new IamIpAllowlist("iamIpAllowlistResource", IamIpAllowlistArgs.builder()
    .enable(false)
    .build());
Copy
iam_ip_allowlist_resource = akamai.IamIpAllowlist("iamIpAllowlistResource", enable=False)
Copy
const iamIpAllowlistResource = new akamai.IamIpAllowlist("iamIpAllowlistResource", {enable: false});
Copy
type: akamai:IamIpAllowlist
properties:
    enable: false
Copy

IamIpAllowlist Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IamIpAllowlist resource accepts the following input properties:

Enable This property is required. bool
Whether to enable or disable the allowlist.
Enable This property is required. bool
Whether to enable or disable the allowlist.
enable This property is required. Boolean
Whether to enable or disable the allowlist.
enable This property is required. boolean
Whether to enable or disable the allowlist.
enable This property is required. bool
Whether to enable or disable the allowlist.
enable This property is required. Boolean
Whether to enable or disable the allowlist.

Outputs

All input properties are implicitly available as output properties. Additionally, the IamIpAllowlist resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing IamIpAllowlist Resource

Get an existing IamIpAllowlist resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IamIpAllowlistState, opts?: CustomResourceOptions): IamIpAllowlist
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enable: Optional[bool] = None) -> IamIpAllowlist
func GetIamIpAllowlist(ctx *Context, name string, id IDInput, state *IamIpAllowlistState, opts ...ResourceOption) (*IamIpAllowlist, error)
public static IamIpAllowlist Get(string name, Input<string> id, IamIpAllowlistState? state, CustomResourceOptions? opts = null)
public static IamIpAllowlist get(String name, Output<String> id, IamIpAllowlistState state, CustomResourceOptions options)
resources:  _:    type: akamai:IamIpAllowlist    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Enable bool
Whether to enable or disable the allowlist.
Enable bool
Whether to enable or disable the allowlist.
enable Boolean
Whether to enable or disable the allowlist.
enable boolean
Whether to enable or disable the allowlist.
enable bool
Whether to enable or disable the allowlist.
enable Boolean
Whether to enable or disable the allowlist.

Package Details

Repository
Akamai pulumi/pulumi-akamai
License
Apache-2.0
Notes
This Pulumi package is based on the akamai Terraform Provider.