Import Resources to Draft App Version
| resiliencehub_import_resources_to_draft_app_version | R Documentation |
Imports resources to Resilience Hub application draft version from different input sources¶
Description¶
Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
Usage¶
resiliencehub_import_resources_to_draft_app_version(appArn, eksSources,
importStrategy, sourceArns, terraformSources)
Arguments¶
appArn[required] Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.eksSourcesThe input sources of the Amazon Elastic Kubernetes Service resources you need to import.
importStrategyThe import strategy you would like to set to import resources into Resilience Hub application.
sourceArnsThe Amazon Resource Names (ARNs) for the resources.
terraformSourcesA list of terraform file s3 URLs you need to import.
Value¶
A list with the following syntax:
list(
appArn = "string",
appVersion = "string",
eksSources = list(
list(
eksClusterArn = "string",
namespaces = list(
"string"
)
)
),
sourceArns = list(
"string"
),
status = "Pending"|"InProgress"|"Failed"|"Success",
terraformSources = list(
list(
s3StateFileUrl = "string"
)
)
)