Struct aws_sdk_codepipeline::types::ActionTypeExecutor
source · #[non_exhaustive]pub struct ActionTypeExecutor {
pub configuration: Option<ExecutorConfiguration>,
pub type: 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: 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 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§
source§impl 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) -> &ExecutorType
pub fn type(&self) -> &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 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.
source§impl ActionTypeExecutor
impl ActionTypeExecutor
sourcepub fn builder() -> ActionTypeExecutorBuilder
pub fn builder() -> ActionTypeExecutorBuilder
Creates a new builder-style object to manufacture ActionTypeExecutor
.
Trait Implementations§
source§impl Clone for ActionTypeExecutor
impl Clone for ActionTypeExecutor
source§fn clone(&self) -> ActionTypeExecutor
fn clone(&self) -> ActionTypeExecutor
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionTypeExecutor
impl Debug for ActionTypeExecutor
source§impl PartialEq for ActionTypeExecutor
impl PartialEq for ActionTypeExecutor
impl StructuralPartialEq for ActionTypeExecutor
Auto Trait Implementations§
impl Freeze for ActionTypeExecutor
impl RefUnwindSafe for ActionTypeExecutor
impl Send for ActionTypeExecutor
impl Sync for ActionTypeExecutor
impl Unpin for ActionTypeExecutor
impl UnwindSafe for ActionTypeExecutor
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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