Struct rusoto_opsworks::Stack
source · [−]pub struct Stack {Show 22 fields
pub agent_version: Option<String>,
pub arn: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub chef_configuration: Option<ChefConfiguration>,
pub configuration_manager: Option<StackConfigurationManager>,
pub created_at: Option<String>,
pub custom_cookbooks_source: Option<Source>,
pub custom_json: Option<String>,
pub default_availability_zone: Option<String>,
pub default_instance_profile_arn: Option<String>,
pub default_os: Option<String>,
pub default_root_device_type: Option<String>,
pub default_ssh_key_name: Option<String>,
pub default_subnet_id: Option<String>,
pub hostname_theme: Option<String>,
pub name: Option<String>,
pub region: Option<String>,
pub service_role_arn: Option<String>,
pub stack_id: Option<String>,
pub use_custom_cookbooks: Option<bool>,
pub use_opsworks_security_groups: Option<bool>,
pub vpc_id: Option<String>,
}
Expand description
Describes a stack.
Fields
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.
arn: Option<String>
The stack's ARN.
attributes: Option<HashMap<String, String>>
The stack's attributes.
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.
configuration_manager: Option<StackConfigurationManager>
The configuration manager.
created_at: Option<String>
The date when the stack was created.
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.
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.
default_availability_zone: Option<String>
The stack's default Availability Zone. For more information, see Regions and Endpoints.
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.
default_root_device_type: Option<String>
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.
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.
default_subnet_id: Option<String>
The default subnet ID; applicable only if the stack is running in a VPC.
hostname_theme: Option<String>
The stack host name theme, with spaces replaced by underscores.
name: Option<String>
The stack name.
region: Option<String>
The stack AWS region, such as "ap-northeast-2". For more information about AWS regions, see Regions and Endpoints.
service_role_arn: Option<String>
The stack AWS Identity and Access Management (IAM) role.
stack_id: Option<String>
The stack ID.
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.
vpc_id: Option<String>
The VPC ID; applicable only if the stack is running in a VPC.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Stack
impl<'de> Deserialize<'de> for Stack
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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