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)


1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :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)


1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :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)


1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :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:



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

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

#nameString

Name of the application.

Returns:

  • (String)


1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :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.



1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :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)


1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

class CreateAppRequest < Struct.new(
  :assessment_schedule,
  :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>)


1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-resiliencehub/types.rb', line 1280

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