akamai.AppSecActivations
Create AppSecActivations Resource
new AppSecActivations(name: string, args: AppSecActivationsArgs, opts?: CustomResourceOptions);
@overload
def AppSecActivations(resource_name: str,
opts: Optional[ResourceOptions] = None,
activate: Optional[bool] = None,
config_id: Optional[int] = None,
network: Optional[str] = None,
note: Optional[str] = None,
notes: Optional[str] = None,
notification_emails: Optional[Sequence[str]] = None,
version: Optional[int] = None)
@overload
def AppSecActivations(resource_name: str,
args: AppSecActivationsArgs,
opts: Optional[ResourceOptions] = None)
func NewAppSecActivations(ctx *Context, name string, args AppSecActivationsArgs, opts ...ResourceOption) (*AppSecActivations, error)
public AppSecActivations(string name, AppSecActivationsArgs args, CustomResourceOptions? opts = null)
public AppSecActivations(String name, AppSecActivationsArgs args)
public AppSecActivations(String name, AppSecActivationsArgs args, CustomResourceOptions options)
type: akamai:AppSecActivations
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppSecActivationsArgs
- 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 AppSecActivationsArgs
- 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 AppSecActivationsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppSecActivationsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppSecActivationsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AppSecActivations Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AppSecActivations resource accepts the following input properties:
- Config
Id int . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- Notification
Emails List<string> . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- Version int
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- Activate bool
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- Network string
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- Note string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- Notes string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- Config
Id int . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- Notification
Emails []string . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- Version int
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- Activate bool
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- Network string
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- Note string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- Notes string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- config
Id Integer . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- notification
Emails List<String> . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- version Integer
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate Boolean
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- network String
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- config
Id number . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- notification
Emails string[] . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- version number
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate boolean
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- network string
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- config_
id int . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- notification_
emails Sequence[str] . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- version int
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate bool
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- network str
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note str
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes str
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- config
Id Number . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- notification
Emails List<String> . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- version Number
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate Boolean
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- network String
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppSecActivations resource produces the following output properties:
Look up Existing AppSecActivations Resource
Get an existing AppSecActivations 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?: AppSecActivationsState, opts?: CustomResourceOptions): AppSecActivations
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
activate: Optional[bool] = None,
config_id: Optional[int] = None,
network: Optional[str] = None,
note: Optional[str] = None,
notes: Optional[str] = None,
notification_emails: Optional[Sequence[str]] = None,
status: Optional[str] = None,
version: Optional[int] = None) -> AppSecActivations
func GetAppSecActivations(ctx *Context, name string, id IDInput, state *AppSecActivationsState, opts ...ResourceOption) (*AppSecActivations, error)
public static AppSecActivations Get(string name, Input<string> id, AppSecActivationsState? state, CustomResourceOptions? opts = null)
public static AppSecActivations get(String name, Output<String> id, AppSecActivationsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Activate bool
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- Config
Id int . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- Network string
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- Note string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- Notes string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- Notification
Emails List<string> . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- Status string
The results of the activation
- Version int
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- Activate bool
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- Config
Id int . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- Network string
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- Note string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- Notes string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- Notification
Emails []string . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- Status string
The results of the activation
- Version int
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate Boolean
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- config
Id Integer . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- network String
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- notification
Emails List<String> . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- status String
The results of the activation
- version Integer
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate boolean
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- config
Id number . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- network string
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes string
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- notification
Emails string[] . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- status string
The results of the activation
- version number
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate bool
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- config_
id int . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- network str
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note str
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes str
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- notification_
emails Sequence[str] . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- status str
The results of the activation
- version int
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
- activate Boolean
. Set to true to activate the specified security configuration or set to false to deactivate the configuration. If not included, the security configuration is activated. This argument applies only to versions prior to 2.0.0.
The setting activate has been deprecated; "terraform apply" will always perform activation. (Use "terraform destroy" for deactivation.)
- config
Id Number . Unique identifier of the security configuration being activated. This is unchanged from previous versions.
- network String
. Network on which activation will occur; if not included, activation takes place on the staging network. Allowed values are:
- PRODUCTION
- STAGING
- note String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger these processes. Because of that, it's recommended that you always update the note argument. That ensures that the resource is called and that activation or deactivation occurs.
- notes String
. Brief description of the activation or deactivation process. If no attributes have changed since the last time you called the akamai_appsec_activations resource, neither activation nor deactivation takes place. That's because something must be different in order to trigger one of these processes. Because of that, it's recommended that you always update the
notes
argument. Doing so ensures that the resource is called and activation or deactivation occurs. This argument applies only to versions prior to 2.0.0.The setting notes has been deprecated. Use "note" instead.
- notification
Emails List<String> . JSON array containing the email addresses of the people to be notified when activation is complete. This is unchanged from previous versions.
- status String
The results of the activation
- version Number
. Version number of the security configuration being activated. This can be a hard-coded version number (for example, 5), or you can use the security configuration’s latest_version attribute (data.akamai_appsec_configuration.configuration.latest_version). If you do the latter, you’ll always activate the most recent version of the configuration. This argument applies only to versions 2.0.0 and later.
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
akamai
Terraform Provider.