Class: SDM::AmazonEKSUserImpersonation
- Inherits:
-
Object
- Object
- SDM::AmazonEKSUserImpersonation
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#certificate_authority ⇒ Object
Returns the value of attribute certificate_authority.
-
#cluster_name ⇒ Object
Returns the value of attribute cluster_name.
-
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
-
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
-
#id ⇒ Object
Unique identifier of the Resource.
-
#name ⇒ Object
Unique human-readable name of the Resource.
-
#region ⇒ Object
Returns the value of attribute region.
-
#role_arn ⇒ Object
Returns the value of attribute role_arn.
-
#role_external_id ⇒ Object
Returns the value of attribute role_external_id.
-
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
-
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, endpoint: nil, access_key: nil, secret_access_key: nil, certificate_authority: nil, region: nil, cluster_name: nil, role_arn: nil, role_external_id: nil, healthcheck_namespace: nil) ⇒ AmazonEKSUserImpersonation
constructor
A new instance of AmazonEKSUserImpersonation.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, endpoint: nil, access_key: nil, secret_access_key: nil, certificate_authority: nil, region: nil, cluster_name: nil, role_arn: nil, role_external_id: nil, healthcheck_namespace: nil) ⇒ AmazonEKSUserImpersonation
Returns a new instance of AmazonEKSUserImpersonation.
2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 |
# File 'lib/models/porcelain.rb', line 2393 def initialize( id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, endpoint: nil, access_key: nil, secret_access_key: nil, certificate_authority: nil, region: nil, cluster_name: nil, role_arn: nil, role_external_id: nil, healthcheck_namespace: nil ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if != nil = end if secret_store_id != nil @secret_store_id = secret_store_id end if egress_filter != nil @egress_filter = egress_filter end if endpoint != nil @endpoint = endpoint end if access_key != nil @access_key = access_key end if secret_access_key != nil @secret_access_key = secret_access_key end if != nil = end if region != nil @region = region end if cluster_name != nil @cluster_name = cluster_name end if role_arn != nil @role_arn = role_arn end if role_external_id != nil @role_external_id = role_external_id end if healthcheck_namespace != nil @healthcheck_namespace = healthcheck_namespace end end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
2377 2378 2379 |
# File 'lib/models/porcelain.rb', line 2377 def access_key @access_key end |
#certificate_authority ⇒ Object
Returns the value of attribute certificate_authority.
2381 2382 2383 |
# File 'lib/models/porcelain.rb', line 2381 def end |
#cluster_name ⇒ Object
Returns the value of attribute cluster_name.
2385 2386 2387 |
# File 'lib/models/porcelain.rb', line 2385 def cluster_name @cluster_name end |
#egress_filter ⇒ Object
A filter applied to the routing logic to pin datasource to nodes.
2373 2374 2375 |
# File 'lib/models/porcelain.rb', line 2373 def egress_filter @egress_filter end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
2375 2376 2377 |
# File 'lib/models/porcelain.rb', line 2375 def endpoint @endpoint end |
#healthcheck_namespace ⇒ Object
Returns the value of attribute healthcheck_namespace.
2391 2392 2393 |
# File 'lib/models/porcelain.rb', line 2391 def healthcheck_namespace @healthcheck_namespace end |
#healthy ⇒ Object
True if the datasource is reachable and the credentials are valid.
2367 2368 2369 |
# File 'lib/models/porcelain.rb', line 2367 def healthy @healthy end |
#id ⇒ Object
Unique identifier of the Resource.
2363 2364 2365 |
# File 'lib/models/porcelain.rb', line 2363 def id @id end |
#name ⇒ Object
Unique human-readable name of the Resource.
2365 2366 2367 |
# File 'lib/models/porcelain.rb', line 2365 def name @name end |
#region ⇒ Object
Returns the value of attribute region.
2383 2384 2385 |
# File 'lib/models/porcelain.rb', line 2383 def region @region end |
#role_arn ⇒ Object
Returns the value of attribute role_arn.
2387 2388 2389 |
# File 'lib/models/porcelain.rb', line 2387 def role_arn @role_arn end |
#role_external_id ⇒ Object
Returns the value of attribute role_external_id.
2389 2390 2391 |
# File 'lib/models/porcelain.rb', line 2389 def role_external_id @role_external_id end |
#secret_access_key ⇒ Object
Returns the value of attribute secret_access_key.
2379 2380 2381 |
# File 'lib/models/porcelain.rb', line 2379 def secret_access_key @secret_access_key end |
#secret_store_id ⇒ Object
ID of the secret store containing credentials for this resource, if any.
2371 2372 2373 |
# File 'lib/models/porcelain.rb', line 2371 def secret_store_id @secret_store_id end |
#tags ⇒ Object
Tags is a map of key, value pairs.
2369 2370 2371 |
# File 'lib/models/porcelain.rb', line 2369 def end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2457 2458 2459 2460 2461 2462 2463 |
# File 'lib/models/porcelain.rb', line 2457 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |