public class AwsParameterStoreBuildWrapper
extends jenkins.tasks.SimpleBuildWrapper
BuildWrapper
for AWS Parameter Store.Modifier and Type | Class and Description |
---|---|
static class |
AwsParameterStoreBuildWrapper.DescriptorImpl
A Jenkins
BuildWrapperDescriptor for the AwsParameterStoreBuildWrapper . |
jenkins.tasks.SimpleBuildWrapper.Context, jenkins.tasks.SimpleBuildWrapper.Disposer
Constructor and Description |
---|
AwsParameterStoreBuildWrapper()
Creates a new
AwsParameterStoreBuildWrapper . |
AwsParameterStoreBuildWrapper(String credentialsId,
String regionName,
String path,
Boolean recursive,
String naming,
String namePrefixes)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getCredentialsId()
Gets AWS credentials identifier.
|
String |
getNamePrefixes()
Gets namePrefixes (comma separated)
|
String |
getNaming()
Gets naming: basename, absolute, relative.
|
String |
getPath()
Gets path.
|
Boolean |
getRecursive()
Gets recursive flag.
|
String |
getRegionName()
Gets AWS region name.
|
void |
setCredentialsId(String credentialsId)
Sets the AWS credentials identifier.
|
void |
setNamePrefixes(String namePrefixes)
Sets the name prefixes filter.
|
void |
setNaming(String naming)
Sets the naming type: basename, absolute, relative.
|
void |
setPath(String path)
Sets the AWS Parameter Store hierarchy.
|
void |
setRecursive(Boolean recursive)
Sets the recursive flag.
|
void |
setRegionName(String regionName)
Sets the AWS region name.
|
void |
setUp(jenkins.tasks.SimpleBuildWrapper.Context context,
hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.EnvVars initialEnvironment) |
@DataBoundConstructor public AwsParameterStoreBuildWrapper()
AwsParameterStoreBuildWrapper
.@Deprecated public AwsParameterStoreBuildWrapper(String credentialsId, String regionName, String path, Boolean recursive, String naming, String namePrefixes)
AwsParameterStoreBuildWrapper
.credentialsId
- aws credentials idregionName
- aws region namepath
- hierarchy for the parameterrecursive
- fetch all parameters within a hierarchynaming
- environment variable naming: basename, absolute, relativenamePrefixes
- filter parameters by Name with beginsWith filterpublic String getCredentialsId()
@DataBoundSetter public void setCredentialsId(String credentialsId)
credentialsId
- aws credentials idpublic String getRegionName()
@DataBoundSetter public void setRegionName(String regionName)
regionName
- aws region namepublic String getPath()
@DataBoundSetter public void setPath(String path)
path
- aws parameter store hierarchypublic Boolean getRecursive()
@DataBoundSetter public void setRecursive(Boolean recursive)
recursive
- recursive flagpublic String getNaming()
@DataBoundSetter public void setNaming(String naming)
naming
- the naming typepublic String getNamePrefixes()
@DataBoundSetter public void setNamePrefixes(String namePrefixes)
namePrefixes
- name prefixes filterpublic void setUp(jenkins.tasks.SimpleBuildWrapper.Context context, hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.EnvVars initialEnvironment) throws IOException, InterruptedException
setUp
in class jenkins.tasks.SimpleBuildWrapper
IOException
InterruptedException
Copyright © 2016–2020. All rights reserved.