Class: Aws::ResilienceHub::Types::CreateAppRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-resiliencehub/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

#assessment_scheduleString

Assessment execution schedule with ‘Daily’ or ‘Disabled’ values.

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#aws_application_arnString

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see [ Amazon Resource Names (ARNs)] in the *Amazon Web Services General Reference* guide.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#client_tokenString

Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#descriptionString

The optional description for an app.

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#event_subscriptionsArray<Types::EventSubscription>

The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports only **Drift detected** and **Scheduled assessment failure** events notification.

Returns:



1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#nameString

Name of the application.

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#permission_modelTypes::PermissionModel

Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.



1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#policy_arnString

Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:‘partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`. For more information about ARNs, see [ Amazon Resource Names (ARNs)] in the *Amazon Web Services General Reference* guide.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#tagsHash<String,String>

Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.

Returns:

  • (Hash<String,String>)


1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1345

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :aws_application_arn,
  :client_token,
  :description,
  :event_subscriptions,
  :name,
  :permission_model,
  :policy_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end