fastly.ComputeAclEntries
Import
Fastly Compute ACL entries can be imported using the format <compute_acl_id>/entries, e.g.
$ pulumi import fastly:index/computeAclEntries:ComputeAclEntries example <compute_acl_id>/entries
Create ComputeAclEntries Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ComputeAclEntries(name: string, args: ComputeAclEntriesArgs, opts?: CustomResourceOptions);@overload
def ComputeAclEntries(resource_name: str,
args: ComputeAclEntriesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ComputeAclEntries(resource_name: str,
opts: Optional[ResourceOptions] = None,
compute_acl_id: Optional[str] = None,
entries: Optional[Mapping[str, str]] = None,
manage_entries: Optional[bool] = None)func NewComputeAclEntries(ctx *Context, name string, args ComputeAclEntriesArgs, opts ...ResourceOption) (*ComputeAclEntries, error)public ComputeAclEntries(string name, ComputeAclEntriesArgs args, CustomResourceOptions? opts = null)
public ComputeAclEntries(String name, ComputeAclEntriesArgs args)
public ComputeAclEntries(String name, ComputeAclEntriesArgs args, CustomResourceOptions options)
type: fastly:ComputeAclEntries
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ComputeAclEntriesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ComputeAclEntriesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ComputeAclEntriesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ComputeAclEntriesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ComputeAclEntriesArgs
- 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 computeAclEntriesResource = new Fastly.ComputeAclEntries("computeAclEntriesResource", new()
{
ComputeAclId = "string",
Entries =
{
{ "string", "string" },
},
ManageEntries = false,
});
example, err := fastly.NewComputeAclEntries(ctx, "computeAclEntriesResource", &fastly.ComputeAclEntriesArgs{
ComputeAclId: pulumi.String("string"),
Entries: pulumi.StringMap{
"string": pulumi.String("string"),
},
ManageEntries: pulumi.Bool(false),
})
var computeAclEntriesResource = new ComputeAclEntries("computeAclEntriesResource", ComputeAclEntriesArgs.builder()
.computeAclId("string")
.entries(Map.of("string", "string"))
.manageEntries(false)
.build());
compute_acl_entries_resource = fastly.ComputeAclEntries("computeAclEntriesResource",
compute_acl_id="string",
entries={
"string": "string",
},
manage_entries=False)
const computeAclEntriesResource = new fastly.ComputeAclEntries("computeAclEntriesResource", {
computeAclId: "string",
entries: {
string: "string",
},
manageEntries: false,
});
type: fastly:ComputeAclEntries
properties:
computeAclId: string
entries:
string: string
manageEntries: false
ComputeAclEntries 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 ComputeAclEntries resource accepts the following input properties:
- Compute
Acl stringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- Entries Dictionary<string, string>
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- Manage
Entries bool
- Compute
Acl stringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- Entries map[string]string
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- Manage
Entries bool
- compute
Acl StringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries Map<String,String>
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage
Entries Boolean
- compute
Acl stringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries {[key: string]: string}
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage
Entries boolean
- compute_
acl_ strid - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries Mapping[str, str]
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage_
entries bool
- compute
Acl StringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries Map<String>
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage
Entries Boolean
Outputs
All input properties are implicitly available as output properties. Additionally, the ComputeAclEntries 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 ComputeAclEntries Resource
Get an existing ComputeAclEntries 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?: ComputeAclEntriesState, opts?: CustomResourceOptions): ComputeAclEntries@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compute_acl_id: Optional[str] = None,
entries: Optional[Mapping[str, str]] = None,
manage_entries: Optional[bool] = None) -> ComputeAclEntriesfunc GetComputeAclEntries(ctx *Context, name string, id IDInput, state *ComputeAclEntriesState, opts ...ResourceOption) (*ComputeAclEntries, error)public static ComputeAclEntries Get(string name, Input<string> id, ComputeAclEntriesState? state, CustomResourceOptions? opts = null)public static ComputeAclEntries get(String name, Output<String> id, ComputeAclEntriesState state, CustomResourceOptions options)resources: _: type: fastly:ComputeAclEntries get: id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Compute
Acl stringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- Entries Dictionary<string, string>
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- Manage
Entries bool
- Compute
Acl stringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- Entries map[string]string
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- Manage
Entries bool
- compute
Acl StringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries Map<String,String>
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage
Entries Boolean
- compute
Acl stringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries {[key: string]: string}
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage
Entries boolean
- compute_
acl_ strid - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries Mapping[str, str]
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage_
entries bool
- compute
Acl StringId - Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries.
- entries Map<String>
- A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK).
- manage
Entries Boolean
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastlyTerraform Provider.
