Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws.ssmincidents.getResponsePlan
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi
Use this data source to manage a response plan in AWS Systems Manager Incident Manager.
Example Usage
Basic Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
example:
type: aws:ssmincidents:ResponsePlan
properties:
arn: exampleARN
Using getResponsePlan
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 getResponsePlan(args: GetResponsePlanArgs, opts?: InvokeOptions): Promise<GetResponsePlanResult>
function getResponsePlanOutput(args: GetResponsePlanOutputArgs, opts?: InvokeOptions): Output<GetResponsePlanResult>
def get_response_plan(arn: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetResponsePlanResult
def get_response_plan_output(arn: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResponsePlanResult]
func LookupResponsePlan(ctx *Context, args *LookupResponsePlanArgs, opts ...InvokeOption) (*LookupResponsePlanResult, error)
func LookupResponsePlanOutput(ctx *Context, args *LookupResponsePlanOutputArgs, opts ...InvokeOption) LookupResponsePlanResultOutput
> Note: This function is named LookupResponsePlan
in the Go SDK.
public static class GetResponsePlan
{
public static Task<GetResponsePlanResult> InvokeAsync(GetResponsePlanArgs args, InvokeOptions? opts = null)
public static Output<GetResponsePlanResult> Invoke(GetResponsePlanInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResponsePlanResult> getResponsePlan(GetResponsePlanArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:ssmincidents/getResponsePlan:getResponsePlan
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the response plan.
- Dictionary<string, string>
- The tags applied to the response plan.
- Arn string
- The Amazon Resource Name (ARN) of the response plan.
- map[string]string
- The tags applied to the response plan.
- arn String
- The Amazon Resource Name (ARN) of the response plan.
- Map<String,String>
- The tags applied to the response plan.
- arn string
- The Amazon Resource Name (ARN) of the response plan.
- {[key: string]: string}
- The tags applied to the response plan.
- arn str
- The Amazon Resource Name (ARN) of the response plan.
- Mapping[str, str]
- The tags applied to the response plan.
- arn String
- The Amazon Resource Name (ARN) of the response plan.
- Map<String>
- The tags applied to the response plan.
getResponsePlan Result
The following output properties are available:
- Actions
List<Get
Response Plan Action> - (Optional) The actions that the response plan starts at the beginning of an incident.
- Arn string
- Chat
Channels List<string> - The Chatbot chat channel used for collaboration during an incident.
- Display
Name string - The long format of the response plan name. This field can contain spaces.
- Engagements List<string>
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- Id string
- The provider-assigned unique ID for this managed resource.
- Incident
Templates List<GetResponse Plan Incident Template> - Integrations
List<Get
Response Plan Integration> - Information about third-party services integrated into the response plan. The following values are supported:
- Name string
- The name of the PagerDuty configuration.
- Dictionary<string, string>
- The tags applied to the response plan.
- Actions
[]Get
Response Plan Action - (Optional) The actions that the response plan starts at the beginning of an incident.
- Arn string
- Chat
Channels []string - The Chatbot chat channel used for collaboration during an incident.
- Display
Name string - The long format of the response plan name. This field can contain spaces.
- Engagements []string
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- Id string
- The provider-assigned unique ID for this managed resource.
- Incident
Templates []GetResponse Plan Incident Template - Integrations
[]Get
Response Plan Integration - Information about third-party services integrated into the response plan. The following values are supported:
- Name string
- The name of the PagerDuty configuration.
- map[string]string
- The tags applied to the response plan.
- actions
List<Get
Response Plan Action> - (Optional) The actions that the response plan starts at the beginning of an incident.
- arn String
- chat
Channels List<String> - The Chatbot chat channel used for collaboration during an incident.
- display
Name String - The long format of the response plan name. This field can contain spaces.
- engagements List<String>
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- id String
- The provider-assigned unique ID for this managed resource.
- incident
Templates List<GetResponse Plan Incident Template> - integrations
List<Get
Response Plan Integration> - Information about third-party services integrated into the response plan. The following values are supported:
- name String
- The name of the PagerDuty configuration.
- Map<String,String>
- The tags applied to the response plan.
- actions
Get
Response Plan Action[] - (Optional) The actions that the response plan starts at the beginning of an incident.
- arn string
- chat
Channels string[] - The Chatbot chat channel used for collaboration during an incident.
- display
Name string - The long format of the response plan name. This field can contain spaces.
- engagements string[]
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- id string
- The provider-assigned unique ID for this managed resource.
- incident
Templates GetResponse Plan Incident Template[] - integrations
Get
Response Plan Integration[] - Information about third-party services integrated into the response plan. The following values are supported:
- name string
- The name of the PagerDuty configuration.
- {[key: string]: string}
- The tags applied to the response plan.
- actions
Sequence[Get
Response Plan Action] - (Optional) The actions that the response plan starts at the beginning of an incident.
- arn str
- chat_
channels Sequence[str] - The Chatbot chat channel used for collaboration during an incident.
- display_
name str - The long format of the response plan name. This field can contain spaces.
- engagements Sequence[str]
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- id str
- The provider-assigned unique ID for this managed resource.
- incident_
templates Sequence[GetResponse Plan Incident Template] - integrations
Sequence[Get
Response Plan Integration] - Information about third-party services integrated into the response plan. The following values are supported:
- name str
- The name of the PagerDuty configuration.
- Mapping[str, str]
- The tags applied to the response plan.
- actions List<Property Map>
- (Optional) The actions that the response plan starts at the beginning of an incident.
- arn String
- chat
Channels List<String> - The Chatbot chat channel used for collaboration during an incident.
- display
Name String - The long format of the response plan name. This field can contain spaces.
- engagements List<String>
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
- id String
- The provider-assigned unique ID for this managed resource.
- incident
Templates List<Property Map> - integrations List<Property Map>
- Information about third-party services integrated into the response plan. The following values are supported:
- name String
- The name of the PagerDuty configuration.
- Map<String>
- The tags applied to the response plan.
Supporting Types
GetResponsePlanAction
- Ssm
Automations List<GetResponse Plan Action Ssm Automation> - The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
- Ssm
Automations []GetResponse Plan Action Ssm Automation - The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
- ssm
Automations List<GetResponse Plan Action Ssm Automation> - The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
- ssm
Automations GetResponse Plan Action Ssm Automation[] - The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
- ssm_
automations Sequence[GetResponse Plan Action Ssm Automation] - The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
- ssm
Automations List<Property Map> - The Systems Manager automation document to start as the runbook at the beginning of the incident. The following values are supported:
GetResponsePlanActionSsmAutomation
- Document
Name string - The automation document's name.
- Document
Version string - The version of the automation document to use at runtime.
- Dynamic
Parameters Dictionary<string, string> - The key-value pair used to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
- Parameters
List<Get
Response Plan Action Ssm Automation Parameter> - The key-value pair parameters used when the automation document runs. The following values are supported:
- Role
Arn string - The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
- Target
Account string - The account that runs the automation document. This can be in either the management account or an application account.
- Document
Name string - The automation document's name.
- Document
Version string - The version of the automation document to use at runtime.
- Dynamic
Parameters map[string]string - The key-value pair used to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
- Parameters
[]Get
Response Plan Action Ssm Automation Parameter - The key-value pair parameters used when the automation document runs. The following values are supported:
- Role
Arn string - The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
- Target
Account string - The account that runs the automation document. This can be in either the management account or an application account.
- document
Name String - The automation document's name.
- document
Version String - The version of the automation document to use at runtime.
- dynamic
Parameters Map<String,String> - The key-value pair used to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
- parameters
List<Get
Response Plan Action Ssm Automation Parameter> - The key-value pair parameters used when the automation document runs. The following values are supported:
- role
Arn String - The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
- target
Account String - The account that runs the automation document. This can be in either the management account or an application account.
- document
Name string - The automation document's name.
- document
Version string - The version of the automation document to use at runtime.
- dynamic
Parameters {[key: string]: string} - The key-value pair used to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
- parameters
Get
Response Plan Action Ssm Automation Parameter[] - The key-value pair parameters used when the automation document runs. The following values are supported:
- role
Arn string - The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
- target
Account string - The account that runs the automation document. This can be in either the management account or an application account.
- document_
name str - The automation document's name.
- document_
version str - The version of the automation document to use at runtime.
- dynamic_
parameters Mapping[str, str] - The key-value pair used to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
- parameters
Sequence[Get
Response Plan Action Ssm Automation Parameter] - The key-value pair parameters used when the automation document runs. The following values are supported:
- role_
arn str - The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
- target_
account str - The account that runs the automation document. This can be in either the management account or an application account.
- document
Name String - The automation document's name.
- document
Version String - The version of the automation document to use at runtime.
- dynamic
Parameters Map<String> - The key-value pair used to resolve dynamic parameter values when processing a Systems Manager Automation runbook.
- parameters List<Property Map>
- The key-value pair parameters used when the automation document runs. The following values are supported:
- role
Arn String - The Amazon Resource Name (ARN) of the role that the automation document assumes when it runs commands.
- target
Account String - The account that runs the automation document. This can be in either the management account or an application account.
GetResponsePlanActionSsmAutomationParameter
GetResponsePlanIncidentTemplate
- Dedupe
String string - A string used to stop Incident Manager from creating multiple incident records for the same incident.
- Impact int
- The impact value of a generated incident. The following values are supported:
- Dictionary<string, string>
- The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
- Notification
Targets List<GetResponse Plan Incident Template Notification Target> - The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The
notification_target
configuration block supports the following argument: - Summary string
- The summary of an incident.
- Title string
- The title of a generated incident.
- Dedupe
String string - A string used to stop Incident Manager from creating multiple incident records for the same incident.
- Impact int
- The impact value of a generated incident. The following values are supported:
- map[string]string
- The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
- Notification
Targets []GetResponse Plan Incident Template Notification Target - The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The
notification_target
configuration block supports the following argument: - Summary string
- The summary of an incident.
- Title string
- The title of a generated incident.
- dedupe
String String - A string used to stop Incident Manager from creating multiple incident records for the same incident.
- impact Integer
- The impact value of a generated incident. The following values are supported:
- Map<String,String>
- The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
- notification
Targets List<GetResponse Plan Incident Template Notification Target> - The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The
notification_target
configuration block supports the following argument: - summary String
- The summary of an incident.
- title String
- The title of a generated incident.
- dedupe
String string - A string used to stop Incident Manager from creating multiple incident records for the same incident.
- impact number
- The impact value of a generated incident. The following values are supported:
- {[key: string]: string}
- The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
- notification
Targets GetResponse Plan Incident Template Notification Target[] - The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The
notification_target
configuration block supports the following argument: - summary string
- The summary of an incident.
- title string
- The title of a generated incident.
- dedupe_
string str - A string used to stop Incident Manager from creating multiple incident records for the same incident.
- impact int
- The impact value of a generated incident. The following values are supported:
- Mapping[str, str]
- The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
- notification_
targets Sequence[GetResponse Plan Incident Template Notification Target] - The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The
notification_target
configuration block supports the following argument: - summary str
- The summary of an incident.
- title str
- The title of a generated incident.
- dedupe
String String - A string used to stop Incident Manager from creating multiple incident records for the same incident.
- impact Number
- The impact value of a generated incident. The following values are supported:
- Map<String>
- The tags assigned to an incident template. When an incident starts, Incident Manager assigns the tags specified in the template to the incident.
- notification
Targets List<Property Map> - The Amazon Simple Notification Service (Amazon SNS) targets that this incident notifies when it is updated. The
notification_target
configuration block supports the following argument: - summary String
- The summary of an incident.
- title String
- The title of a generated incident.
GetResponsePlanIncidentTemplateNotificationTarget
- Sns
Topic stringArn - The ARN of the Amazon SNS topic.
- Sns
Topic stringArn - The ARN of the Amazon SNS topic.
- sns
Topic StringArn - The ARN of the Amazon SNS topic.
- sns
Topic stringArn - The ARN of the Amazon SNS topic.
- sns_
topic_ strarn - The ARN of the Amazon SNS topic.
- sns
Topic StringArn - The ARN of the Amazon SNS topic.
GetResponsePlanIntegration
- Pagerduties
List<Get
Response Plan Integration Pagerduty> - Details about the PagerDuty configuration for a response plan. The following values are supported:
- Pagerduties
[]Get
Response Plan Integration Pagerduty - Details about the PagerDuty configuration for a response plan. The following values are supported:
- pagerduties
List<Get
Response Plan Integration Pagerduty> - Details about the PagerDuty configuration for a response plan. The following values are supported:
- pagerduties
Get
Response Plan Integration Pagerduty[] - Details about the PagerDuty configuration for a response plan. The following values are supported:
- pagerduties
Sequence[Get
Response Plan Integration Pagerduty] - Details about the PagerDuty configuration for a response plan. The following values are supported:
- pagerduties List<Property Map>
- Details about the PagerDuty configuration for a response plan. The following values are supported:
GetResponsePlanIntegrationPagerduty
- Name string
- The name of the PagerDuty configuration.
- Secret
Id string - The ID of the AWS Secrets Manager secret that stores your PagerDuty key — either a General Access REST API Key or User Token REST API Key — and other user credentials.
- Service
Id string - The ID of the PagerDuty service that the response plan associates with an incident when it launches.
- Name string
- The name of the PagerDuty configuration.
- Secret
Id string - The ID of the AWS Secrets Manager secret that stores your PagerDuty key — either a General Access REST API Key or User Token REST API Key — and other user credentials.
- Service
Id string - The ID of the PagerDuty service that the response plan associates with an incident when it launches.
- name String
- The name of the PagerDuty configuration.
- secret
Id String - The ID of the AWS Secrets Manager secret that stores your PagerDuty key — either a General Access REST API Key or User Token REST API Key — and other user credentials.
- service
Id String - The ID of the PagerDuty service that the response plan associates with an incident when it launches.
- name string
- The name of the PagerDuty configuration.
- secret
Id string - The ID of the AWS Secrets Manager secret that stores your PagerDuty key — either a General Access REST API Key or User Token REST API Key — and other user credentials.
- service
Id string - The ID of the PagerDuty service that the response plan associates with an incident when it launches.
- name str
- The name of the PagerDuty configuration.
- secret_
id str - The ID of the AWS Secrets Manager secret that stores your PagerDuty key — either a General Access REST API Key or User Token REST API Key — and other user credentials.
- service_
id str - The ID of the PagerDuty service that the response plan associates with an incident when it launches.
- name String
- The name of the PagerDuty configuration.
- secret
Id String - The ID of the AWS Secrets Manager secret that stores your PagerDuty key — either a General Access REST API Key or User Token REST API Key — and other user credentials.
- service
Id String - The ID of the PagerDuty service that the response plan associates with an incident when it launches.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.
AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi