We recommend new projects start with resources from the AWS provider.
aws-native.smsvoice.ProtectConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SMSVOICE::ProtectConfiguration
Create ProtectConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProtectConfiguration(name: string, args?: ProtectConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ProtectConfiguration(resource_name: str,
args: Optional[ProtectConfigurationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ProtectConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
country_rule_set: Optional[ProtectConfigurationCountryRuleSetArgs] = None,
deletion_protection_enabled: Optional[bool] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewProtectConfiguration(ctx *Context, name string, args *ProtectConfigurationArgs, opts ...ResourceOption) (*ProtectConfiguration, error)
public ProtectConfiguration(string name, ProtectConfigurationArgs? args = null, CustomResourceOptions? opts = null)
public ProtectConfiguration(String name, ProtectConfigurationArgs args)
public ProtectConfiguration(String name, ProtectConfigurationArgs args, CustomResourceOptions options)
type: aws-native:smsvoice:ProtectConfiguration
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 ProtectConfigurationArgs
- 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 ProtectConfigurationArgs
- 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 ProtectConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProtectConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProtectConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ProtectConfiguration 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 ProtectConfiguration resource accepts the following input properties:
- Country
Rule Pulumi.Set Aws Native. Smsvoice. Inputs. Protect Configuration Country Rule Set - An array of CountryRule containing the rules for the NumberCapability.
- Deletion
Protection boolEnabled - When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Country
Rule ProtectSet Configuration Country Rule Set Args - An array of CountryRule containing the rules for the NumberCapability.
- Deletion
Protection boolEnabled - When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
- Tag
Args - An array of key-value pairs to apply to this resource.
- country
Rule ProtectSet Configuration Country Rule Set - An array of CountryRule containing the rules for the NumberCapability.
- deletion
Protection BooleanEnabled - When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- country
Rule ProtectSet Configuration Country Rule Set - An array of CountryRule containing the rules for the NumberCapability.
- deletion
Protection booleanEnabled - When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
- Tag[]
- An array of key-value pairs to apply to this resource.
- country_
rule_ Protectset Configuration Country Rule Set Args - An array of CountryRule containing the rules for the NumberCapability.
- deletion_
protection_ boolenabled - When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- country
Rule Property MapSet - An array of CountryRule containing the rules for the NumberCapability.
- deletion
Protection BooleanEnabled - When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProtectConfiguration resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the protect configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Protect
Configuration stringId - The unique identifier for the protect configuration.
- Arn string
- The Amazon Resource Name (ARN) of the protect configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Protect
Configuration stringId - The unique identifier for the protect configuration.
- arn String
- The Amazon Resource Name (ARN) of the protect configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- protect
Configuration StringId - The unique identifier for the protect configuration.
- arn string
- The Amazon Resource Name (ARN) of the protect configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- protect
Configuration stringId - The unique identifier for the protect configuration.
- arn str
- The Amazon Resource Name (ARN) of the protect configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- protect_
configuration_ strid - The unique identifier for the protect configuration.
- arn String
- The Amazon Resource Name (ARN) of the protect configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- protect
Configuration StringId - The unique identifier for the protect configuration.
Supporting Types
ProtectConfigurationCountryRule, ProtectConfigurationCountryRuleArgs
- Country
Code string - The two-letter ISO country code
- Protect
Status Pulumi.Aws Native. Smsvoice. Protect Configuration Country Rule Protect Status - The types of protection that can be used.
- Country
Code string - The two-letter ISO country code
- Protect
Status ProtectConfiguration Country Rule Protect Status - The types of protection that can be used.
- country
Code String - The two-letter ISO country code
- protect
Status ProtectConfiguration Country Rule Protect Status - The types of protection that can be used.
- country
Code string - The two-letter ISO country code
- protect
Status ProtectConfiguration Country Rule Protect Status - The types of protection that can be used.
- country_
code str - The two-letter ISO country code
- protect_
status ProtectConfiguration Country Rule Protect Status - The types of protection that can be used.
- country
Code String - The two-letter ISO country code
- protect
Status "ALLOW" | "BLOCK" | "MONITOR" | "FILTER" - The types of protection that can be used.
ProtectConfigurationCountryRuleProtectStatus, ProtectConfigurationCountryRuleProtectStatusArgs
- Allow
- ALLOW
- Block
- BLOCK
- Monitor
- MONITOR
- Filter
- FILTER
- Protect
Configuration Country Rule Protect Status Allow - ALLOW
- Protect
Configuration Country Rule Protect Status Block - BLOCK
- Protect
Configuration Country Rule Protect Status Monitor - MONITOR
- Protect
Configuration Country Rule Protect Status Filter - FILTER
- Allow
- ALLOW
- Block
- BLOCK
- Monitor
- MONITOR
- Filter
- FILTER
- Allow
- ALLOW
- Block
- BLOCK
- Monitor
- MONITOR
- Filter
- FILTER
- ALLOW
- ALLOW
- BLOCK
- BLOCK
- MONITOR
- MONITOR
- FILTER
- FILTER
- "ALLOW"
- ALLOW
- "BLOCK"
- BLOCK
- "MONITOR"
- MONITOR
- "FILTER"
- FILTER
ProtectConfigurationCountryRuleSet, ProtectConfigurationCountryRuleSetArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.