Struct aws_sdk_eks::types::EksAnywhereSubscription
source · #[non_exhaustive]pub struct EksAnywhereSubscription {
pub id: Option<String>,
pub arn: Option<String>,
pub created_at: Option<DateTime>,
pub effective_date: Option<DateTime>,
pub expiration_date: Option<DateTime>,
pub license_quantity: i32,
pub license_type: Option<EksAnywhereSubscriptionLicenseType>,
pub term: Option<EksAnywhereSubscriptionTerm>,
pub status: Option<String>,
pub auto_renew: bool,
pub license_arns: Option<Vec<String>>,
pub tags: Option<HashMap<String, String>>,
}Expand description
An EKS Anywhere subscription authorizing the customer to support for licensed clusters and access to EKS Anywhere Curated Packages.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>UUID identifying a subscription.
arn: Option<String>The Amazon Resource Name (ARN) for the subscription.
created_at: Option<DateTime>The Unix timestamp in seconds for when the subscription was created.
effective_date: Option<DateTime>The Unix timestamp in seconds for when the subscription is effective.
expiration_date: Option<DateTime>The Unix timestamp in seconds for when the subscription will expire or auto renew, depending on the auto renew configuration of the subscription object.
license_quantity: i32The number of licenses included in a subscription. Valid values are between 1 and 100.
license_type: Option<EksAnywhereSubscriptionLicenseType>The type of licenses included in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
term: Option<EksAnywhereSubscriptionTerm>An EksAnywhereSubscriptionTerm object.
status: Option<String>The status of a subscription.
auto_renew: boolA boolean indicating whether or not a subscription will auto renew when it expires.
license_arns: Option<Vec<String>>Amazon Web Services License Manager ARN associated with the subscription.
The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags do not propagate to any other resources associated with the subscription.
Implementations§
source§impl EksAnywhereSubscription
impl EksAnywhereSubscription
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The Unix timestamp in seconds for when the subscription was created.
sourcepub fn effective_date(&self) -> Option<&DateTime>
pub fn effective_date(&self) -> Option<&DateTime>
The Unix timestamp in seconds for when the subscription is effective.
sourcepub fn expiration_date(&self) -> Option<&DateTime>
pub fn expiration_date(&self) -> Option<&DateTime>
The Unix timestamp in seconds for when the subscription will expire or auto renew, depending on the auto renew configuration of the subscription object.
sourcepub fn license_quantity(&self) -> i32
pub fn license_quantity(&self) -> i32
The number of licenses included in a subscription. Valid values are between 1 and 100.
sourcepub fn license_type(&self) -> Option<&EksAnywhereSubscriptionLicenseType>
pub fn license_type(&self) -> Option<&EksAnywhereSubscriptionLicenseType>
The type of licenses included in the subscription. Valid value is CLUSTER. With the CLUSTER license type, each license covers support for a single EKS Anywhere cluster.
sourcepub fn term(&self) -> Option<&EksAnywhereSubscriptionTerm>
pub fn term(&self) -> Option<&EksAnywhereSubscriptionTerm>
An EksAnywhereSubscriptionTerm object.
sourcepub fn auto_renew(&self) -> bool
pub fn auto_renew(&self) -> bool
A boolean indicating whether or not a subscription will auto renew when it expires.
sourcepub fn license_arns(&self) -> &[String]
pub fn license_arns(&self) -> &[String]
Amazon Web Services License Manager ARN associated with the subscription.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .license_arns.is_none().
The metadata for a subscription to assist with categorization and organization. Each tag consists of a key and an optional value. Subscription tags do not propagate to any other resources associated with the subscription.
source§impl EksAnywhereSubscription
impl EksAnywhereSubscription
sourcepub fn builder() -> EksAnywhereSubscriptionBuilder
pub fn builder() -> EksAnywhereSubscriptionBuilder
Creates a new builder-style object to manufacture EksAnywhereSubscription.
Trait Implementations§
source§impl Clone for EksAnywhereSubscription
impl Clone for EksAnywhereSubscription
source§fn clone(&self) -> EksAnywhereSubscription
fn clone(&self) -> EksAnywhereSubscription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EksAnywhereSubscription
impl Debug for EksAnywhereSubscription
source§impl PartialEq for EksAnywhereSubscription
impl PartialEq for EksAnywhereSubscription
source§fn eq(&self, other: &EksAnywhereSubscription) -> bool
fn eq(&self, other: &EksAnywhereSubscription) -> bool
self and other values to be equal, and is used
by ==.