Struct aws_sdk_codepipeline::model::ActionTypeExecutor
source · [−]#[non_exhaustive]pub struct ActionTypeExecutor {
pub configuration: Option<ExecutorConfiguration>,
pub type: Option<ExecutorType>,
pub policy_statements_template: Option<String>,
pub job_timeout: Option<i32>,
}
Expand description
The action engine, or executor, for an action type created for a provider, where the action is to be used by customers of the provider. The action engine is associated with the model used to create and update the action, such as the Lambda integration model.
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.configuration: Option<ExecutorConfiguration>
The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
type: Option<ExecutorType>
The integration model used to create and update the action type, Lambda
or JobWorker
.
policy_statements_template: Option<String>
The policy statement that specifies the permissions in the CodePipeline customer’s account that are needed to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
job_timeout: Option<i32>
The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.
Implementations
sourceimpl ActionTypeExecutor
impl ActionTypeExecutor
sourcepub fn configuration(&self) -> Option<&ExecutorConfiguration>
pub fn configuration(&self) -> Option<&ExecutorConfiguration>
The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
sourcepub fn type(&self) -> Option<&ExecutorType>
pub fn type(&self) -> Option<&ExecutorType>
The integration model used to create and update the action type, Lambda
or JobWorker
.
sourcepub fn policy_statements_template(&self) -> Option<&str>
pub fn policy_statements_template(&self) -> Option<&str>
The policy statement that specifies the permissions in the CodePipeline customer’s account that are needed to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
sourcepub fn job_timeout(&self) -> Option<i32>
pub fn job_timeout(&self) -> Option<i32>
The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.
sourceimpl ActionTypeExecutor
impl ActionTypeExecutor
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActionTypeExecutor
.
Trait Implementations
sourceimpl Clone for ActionTypeExecutor
impl Clone for ActionTypeExecutor
sourcefn clone(&self) -> ActionTypeExecutor
fn clone(&self) -> ActionTypeExecutor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ActionTypeExecutor
impl Debug for ActionTypeExecutor
sourceimpl PartialEq<ActionTypeExecutor> for ActionTypeExecutor
impl PartialEq<ActionTypeExecutor> for ActionTypeExecutor
sourcefn eq(&self, other: &ActionTypeExecutor) -> bool
fn eq(&self, other: &ActionTypeExecutor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ActionTypeExecutor) -> bool
fn ne(&self, other: &ActionTypeExecutor) -> bool
This method tests for !=
.
impl StructuralPartialEq for ActionTypeExecutor
Auto Trait Implementations
impl RefUnwindSafe for ActionTypeExecutor
impl Send for ActionTypeExecutor
impl Sync for ActionTypeExecutor
impl Unpin for ActionTypeExecutor
impl UnwindSafe for ActionTypeExecutor
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> 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