aws_codeseeder
Subpackages
Submodules
Package Contents
Classes
EnvVar dataclass |
|
str(object='') -> str |
- class aws_codeseeder.EnvVar
EnvVar dataclass
This class is used to define environment variables made available inside of CodeBuild. Use of this class enables delcaration of all environment variable types that CodeBuild supports.
- Parameters
value (string) – The value for the environment variable. The effect of this value varies depending on the type of environment variable created. See the AWS official documention for usage information: https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.variables https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.parameter-store https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec.env.secrets-manager
type (EnvVarType) – The type of environment variable: PLAINTEXT, PARAMETER_STORE, or SECRETS_MANAGER. See the AWS official documentation for usage, by default PLAINTEXT
- type: EnvVarType
- value: str
- class aws_codeseeder.EnvVarType
Bases:
str
,enum.Enum
str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
- PARAMETER_STORE = 'PARAMETER_STORE'
- PLAINTEXT = 'PLAINTEXT'
- SECRETS_MANAGER = 'SECRETS_MANAGER'