1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. smsvoice
  5. getProtectConfiguration

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

aws-native.smsvoice.getProtectConfiguration

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

    Resource Type definition for AWS::SMSVOICE::ProtectConfiguration

    Using getProtectConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getProtectConfiguration(args: GetProtectConfigurationArgs, opts?: InvokeOptions): Promise<GetProtectConfigurationResult>
    function getProtectConfigurationOutput(args: GetProtectConfigurationOutputArgs, opts?: InvokeOptions): Output<GetProtectConfigurationResult>
    def get_protect_configuration(protect_configuration_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetProtectConfigurationResult
    def get_protect_configuration_output(protect_configuration_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetProtectConfigurationResult]
    func LookupProtectConfiguration(ctx *Context, args *LookupProtectConfigurationArgs, opts ...InvokeOption) (*LookupProtectConfigurationResult, error)
    func LookupProtectConfigurationOutput(ctx *Context, args *LookupProtectConfigurationOutputArgs, opts ...InvokeOption) LookupProtectConfigurationResultOutput

    > Note: This function is named LookupProtectConfiguration in the Go SDK.

    public static class GetProtectConfiguration 
    {
        public static Task<GetProtectConfigurationResult> InvokeAsync(GetProtectConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetProtectConfigurationResult> Invoke(GetProtectConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProtectConfigurationResult> getProtectConfiguration(GetProtectConfigurationArgs args, InvokeOptions options)
    public static Output<GetProtectConfigurationResult> getProtectConfiguration(GetProtectConfigurationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:smsvoice:getProtectConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProtectConfigurationId string
    The unique identifier for the protect configuration.
    ProtectConfigurationId string
    The unique identifier for the protect configuration.
    protectConfigurationId String
    The unique identifier for the protect configuration.
    protectConfigurationId string
    The unique identifier for the protect configuration.
    protect_configuration_id str
    The unique identifier for the protect configuration.
    protectConfigurationId String
    The unique identifier for the protect configuration.

    getProtectConfiguration Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the protect configuration.
    CountryRuleSet Pulumi.AwsNative.Smsvoice.Outputs.ProtectConfigurationCountryRuleSet
    An array of CountryRule containing the rules for the NumberCapability.
    DeletionProtectionEnabled bool
    When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
    ProtectConfigurationId string
    The unique identifier for the protect configuration.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    The Amazon Resource Name (ARN) of the protect configuration.
    CountryRuleSet ProtectConfigurationCountryRuleSet
    An array of CountryRule containing the rules for the NumberCapability.
    DeletionProtectionEnabled bool
    When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
    ProtectConfigurationId string
    The unique identifier for the protect configuration.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) of the protect configuration.
    countryRuleSet ProtectConfigurationCountryRuleSet
    An array of CountryRule containing the rules for the NumberCapability.
    deletionProtectionEnabled Boolean
    When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
    protectConfigurationId String
    The unique identifier for the protect configuration.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    The Amazon Resource Name (ARN) of the protect configuration.
    countryRuleSet ProtectConfigurationCountryRuleSet
    An array of CountryRule containing the rules for the NumberCapability.
    deletionProtectionEnabled boolean
    When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
    protectConfigurationId string
    The unique identifier for the protect configuration.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    The Amazon Resource Name (ARN) of the protect configuration.
    country_rule_set ProtectConfigurationCountryRuleSet
    An array of CountryRule containing the rules for the NumberCapability.
    deletion_protection_enabled bool
    When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
    protect_configuration_id str
    The unique identifier for the protect configuration.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) of the protect configuration.
    countryRuleSet Property Map
    An array of CountryRule containing the rules for the NumberCapability.
    deletionProtectionEnabled Boolean
    When set to true deletion protection is enabled and protect configuration cannot be deleted. By default this is set to false.
    protectConfigurationId String
    The unique identifier for the protect configuration.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    ProtectConfigurationCountryRule

    CountryCode string
    The two-letter ISO country code
    ProtectStatus Pulumi.AwsNative.Smsvoice.ProtectConfigurationCountryRuleProtectStatus
    The types of protection that can be used.
    CountryCode string
    The two-letter ISO country code
    ProtectStatus ProtectConfigurationCountryRuleProtectStatus
    The types of protection that can be used.
    countryCode String
    The two-letter ISO country code
    protectStatus ProtectConfigurationCountryRuleProtectStatus
    The types of protection that can be used.
    countryCode string
    The two-letter ISO country code
    protectStatus ProtectConfigurationCountryRuleProtectStatus
    The types of protection that can be used.
    country_code str
    The two-letter ISO country code
    protect_status ProtectConfigurationCountryRuleProtectStatus
    The types of protection that can be used.
    countryCode String
    The two-letter ISO country code
    protectStatus "ALLOW" | "BLOCK" | "MONITOR" | "FILTER"
    The types of protection that can be used.

    ProtectConfigurationCountryRuleProtectStatus

    ProtectConfigurationCountryRuleSet

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi