#[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 ==
.impl StructuralPartialEq for ContainerDatasetAction
Auto Trait Implementations§
impl Freeze for ContainerDatasetAction
impl RefUnwindSafe for ContainerDatasetAction
impl Send for ContainerDatasetAction
impl Sync for ContainerDatasetAction
impl Unpin for ContainerDatasetAction
impl UnwindSafe for ContainerDatasetAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more