Struct aws_sdk_opsworks::model::Stack
source · [−]#[non_exhaustive]pub struct Stack {Show 22 fields
pub stack_id: Option<String>,
pub name: Option<String>,
pub arn: Option<String>,
pub region: Option<String>,
pub vpc_id: Option<String>,
pub attributes: Option<HashMap<StackAttributesKeys, String>>,
pub service_role_arn: Option<String>,
pub default_instance_profile_arn: Option<String>,
pub default_os: Option<String>,
pub hostname_theme: Option<String>,
pub default_availability_zone: Option<String>,
pub default_subnet_id: Option<String>,
pub custom_json: Option<String>,
pub configuration_manager: Option<StackConfigurationManager>,
pub chef_configuration: Option<ChefConfiguration>,
pub use_custom_cookbooks: Option<bool>,
pub use_opsworks_security_groups: Option<bool>,
pub custom_cookbooks_source: Option<Source>,
pub default_ssh_key_name: Option<String>,
pub created_at: Option<String>,
pub default_root_device_type: Option<RootDeviceType>,
pub agent_version: Option<String>,
}
Expand description
Describes a stack.
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.stack_id: Option<String>
The stack ID.
name: Option<String>
The stack name.
arn: Option<String>
The stack's ARN.
region: Option<String>
The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.
vpc_id: Option<String>
The VPC ID; applicable only if the stack is running in a VPC.
attributes: Option<HashMap<StackAttributesKeys, String>>
The stack's attributes.
service_role_arn: Option<String>
The stack AWS Identity and Access Management (IAM) role.
default_instance_profile_arn: Option<String>
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
default_os: Option<String>
The stack's default operating system.
hostname_theme: Option<String>
The stack host name theme, with spaces replaced by underscores.
default_availability_zone: Option<String>
The stack's default Availability Zone. For more information, see Regions and Endpoints.
default_subnet_id: Option<String>
The default subnet ID; applicable only if the stack is running in a VPC.
custom_json: Option<String>
A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
configuration_manager: Option<StackConfigurationManager>
The configuration manager.
chef_configuration: Option<ChefConfiguration>
A ChefConfiguration
object that specifies whether to enable Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
use_custom_cookbooks: Option<bool>
Whether the stack uses custom cookbooks.
use_opsworks_security_groups: Option<bool>
Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers.
custom_cookbooks_source: Option<Source>
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
default_ssh_key_name: Option<String>
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
created_at: Option<String>
The date when the stack was created.
default_root_device_type: Option<RootDeviceType>
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
agent_version: Option<String>
The agent version. This parameter is set to LATEST
for auto-update. or a version number for a fixed agent version.
Implementations
sourceimpl Stack
impl Stack
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The VPC ID; applicable only if the stack is running in a VPC.
sourcepub fn attributes(&self) -> Option<&HashMap<StackAttributesKeys, String>>
pub fn attributes(&self) -> Option<&HashMap<StackAttributesKeys, String>>
The stack's attributes.
sourcepub fn service_role_arn(&self) -> Option<&str>
pub fn service_role_arn(&self) -> Option<&str>
The stack AWS Identity and Access Management (IAM) role.
sourcepub fn default_instance_profile_arn(&self) -> Option<&str>
pub fn default_instance_profile_arn(&self) -> Option<&str>
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information about IAM ARNs, see Using Identifiers.
sourcepub fn default_os(&self) -> Option<&str>
pub fn default_os(&self) -> Option<&str>
The stack's default operating system.
sourcepub fn hostname_theme(&self) -> Option<&str>
pub fn hostname_theme(&self) -> Option<&str>
The stack host name theme, with spaces replaced by underscores.
sourcepub fn default_availability_zone(&self) -> Option<&str>
pub fn default_availability_zone(&self) -> Option<&str>
The stack's default Availability Zone. For more information, see Regions and Endpoints.
sourcepub fn default_subnet_id(&self) -> Option<&str>
pub fn default_subnet_id(&self) -> Option<&str>
The default subnet ID; applicable only if the stack is running in a VPC.
sourcepub fn custom_json(&self) -> Option<&str>
pub fn custom_json(&self) -> Option<&str>
A JSON object that contains user-defined attributes to be added to the stack configuration and deployment attributes. You can use custom JSON to override the corresponding default stack configuration attribute values or to pass data to recipes. The string should be in the following format:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
sourcepub fn configuration_manager(&self) -> Option<&StackConfigurationManager>
pub fn configuration_manager(&self) -> Option<&StackConfigurationManager>
The configuration manager.
sourcepub fn chef_configuration(&self) -> Option<&ChefConfiguration>
pub fn chef_configuration(&self) -> Option<&ChefConfiguration>
A ChefConfiguration
object that specifies whether to enable Berkshelf and the Berkshelf version. For more information, see Create a New Stack.
sourcepub fn use_custom_cookbooks(&self) -> Option<bool>
pub fn use_custom_cookbooks(&self) -> Option<bool>
Whether the stack uses custom cookbooks.
sourcepub fn use_opsworks_security_groups(&self) -> Option<bool>
pub fn use_opsworks_security_groups(&self) -> Option<bool>
Whether the stack automatically associates the AWS OpsWorks Stacks built-in security groups with the stack's layers.
sourcepub fn custom_cookbooks_source(&self) -> Option<&Source>
pub fn custom_cookbooks_source(&self) -> Option<&Source>
Contains the information required to retrieve an app or cookbook from a repository. For more information, see Adding Apps or Cookbooks and Recipes.
sourcepub fn default_ssh_key_name(&self) -> Option<&str>
pub fn default_ssh_key_name(&self) -> Option<&str>
A default Amazon EC2 key pair for the stack's instances. You can override this value when you create or update an instance.
sourcepub fn created_at(&self) -> Option<&str>
pub fn created_at(&self) -> Option<&str>
The date when the stack was created.
sourcepub fn default_root_device_type(&self) -> Option<&RootDeviceType>
pub fn default_root_device_type(&self) -> Option<&RootDeviceType>
The default root device type. This value is used by default for all instances in the stack, but you can override it when you create an instance. For more information, see Storage for the Root Device.
sourcepub fn agent_version(&self) -> Option<&str>
pub fn agent_version(&self) -> Option<&str>
The agent version. This parameter is set to LATEST
for auto-update. or a version number for a fixed agent version.
Trait Implementations
impl StructuralPartialEq for Stack
Auto Trait Implementations
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnwindSafe for Stack
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more