#[non_exhaustive]pub struct ContainerDatasetAction {
pub image: String,
pub execution_role_arn: String,
pub resource_configuration: Option<ResourceConfiguration>,
pub variables: Option<Vec<Variable>>,
}
Expand description
Information required to run the containerAction
to produce dataset contents.
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.image: String
The ARN of the Docker container stored in your account. The Docker container contains an application and required support libraries and is used to generate dataset contents.
execution_role_arn: String
The ARN of the role that gives permission to the system to access required resources to run the containerAction
. This includes, at minimum, permission to retrieve the dataset contents that are the input to the containerized application.
resource_configuration: Option<ResourceConfiguration>
Configuration of the resource that executes the containerAction
.
variables: Option<Vec<Variable>>
The values of variables used in the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of stringValue
, datasetContentVersionValue
, or outputFileUriValue
.
Implementations§
source§impl ContainerDatasetAction
impl ContainerDatasetAction
sourcepub fn image(&self) -> &str
pub fn image(&self) -> &str
The ARN of the Docker container stored in your account. The Docker container contains an application and required support libraries and is used to generate dataset contents.
sourcepub fn execution_role_arn(&self) -> &str
pub fn execution_role_arn(&self) -> &str
The ARN of the role that gives permission to the system to access required resources to run the containerAction
. This includes, at minimum, permission to retrieve the dataset contents that are the input to the containerized application.
sourcepub fn resource_configuration(&self) -> Option<&ResourceConfiguration>
pub fn resource_configuration(&self) -> Option<&ResourceConfiguration>
Configuration of the resource that executes the containerAction
.
sourcepub fn variables(&self) -> &[Variable]
pub fn variables(&self) -> &[Variable]
The values of variables used in the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of stringValue
, datasetContentVersionValue
, or outputFileUriValue
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .variables.is_none()
.
source§impl ContainerDatasetAction
impl ContainerDatasetAction
sourcepub fn builder() -> ContainerDatasetActionBuilder
pub fn builder() -> ContainerDatasetActionBuilder
Creates a new builder-style object to manufacture ContainerDatasetAction
.
Trait Implementations§
source§impl Clone for ContainerDatasetAction
impl Clone for ContainerDatasetAction
source§fn clone(&self) -> ContainerDatasetAction
fn clone(&self) -> ContainerDatasetAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContainerDatasetAction
impl Debug for ContainerDatasetAction
source§impl PartialEq for ContainerDatasetAction
impl PartialEq for ContainerDatasetAction
source§fn eq(&self, other: &ContainerDatasetAction) -> bool
fn eq(&self, other: &ContainerDatasetAction) -> bool
self
and other
values to be equal, and is used
by ==
.