AWS Native v0.63.0, May 25 23
AWS Native v0.63.0, May 25 23
aws-native.iot.getSecurityProfile
Explore with Pulumi AI
A security profile defines a set of expected behaviors for devices in your account.
Using getSecurityProfile
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 getSecurityProfile(args: GetSecurityProfileArgs, opts?: InvokeOptions): Promise<GetSecurityProfileResult>
function getSecurityProfileOutput(args: GetSecurityProfileOutputArgs, opts?: InvokeOptions): Output<GetSecurityProfileResult>
def get_security_profile(security_profile_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecurityProfileResult
def get_security_profile_output(security_profile_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecurityProfileResult]
func LookupSecurityProfile(ctx *Context, args *LookupSecurityProfileArgs, opts ...InvokeOption) (*LookupSecurityProfileResult, error)
func LookupSecurityProfileOutput(ctx *Context, args *LookupSecurityProfileOutputArgs, opts ...InvokeOption) LookupSecurityProfileResultOutput
> Note: This function is named LookupSecurityProfile
in the Go SDK.
public static class GetSecurityProfile
{
public static Task<GetSecurityProfileResult> InvokeAsync(GetSecurityProfileArgs args, InvokeOptions? opts = null)
public static Output<GetSecurityProfileResult> Invoke(GetSecurityProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityProfileResult> getSecurityProfile(GetSecurityProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iot:getSecurityProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Security
Profile stringName A unique identifier for the security profile.
- Security
Profile stringName A unique identifier for the security profile.
- security
Profile StringName A unique identifier for the security profile.
- security
Profile stringName A unique identifier for the security profile.
- security_
profile_ strname A unique identifier for the security profile.
- security
Profile StringName A unique identifier for the security profile.
getSecurityProfile Result
The following output properties are available:
- Additional
Metrics List<Pulumi.To Retain V2 Aws Native. Io T. Outputs. Security Profile Metric To Retain> A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
- Alert
Targets object Specifies the destinations to which alerts are sent.
- Behaviors
List<Pulumi.
Aws Native. Io T. Outputs. Security Profile Behavior> Specifies the behaviors that, when violated by a device (thing), cause an alert.
- Security
Profile stringArn The ARN (Amazon resource name) of the created security profile.
- Security
Profile stringDescription A description of the security profile.
- List<Pulumi.
Aws Native. Io T. Outputs. Security Profile Tag> Metadata that can be used to manage the security profile.
- Target
Arns List<string> A set of target ARNs that the security profile is attached to.
- Additional
Metrics []SecurityTo Retain V2 Profile Metric To Retain A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
- Alert
Targets interface{} Specifies the destinations to which alerts are sent.
- Behaviors
[]Security
Profile Behavior Specifies the behaviors that, when violated by a device (thing), cause an alert.
- Security
Profile stringArn The ARN (Amazon resource name) of the created security profile.
- Security
Profile stringDescription A description of the security profile.
- []Security
Profile Tag Metadata that can be used to manage the security profile.
- Target
Arns []string A set of target ARNs that the security profile is attached to.
- additional
Metrics List<SecurityTo Retain V2 Profile Metric To Retain> A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
- alert
Targets Object Specifies the destinations to which alerts are sent.
- behaviors
List<Security
Profile Behavior> Specifies the behaviors that, when violated by a device (thing), cause an alert.
- security
Profile StringArn The ARN (Amazon resource name) of the created security profile.
- security
Profile StringDescription A description of the security profile.
- List<Security
Profile Tag> Metadata that can be used to manage the security profile.
- target
Arns List<String> A set of target ARNs that the security profile is attached to.
- additional
Metrics SecurityTo Retain V2 Profile Metric To Retain[] A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
- alert
Targets any Specifies the destinations to which alerts are sent.
- behaviors
Security
Profile Behavior[] Specifies the behaviors that, when violated by a device (thing), cause an alert.
- security
Profile stringArn The ARN (Amazon resource name) of the created security profile.
- security
Profile stringDescription A description of the security profile.
- Security
Profile Tag[] Metadata that can be used to manage the security profile.
- target
Arns string[] A set of target ARNs that the security profile is attached to.
- additional_
metrics_ Sequence[Securityto_ retain_ v2 Profile Metric To Retain] A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
- alert_
targets Any Specifies the destinations to which alerts are sent.
- behaviors
Sequence[Security
Profile Behavior] Specifies the behaviors that, when violated by a device (thing), cause an alert.
- security_
profile_ strarn The ARN (Amazon resource name) of the created security profile.
- security_
profile_ strdescription A description of the security profile.
- Sequence[Security
Profile Tag] Metadata that can be used to manage the security profile.
- target_
arns Sequence[str] A set of target ARNs that the security profile is attached to.
- additional
Metrics List<Property Map>To Retain V2 A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
- alert
Targets Any Specifies the destinations to which alerts are sent.
- behaviors List<Property Map>
Specifies the behaviors that, when violated by a device (thing), cause an alert.
- security
Profile StringArn The ARN (Amazon resource name) of the created security profile.
- security
Profile StringDescription A description of the security profile.
- List<Property Map>
Metadata that can be used to manage the security profile.
- target
Arns List<String> A set of target ARNs that the security profile is attached to.
Supporting Types
SecurityProfileBehavior
- Name string
The name for the behavior.
- Criteria
Pulumi.
Aws Native. Io T. Inputs. Security Profile Behavior Criteria - Metric string
What is measured by the behavior.
- Metric
Dimension Pulumi.Aws Native. Io T. Inputs. Security Profile Metric Dimension - Suppress
Alerts bool Manage Detect alarm SNS notifications by setting behavior notification to on or suppressed. Detect will continue to performing device behavior evaluations. However, suppressed alarms wouldn't be forwarded for SNS notification.
- Name string
The name for the behavior.
- Criteria
Security
Profile Behavior Criteria - Metric string
What is measured by the behavior.
- Metric
Dimension SecurityProfile Metric Dimension - Suppress
Alerts bool Manage Detect alarm SNS notifications by setting behavior notification to on or suppressed. Detect will continue to performing device behavior evaluations. However, suppressed alarms wouldn't be forwarded for SNS notification.
- name String
The name for the behavior.
- criteria
Security
Profile Behavior Criteria - metric String
What is measured by the behavior.
- metric
Dimension SecurityProfile Metric Dimension - suppress
Alerts Boolean Manage Detect alarm SNS notifications by setting behavior notification to on or suppressed. Detect will continue to performing device behavior evaluations. However, suppressed alarms wouldn't be forwarded for SNS notification.
- name string
The name for the behavior.
- criteria
Security
Profile Behavior Criteria - metric string
What is measured by the behavior.
- metric
Dimension SecurityProfile Metric Dimension - suppress
Alerts boolean Manage Detect alarm SNS notifications by setting behavior notification to on or suppressed. Detect will continue to performing device behavior evaluations. However, suppressed alarms wouldn't be forwarded for SNS notification.
- name str
The name for the behavior.
- criteria
Security
Profile Behavior Criteria - metric str
What is measured by the behavior.
- metric_
dimension SecurityProfile Metric Dimension - suppress_
alerts bool Manage Detect alarm SNS notifications by setting behavior notification to on or suppressed. Detect will continue to performing device behavior evaluations. However, suppressed alarms wouldn't be forwarded for SNS notification.
- name String
The name for the behavior.
- criteria Property Map
- metric String
What is measured by the behavior.
- metric
Dimension Property Map - suppress
Alerts Boolean Manage Detect alarm SNS notifications by setting behavior notification to on or suppressed. Detect will continue to performing device behavior evaluations. However, suppressed alarms wouldn't be forwarded for SNS notification.
SecurityProfileBehaviorCriteria
- Comparison
Operator Pulumi.Aws Native. Io T. Security Profile Behavior Criteria Comparison Operator The operator that relates the thing measured (metric) to the criteria (containing a value or statisticalThreshold).
- Consecutive
Datapoints intTo Alarm If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
- Consecutive
Datapoints intTo Clear If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.
- Duration
Seconds int Use this to specify the time duration over which the behavior is evaluated.
- Ml
Detection Pulumi.Config Aws Native. Io T. Inputs. Security Profile Machine Learning Detection Config - Statistical
Threshold Pulumi.Aws Native. Io T. Inputs. Security Profile Statistical Threshold - Value
Pulumi.
Aws Native. Io T. Inputs. Security Profile Metric Value
- Comparison
Operator SecurityProfile Behavior Criteria Comparison Operator The operator that relates the thing measured (metric) to the criteria (containing a value or statisticalThreshold).
- Consecutive
Datapoints intTo Alarm If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
- Consecutive
Datapoints intTo Clear If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.
- Duration
Seconds int Use this to specify the time duration over which the behavior is evaluated.
- Ml
Detection SecurityConfig Profile Machine Learning Detection Config - Statistical
Threshold SecurityProfile Statistical Threshold - Value
Security
Profile Metric Value
- comparison
Operator SecurityProfile Behavior Criteria Comparison Operator The operator that relates the thing measured (metric) to the criteria (containing a value or statisticalThreshold).
- consecutive
Datapoints IntegerTo Alarm If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
- consecutive
Datapoints IntegerTo Clear If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.
- duration
Seconds Integer Use this to specify the time duration over which the behavior is evaluated.
- ml
Detection SecurityConfig Profile Machine Learning Detection Config - statistical
Threshold SecurityProfile Statistical Threshold - value
Security
Profile Metric Value
- comparison
Operator SecurityProfile Behavior Criteria Comparison Operator The operator that relates the thing measured (metric) to the criteria (containing a value or statisticalThreshold).
- consecutive
Datapoints numberTo Alarm If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
- consecutive
Datapoints numberTo Clear If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.
- duration
Seconds number Use this to specify the time duration over which the behavior is evaluated.
- ml
Detection SecurityConfig Profile Machine Learning Detection Config - statistical
Threshold SecurityProfile Statistical Threshold - value
Security
Profile Metric Value
- comparison_
operator SecurityProfile Behavior Criteria Comparison Operator The operator that relates the thing measured (metric) to the criteria (containing a value or statisticalThreshold).
- consecutive_
datapoints_ intto_ alarm If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
- consecutive_
datapoints_ intto_ clear If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.
- duration_
seconds int Use this to specify the time duration over which the behavior is evaluated.
- ml_
detection_ Securityconfig Profile Machine Learning Detection Config - statistical_
threshold SecurityProfile Statistical Threshold - value
Security
Profile Metric Value
- comparison
Operator "less-than" | "less-than-equals" | "greater-than" | "greater-than-equals" | "in-cidr-set" | "not-in-cidr-set" | "in-port-set" | "not-in-port-set" | "in-set" | "not-in-set" The operator that relates the thing measured (metric) to the criteria (containing a value or statisticalThreshold).
- consecutive
Datapoints NumberTo Alarm If a device is in violation of the behavior for the specified number of consecutive datapoints, an alarm occurs. If not specified, the default is 1.
- consecutive
Datapoints NumberTo Clear If an alarm has occurred and the offending device is no longer in violation of the behavior for the specified number of consecutive datapoints, the alarm is cleared. If not specified, the default is 1.
- duration
Seconds Number Use this to specify the time duration over which the behavior is evaluated.
- ml
Detection Property MapConfig - statistical
Threshold Property Map - value Property Map
SecurityProfileBehaviorCriteriaComparisonOperator
SecurityProfileMachineLearningDetectionConfig
- Confidence
Level Pulumi.Aws Native. Io T. Security Profile Machine Learning Detection Config Confidence Level The sensitivity of anomalous behavior evaluation. Can be Low, Medium, or High.
- Confidence
Level SecurityProfile Machine Learning Detection Config Confidence Level The sensitivity of anomalous behavior evaluation. Can be Low, Medium, or High.
- confidence
Level SecurityProfile Machine Learning Detection Config Confidence Level The sensitivity of anomalous behavior evaluation. Can be Low, Medium, or High.
- confidence
Level SecurityProfile Machine Learning Detection Config Confidence Level The sensitivity of anomalous behavior evaluation. Can be Low, Medium, or High.
- confidence_
level SecurityProfile Machine Learning Detection Config Confidence Level The sensitivity of anomalous behavior evaluation. Can be Low, Medium, or High.
- confidence
Level "LOW" | "MEDIUM" | "HIGH" The sensitivity of anomalous behavior evaluation. Can be Low, Medium, or High.
SecurityProfileMachineLearningDetectionConfigConfidenceLevel
SecurityProfileMetricDimension
- Dimension
Name string A unique identifier for the dimension.
- Operator
Pulumi.
Aws Native. Io T. Security Profile Metric Dimension Operator Defines how the dimensionValues of a dimension are interpreted.
- Dimension
Name string A unique identifier for the dimension.
- Operator
Security
Profile Metric Dimension Operator Defines how the dimensionValues of a dimension are interpreted.
- dimension
Name String A unique identifier for the dimension.
- operator
Security
Profile Metric Dimension Operator Defines how the dimensionValues of a dimension are interpreted.
- dimension
Name string A unique identifier for the dimension.
- operator
Security
Profile Metric Dimension Operator Defines how the dimensionValues of a dimension are interpreted.
- dimension_
name str A unique identifier for the dimension.
- operator
Security
Profile Metric Dimension Operator Defines how the dimensionValues of a dimension are interpreted.
- dimension
Name String A unique identifier for the dimension.
- operator "IN" | "NOT_IN"
Defines how the dimensionValues of a dimension are interpreted.
SecurityProfileMetricDimensionOperator
SecurityProfileMetricToRetain
- Metric string
What is measured by the behavior.
- Metric
Dimension Pulumi.Aws Native. Io T. Inputs. Security Profile Metric Dimension
- Metric string
What is measured by the behavior.
- Metric
Dimension SecurityProfile Metric Dimension
- metric String
What is measured by the behavior.
- metric
Dimension SecurityProfile Metric Dimension
- metric string
What is measured by the behavior.
- metric
Dimension SecurityProfile Metric Dimension
- metric str
What is measured by the behavior.
- metric_
dimension SecurityProfile Metric Dimension
- metric String
What is measured by the behavior.
- metric
Dimension Property Map
SecurityProfileMetricValue
- Cidrs List<string>
If the ComparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
- Count string
If the ComparisonOperator calls for a numeric value, use this to specify that (integer) numeric value to be compared with the metric.
- Number double
The numeral value of a metric.
- Numbers List<double>
The numeral values of a metric.
- Ports List<int>
If the ComparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
- Strings List<string>
The string values of a metric.
- Cidrs []string
If the ComparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
- Count string
If the ComparisonOperator calls for a numeric value, use this to specify that (integer) numeric value to be compared with the metric.
- Number float64
The numeral value of a metric.
- Numbers []float64
The numeral values of a metric.
- Ports []int
If the ComparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
- Strings []string
The string values of a metric.
- cidrs List<String>
If the ComparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
- count String
If the ComparisonOperator calls for a numeric value, use this to specify that (integer) numeric value to be compared with the metric.
- number Double
The numeral value of a metric.
- numbers List<Double>
The numeral values of a metric.
- ports List<Integer>
If the ComparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
- strings List<String>
The string values of a metric.
- cidrs string[]
If the ComparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
- count string
If the ComparisonOperator calls for a numeric value, use this to specify that (integer) numeric value to be compared with the metric.
- number number
The numeral value of a metric.
- numbers number[]
The numeral values of a metric.
- ports number[]
If the ComparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
- strings string[]
The string values of a metric.
- cidrs Sequence[str]
If the ComparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
- count str
If the ComparisonOperator calls for a numeric value, use this to specify that (integer) numeric value to be compared with the metric.
- number float
The numeral value of a metric.
- numbers Sequence[float]
The numeral values of a metric.
- ports Sequence[int]
If the ComparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
- strings Sequence[str]
The string values of a metric.
- cidrs List<String>
If the ComparisonOperator calls for a set of CIDRs, use this to specify that set to be compared with the metric.
- count String
If the ComparisonOperator calls for a numeric value, use this to specify that (integer) numeric value to be compared with the metric.
- number Number
The numeral value of a metric.
- numbers List<Number>
The numeral values of a metric.
- ports List<Number>
If the ComparisonOperator calls for a set of ports, use this to specify that set to be compared with the metric.
- strings List<String>
The string values of a metric.
SecurityProfileStatisticalThreshold
- Statistic
Pulumi.
Aws Native. Io T. Security Profile Statistical Threshold Statistic The percentile which resolves to a threshold value by which compliance with a behavior is determined
- Statistic
Security
Profile Statistical Threshold Statistic The percentile which resolves to a threshold value by which compliance with a behavior is determined
- statistic
Security
Profile Statistical Threshold Statistic The percentile which resolves to a threshold value by which compliance with a behavior is determined
- statistic
Security
Profile Statistical Threshold Statistic The percentile which resolves to a threshold value by which compliance with a behavior is determined
- statistic
Security
Profile Statistical Threshold Statistic The percentile which resolves to a threshold value by which compliance with a behavior is determined
- statistic "Average" | "p0" | "p0.1" | "p0.01" | "p1" | "p10" | "p50" | "p90" | "p99" | "p99.9" | "p99.99" | "p100"
The percentile which resolves to a threshold value by which compliance with a behavior is determined
SecurityProfileStatisticalThresholdStatistic
SecurityProfileTag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0