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
source§fn eq(&self, other: &ActionTypeExecutor) -> bool
fn eq(&self, other: &ActionTypeExecutor) -> bool
self
and other
values to be equal, and is used
by ==
.