/** * <p> * The app type. Each supported type is associated with a particular layer. For example, PHP applications are * associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are members of * the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy * recipes, specify <code>other</code>. * </p> * * @param type * The app type. Each supported type is associated with a particular layer. For example, PHP applications are * associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are * members of the corresponding layer. If your app isn't one of the standard types, or you prefer to * implement your own Deploy recipes, specify <code>other</code>. * @see AppType */ public void setType(AppType type) { withType(type); }
/** * <p> * The app type. Each supported type is associated with a particular layer. For example, PHP applications are * associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are members of * the corresponding layer. If your app isn't one of the standard types, or you prefer to implement your own Deploy * recipes, specify <code>other</code>. * </p> * * @param type * The app type. Each supported type is associated with a particular layer. For example, PHP applications are * associated with a PHP layer. AWS OpsWorks Stacks deploys an application to those instances that are * members of the corresponding layer. If your app isn't one of the standard types, or you prefer to * implement your own Deploy recipes, specify <code>other</code>. * @see AppType */ public void setType(AppType type) { withType(type); }
AWSOpsWorksClient client = getOrCreateClient(AWSOpsWorksClient.class); CreateAppRequest createAppRequest = new CreateAppRequest() .withStackId(stackId).withName(name).withType(type) .withEnableSsl(enableSsl).withShortname(shortname) .withDescription(description);