1. Packages
  2. AWS Native
  3. API Docs
  4. applicationsignals
  5. ServiceLevelObjective

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.applicationsignals.ServiceLevelObjective

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Resource Type definition for AWS::ApplicationSignals::ServiceLevelObjective

    Create ServiceLevelObjective Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceLevelObjective(name: string, args: ServiceLevelObjectiveArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceLevelObjective(resource_name: str,
                              args: ServiceLevelObjectiveArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceLevelObjective(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              sli: Optional[ServiceLevelObjectiveSliArgs] = None,
                              description: Optional[str] = None,
                              goal: Optional[ServiceLevelObjectiveGoalArgs] = None,
                              name: Optional[str] = None,
                              tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewServiceLevelObjective(ctx *Context, name string, args ServiceLevelObjectiveArgs, opts ...ResourceOption) (*ServiceLevelObjective, error)
    public ServiceLevelObjective(string name, ServiceLevelObjectiveArgs args, CustomResourceOptions? opts = null)
    public ServiceLevelObjective(String name, ServiceLevelObjectiveArgs args)
    public ServiceLevelObjective(String name, ServiceLevelObjectiveArgs args, CustomResourceOptions options)
    
    type: aws-native:applicationsignals:ServiceLevelObjective
    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 ServiceLevelObjectiveArgs
    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 ServiceLevelObjectiveArgs
    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 ServiceLevelObjectiveArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceLevelObjectiveArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceLevelObjectiveArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ServiceLevelObjective 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 ServiceLevelObjective resource accepts the following input properties:

    Sli Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveSli
    A structure containing information about the performance metric that this SLO monitors.
    Description string
    An optional description for this SLO. Default is 'No description'
    Goal Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveGoal
    This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
    Name string
    The name of this SLO.
    Tags List<Pulumi.AwsNative.Inputs.Tag>

    A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    Sli ServiceLevelObjectiveSliArgs
    A structure containing information about the performance metric that this SLO monitors.
    Description string
    An optional description for this SLO. Default is 'No description'
    Goal ServiceLevelObjectiveGoalArgs
    This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
    Name string
    The name of this SLO.
    Tags TagArgs

    A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    sli ServiceLevelObjectiveSli
    A structure containing information about the performance metric that this SLO monitors.
    description String
    An optional description for this SLO. Default is 'No description'
    goal ServiceLevelObjectiveGoal
    This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
    name String
    The name of this SLO.
    tags List<Tag>

    A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    sli ServiceLevelObjectiveSli
    A structure containing information about the performance metric that this SLO monitors.
    description string
    An optional description for this SLO. Default is 'No description'
    goal ServiceLevelObjectiveGoal
    This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
    name string
    The name of this SLO.
    tags Tag[]

    A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    sli ServiceLevelObjectiveSliArgs
    A structure containing information about the performance metric that this SLO monitors.
    description str
    An optional description for this SLO. Default is 'No description'
    goal ServiceLevelObjectiveGoalArgs
    This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
    name str
    The name of this SLO.
    tags Sequence[TagArgs]

    A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    sli Property Map
    A structure containing information about the performance metric that this SLO monitors.
    description String
    An optional description for this SLO. Default is 'No description'
    goal Property Map
    This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.
    name String
    The name of this SLO.
    tags List<Property Map>

    A list of key-value pairs to associate with the SLO. You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.

    Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceLevelObjective resource produces the following output properties:

    Arn string
    The ARN of this SLO.
    CreatedTime int
    Epoch time in seconds of the time that this SLO was created
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime int
    Epoch time in seconds of the time that this SLO was most recently updated
    Arn string
    The ARN of this SLO.
    CreatedTime int
    Epoch time in seconds of the time that this SLO was created
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTime int
    Epoch time in seconds of the time that this SLO was most recently updated
    arn String
    The ARN of this SLO.
    createdTime Integer
    Epoch time in seconds of the time that this SLO was created
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime Integer
    Epoch time in seconds of the time that this SLO was most recently updated
    arn string
    The ARN of this SLO.
    createdTime number
    Epoch time in seconds of the time that this SLO was created
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime number
    Epoch time in seconds of the time that this SLO was most recently updated
    arn str
    The ARN of this SLO.
    created_time int
    Epoch time in seconds of the time that this SLO was created
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_time int
    Epoch time in seconds of the time that this SLO was most recently updated
    arn String
    The ARN of this SLO.
    createdTime Number
    Epoch time in seconds of the time that this SLO was created
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTime Number
    Epoch time in seconds of the time that this SLO was most recently updated

    Supporting Types

    ServiceLevelObjectiveCalendarInterval, ServiceLevelObjectiveCalendarIntervalArgs

    Duration int
    Specifies the duration of each calendar interval. For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.
    DurationUnit Pulumi.AwsNative.ApplicationSignals.ServiceLevelObjectiveDurationUnit
    Specifies the calendar interval unit.
    StartTime int
    Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. As soon as one calendar interval ends, another automatically begins.
    Duration int
    Specifies the duration of each calendar interval. For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.
    DurationUnit ServiceLevelObjectiveDurationUnit
    Specifies the calendar interval unit.
    StartTime int
    Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. As soon as one calendar interval ends, another automatically begins.
    duration Integer
    Specifies the duration of each calendar interval. For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.
    durationUnit ServiceLevelObjectiveDurationUnit
    Specifies the calendar interval unit.
    startTime Integer
    Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. As soon as one calendar interval ends, another automatically begins.
    duration number
    Specifies the duration of each calendar interval. For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.
    durationUnit ServiceLevelObjectiveDurationUnit
    Specifies the calendar interval unit.
    startTime number
    Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. As soon as one calendar interval ends, another automatically begins.
    duration int
    Specifies the duration of each calendar interval. For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.
    duration_unit ServiceLevelObjectiveDurationUnit
    Specifies the calendar interval unit.
    start_time int
    Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. As soon as one calendar interval ends, another automatically begins.
    duration Number
    Specifies the duration of each calendar interval. For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.
    durationUnit "DAY" | "MONTH"
    Specifies the calendar interval unit.
    startTime Number
    Epoch time in seconds you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m. As soon as one calendar interval ends, another automatically begins.

    ServiceLevelObjectiveDimension, ServiceLevelObjectiveDimensionArgs

    Name string
    The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.
    Value string
    The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values
    Name string
    The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.
    Value string
    The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values
    name String
    The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.
    value String
    The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values
    name string
    The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.
    value string
    The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values
    name str
    The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.
    value str
    The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values
    name String
    The name of the dimension. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:). ASCII control characters are not supported as part of dimension names.
    value String
    The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character. ASCII control characters are not supported as part of dimension values

    ServiceLevelObjectiveDurationUnit, ServiceLevelObjectiveDurationUnitArgs

    Day
    DAY
    Month
    MONTH
    ServiceLevelObjectiveDurationUnitDay
    DAY
    ServiceLevelObjectiveDurationUnitMonth
    MONTH
    Day
    DAY
    Month
    MONTH
    Day
    DAY
    Month
    MONTH
    DAY
    DAY
    MONTH
    MONTH
    "DAY"
    DAY
    "MONTH"
    MONTH

    ServiceLevelObjectiveGoal, ServiceLevelObjectiveGoalArgs

    AttainmentGoal double
    The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
    Interval Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveInterval

    The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

    If you omit this parameter, a rolling interval of 7 days is used.

    WarningThreshold double
    The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
    AttainmentGoal float64
    The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
    Interval ServiceLevelObjectiveInterval

    The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

    If you omit this parameter, a rolling interval of 7 days is used.

    WarningThreshold float64
    The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
    attainmentGoal Double
    The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
    interval ServiceLevelObjectiveInterval

    The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

    If you omit this parameter, a rolling interval of 7 days is used.

    warningThreshold Double
    The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
    attainmentGoal number
    The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
    interval ServiceLevelObjectiveInterval

    The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

    If you omit this parameter, a rolling interval of 7 days is used.

    warningThreshold number
    The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
    attainment_goal float
    The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
    interval ServiceLevelObjectiveInterval

    The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

    If you omit this parameter, a rolling interval of 7 days is used.

    warning_threshold float
    The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.
    attainmentGoal Number
    The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
    interval Property Map

    The time period used to evaluate the SLO. It can be either a calendar interval or rolling interval.

    If you omit this parameter, a rolling interval of 7 days is used.

    warningThreshold Number
    The percentage of remaining budget over total budget that you want to get warnings for. If you omit this parameter, the default of 50.0 is used.

    ServiceLevelObjectiveInterval, ServiceLevelObjectiveIntervalArgs

    CalendarInterval Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveCalendarInterval
    If the interval is a calendar interval, this structure contains the interval specifications.
    RollingInterval Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveRollingInterval
    If the interval is a rolling interval, this structure contains the interval specifications.
    CalendarInterval ServiceLevelObjectiveCalendarInterval
    If the interval is a calendar interval, this structure contains the interval specifications.
    RollingInterval ServiceLevelObjectiveRollingInterval
    If the interval is a rolling interval, this structure contains the interval specifications.
    calendarInterval ServiceLevelObjectiveCalendarInterval
    If the interval is a calendar interval, this structure contains the interval specifications.
    rollingInterval ServiceLevelObjectiveRollingInterval
    If the interval is a rolling interval, this structure contains the interval specifications.
    calendarInterval ServiceLevelObjectiveCalendarInterval
    If the interval is a calendar interval, this structure contains the interval specifications.
    rollingInterval ServiceLevelObjectiveRollingInterval
    If the interval is a rolling interval, this structure contains the interval specifications.
    calendar_interval ServiceLevelObjectiveCalendarInterval
    If the interval is a calendar interval, this structure contains the interval specifications.
    rolling_interval ServiceLevelObjectiveRollingInterval
    If the interval is a rolling interval, this structure contains the interval specifications.
    calendarInterval Property Map
    If the interval is a calendar interval, this structure contains the interval specifications.
    rollingInterval Property Map
    If the interval is a rolling interval, this structure contains the interval specifications.

    ServiceLevelObjectiveMetric, ServiceLevelObjectiveMetricArgs

    Dimensions List<Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveDimension>
    An array of one or more dimensions to use to define the metric that you want to use.
    MetricName string
    The name of the metric to use.
    Namespace string
    The namespace of the metric.
    Dimensions []ServiceLevelObjectiveDimension
    An array of one or more dimensions to use to define the metric that you want to use.
    MetricName string
    The name of the metric to use.
    Namespace string
    The namespace of the metric.
    dimensions List<ServiceLevelObjectiveDimension>
    An array of one or more dimensions to use to define the metric that you want to use.
    metricName String
    The name of the metric to use.
    namespace String
    The namespace of the metric.
    dimensions ServiceLevelObjectiveDimension[]
    An array of one or more dimensions to use to define the metric that you want to use.
    metricName string
    The name of the metric to use.
    namespace string
    The namespace of the metric.
    dimensions Sequence[ServiceLevelObjectiveDimension]
    An array of one or more dimensions to use to define the metric that you want to use.
    metric_name str
    The name of the metric to use.
    namespace str
    The namespace of the metric.
    dimensions List<Property Map>
    An array of one or more dimensions to use to define the metric that you want to use.
    metricName String
    The name of the metric to use.
    namespace String
    The namespace of the metric.

    ServiceLevelObjectiveMetricDataQuery, ServiceLevelObjectiveMetricDataQueryArgs

    Id string
    A short name used to tie this object to the results in the response.
    AccountId string
    The ID of the account where the metrics are located, if this is a cross-account alarm.
    Expression string
    The math expression to be performed on the returned data.
    MetricStat Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveMetricStat
    A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both.
    ReturnData bool
    This option indicates whether to return the timestamps and raw data values of this metric.
    Id string
    A short name used to tie this object to the results in the response.
    AccountId string
    The ID of the account where the metrics are located, if this is a cross-account alarm.
    Expression string
    The math expression to be performed on the returned data.
    MetricStat ServiceLevelObjectiveMetricStat
    A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both.
    ReturnData bool
    This option indicates whether to return the timestamps and raw data values of this metric.
    id String
    A short name used to tie this object to the results in the response.
    accountId String
    The ID of the account where the metrics are located, if this is a cross-account alarm.
    expression String
    The math expression to be performed on the returned data.
    metricStat ServiceLevelObjectiveMetricStat
    A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both.
    returnData Boolean
    This option indicates whether to return the timestamps and raw data values of this metric.
    id string
    A short name used to tie this object to the results in the response.
    accountId string
    The ID of the account where the metrics are located, if this is a cross-account alarm.
    expression string
    The math expression to be performed on the returned data.
    metricStat ServiceLevelObjectiveMetricStat
    A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both.
    returnData boolean
    This option indicates whether to return the timestamps and raw data values of this metric.
    id str
    A short name used to tie this object to the results in the response.
    account_id str
    The ID of the account where the metrics are located, if this is a cross-account alarm.
    expression str
    The math expression to be performed on the returned data.
    metric_stat ServiceLevelObjectiveMetricStat
    A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both.
    return_data bool
    This option indicates whether to return the timestamps and raw data values of this metric.
    id String
    A short name used to tie this object to the results in the response.
    accountId String
    The ID of the account where the metrics are located, if this is a cross-account alarm.
    expression String
    The math expression to be performed on the returned data.
    metricStat Property Map
    A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery, you must specify either Expression or MetricStat but not both.
    returnData Boolean
    This option indicates whether to return the timestamps and raw data values of this metric.

    ServiceLevelObjectiveMetricStat, ServiceLevelObjectiveMetricStatArgs

    Metric Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveMetric
    Period int
    The granularity, in seconds, to be used for the metric.
    Stat string
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
    Unit string
    If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
    Metric ServiceLevelObjectiveMetric
    Period int
    The granularity, in seconds, to be used for the metric.
    Stat string
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
    Unit string
    If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
    metric ServiceLevelObjectiveMetric
    period Integer
    The granularity, in seconds, to be used for the metric.
    stat String
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
    unit String
    If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
    metric ServiceLevelObjectiveMetric
    period number
    The granularity, in seconds, to be used for the metric.
    stat string
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
    unit string
    If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
    metric ServiceLevelObjectiveMetric
    period int
    The granularity, in seconds, to be used for the metric.
    stat str
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
    unit str
    If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.
    metric Property Map
    period Number
    The granularity, in seconds, to be used for the metric.
    stat String
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic.
    unit String
    If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.

    ServiceLevelObjectiveRollingInterval, ServiceLevelObjectiveRollingIntervalArgs

    Duration int
    Specifies the duration of each rolling interval. For example, if Duration is 7 and DurationUnit is DAY , each rolling interval is seven days.
    DurationUnit Pulumi.AwsNative.ApplicationSignals.ServiceLevelObjectiveDurationUnit
    Specifies the rolling interval unit.
    Duration int
    Specifies the duration of each rolling interval. For example, if Duration is 7 and DurationUnit is DAY , each rolling interval is seven days.
    DurationUnit ServiceLevelObjectiveDurationUnit
    Specifies the rolling interval unit.
    duration Integer
    Specifies the duration of each rolling interval. For example, if Duration is 7 and DurationUnit is DAY , each rolling interval is seven days.
    durationUnit ServiceLevelObjectiveDurationUnit
    Specifies the rolling interval unit.
    duration number
    Specifies the duration of each rolling interval. For example, if Duration is 7 and DurationUnit is DAY , each rolling interval is seven days.
    durationUnit ServiceLevelObjectiveDurationUnit
    Specifies the rolling interval unit.
    duration int
    Specifies the duration of each rolling interval. For example, if Duration is 7 and DurationUnit is DAY , each rolling interval is seven days.
    duration_unit ServiceLevelObjectiveDurationUnit
    Specifies the rolling interval unit.
    duration Number
    Specifies the duration of each rolling interval. For example, if Duration is 7 and DurationUnit is DAY , each rolling interval is seven days.
    durationUnit "DAY" | "MONTH"
    Specifies the rolling interval unit.

    ServiceLevelObjectiveSli, ServiceLevelObjectiveSliArgs

    ComparisonOperator Pulumi.AwsNative.ApplicationSignals.ServiceLevelObjectiveSliComparisonOperator
    The arithmetic operation used when comparing the specified metric to the threshold.
    MetricThreshold double
    The value that the SLI metric is compared to.
    SliMetric Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveSliMetric
    Use this structure to specify the metric to be used for the SLO.
    ComparisonOperator ServiceLevelObjectiveSliComparisonOperator
    The arithmetic operation used when comparing the specified metric to the threshold.
    MetricThreshold float64
    The value that the SLI metric is compared to.
    SliMetric ServiceLevelObjectiveSliMetric
    Use this structure to specify the metric to be used for the SLO.
    comparisonOperator ServiceLevelObjectiveSliComparisonOperator
    The arithmetic operation used when comparing the specified metric to the threshold.
    metricThreshold Double
    The value that the SLI metric is compared to.
    sliMetric ServiceLevelObjectiveSliMetric
    Use this structure to specify the metric to be used for the SLO.
    comparisonOperator ServiceLevelObjectiveSliComparisonOperator
    The arithmetic operation used when comparing the specified metric to the threshold.
    metricThreshold number
    The value that the SLI metric is compared to.
    sliMetric ServiceLevelObjectiveSliMetric
    Use this structure to specify the metric to be used for the SLO.
    comparison_operator ServiceLevelObjectiveSliComparisonOperator
    The arithmetic operation used when comparing the specified metric to the threshold.
    metric_threshold float
    The value that the SLI metric is compared to.
    sli_metric ServiceLevelObjectiveSliMetric
    Use this structure to specify the metric to be used for the SLO.
    comparisonOperator "GreaterThanOrEqualTo" | "LessThanOrEqualTo" | "LessThan" | "GreaterThan"
    The arithmetic operation used when comparing the specified metric to the threshold.
    metricThreshold Number
    The value that the SLI metric is compared to.
    sliMetric Property Map
    Use this structure to specify the metric to be used for the SLO.

    ServiceLevelObjectiveSliComparisonOperator, ServiceLevelObjectiveSliComparisonOperatorArgs

    GreaterThanOrEqualTo
    GreaterThanOrEqualTo
    LessThanOrEqualTo
    LessThanOrEqualTo
    LessThan
    LessThan
    GreaterThan
    GreaterThan
    ServiceLevelObjectiveSliComparisonOperatorGreaterThanOrEqualTo
    GreaterThanOrEqualTo
    ServiceLevelObjectiveSliComparisonOperatorLessThanOrEqualTo
    LessThanOrEqualTo
    ServiceLevelObjectiveSliComparisonOperatorLessThan
    LessThan
    ServiceLevelObjectiveSliComparisonOperatorGreaterThan
    GreaterThan
    GreaterThanOrEqualTo
    GreaterThanOrEqualTo
    LessThanOrEqualTo
    LessThanOrEqualTo
    LessThan
    LessThan
    GreaterThan
    GreaterThan
    GreaterThanOrEqualTo
    GreaterThanOrEqualTo
    LessThanOrEqualTo
    LessThanOrEqualTo
    LessThan
    LessThan
    GreaterThan
    GreaterThan
    GREATER_THAN_OR_EQUAL_TO
    GreaterThanOrEqualTo
    LESS_THAN_OR_EQUAL_TO
    LessThanOrEqualTo
    LESS_THAN
    LessThan
    GREATER_THAN
    GreaterThan
    "GreaterThanOrEqualTo"
    GreaterThanOrEqualTo
    "LessThanOrEqualTo"
    LessThanOrEqualTo
    "LessThan"
    LessThan
    "GreaterThan"
    GreaterThan

    ServiceLevelObjectiveSliMetric, ServiceLevelObjectiveSliMetricArgs

    KeyAttributes Dictionary<string, string>

    If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type , Name , and Environment attributes.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.
    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource .
    • Name specifies the name of the object. This is used only if the value of the Type field is Service , RemoteService , or AWS::Service .
    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource .
    • Environment specifies the location where this object is hosted, or what it belongs to.
    MetricDataQueries List<Pulumi.AwsNative.ApplicationSignals.Inputs.ServiceLevelObjectiveMetricDataQuery>
    If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
    MetricType Pulumi.AwsNative.ApplicationSignals.ServiceLevelObjectiveSliMetricMetricType
    If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
    OperationName string
    If the SLO monitors a specific operation of the service, this field displays that operation name.
    PeriodSeconds int
    The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
    Statistic string
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic
    KeyAttributes map[string]string

    If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type , Name , and Environment attributes.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.
    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource .
    • Name specifies the name of the object. This is used only if the value of the Type field is Service , RemoteService , or AWS::Service .
    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource .
    • Environment specifies the location where this object is hosted, or what it belongs to.
    MetricDataQueries []ServiceLevelObjectiveMetricDataQuery
    If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
    MetricType ServiceLevelObjectiveSliMetricMetricType
    If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
    OperationName string
    If the SLO monitors a specific operation of the service, this field displays that operation name.
    PeriodSeconds int
    The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
    Statistic string
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic
    keyAttributes Map<String,String>

    If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type , Name , and Environment attributes.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.
    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource .
    • Name specifies the name of the object. This is used only if the value of the Type field is Service , RemoteService , or AWS::Service .
    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource .
    • Environment specifies the location where this object is hosted, or what it belongs to.
    metricDataQueries List<ServiceLevelObjectiveMetricDataQuery>
    If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
    metricType ServiceLevelObjectiveSliMetricMetricType
    If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
    operationName String
    If the SLO monitors a specific operation of the service, this field displays that operation name.
    periodSeconds Integer
    The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
    statistic String
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic
    keyAttributes {[key: string]: string}

    If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type , Name , and Environment attributes.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.
    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource .
    • Name specifies the name of the object. This is used only if the value of the Type field is Service , RemoteService , or AWS::Service .
    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource .
    • Environment specifies the location where this object is hosted, or what it belongs to.
    metricDataQueries ServiceLevelObjectiveMetricDataQuery[]
    If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
    metricType ServiceLevelObjectiveSliMetricMetricType
    If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
    operationName string
    If the SLO monitors a specific operation of the service, this field displays that operation name.
    periodSeconds number
    The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
    statistic string
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic
    key_attributes Mapping[str, str]

    If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type , Name , and Environment attributes.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.
    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource .
    • Name specifies the name of the object. This is used only if the value of the Type field is Service , RemoteService , or AWS::Service .
    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource .
    • Environment specifies the location where this object is hosted, or what it belongs to.
    metric_data_queries Sequence[ServiceLevelObjectiveMetricDataQuery]
    If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
    metric_type ServiceLevelObjectiveSliMetricMetricType
    If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
    operation_name str
    If the SLO monitors a specific operation of the service, this field displays that operation name.
    period_seconds int
    The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
    statistic str
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic
    keyAttributes Map<String>

    If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type , Name , and Environment attributes.

    This is a string-to-string map. It can include the following fields.

    • Type designates the type of object this is.
    • ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource .
    • Name specifies the name of the object. This is used only if the value of the Type field is Service , RemoteService , or AWS::Service .
    • Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource .
    • Environment specifies the location where this object is hosted, or what it belongs to.
    metricDataQueries List<Property Map>
    If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.
    metricType "LATENCY" | "AVAILABILITY"
    If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
    operationName String
    If the SLO monitors a specific operation of the service, this field displays that operation name.
    periodSeconds Number
    The number of seconds to use as the period for SLO evaluation. Your application's performance is compared to the SLI during each period. For each period, the application is determined to have either achieved or not achieved the necessary performance.
    statistic String
    The statistic to use for comparison to the threshold. It can be any CloudWatch statistic or extended statistic

    ServiceLevelObjectiveSliMetricMetricType, ServiceLevelObjectiveSliMetricMetricTypeArgs

    Latency
    LATENCY
    Availability
    AVAILABILITY
    ServiceLevelObjectiveSliMetricMetricTypeLatency
    LATENCY
    ServiceLevelObjectiveSliMetricMetricTypeAvailability
    AVAILABILITY
    Latency
    LATENCY
    Availability
    AVAILABILITY
    Latency
    LATENCY
    Availability
    AVAILABILITY
    LATENCY
    LATENCY
    AVAILABILITY
    AVAILABILITY
    "LATENCY"
    LATENCY
    "AVAILABILITY"
    AVAILABILITY

    Tag, TagArgs

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi